04:21 $ gcc wormhole.c wormhole.c: In function 'assignPairs': wormhole.c:10:27: error: invalid operands to binary ^ (have 'struct coor' and 'struct coor') #define XORSWAP(a, b) ((a)^=(b),(b)^=(a),(a)^=(b)) ^ ~~~ wormhole.c:44:7: note: in expansion of macro 'XORSWAP' XORSWAP(worms[filled], worms[i+1]); // swap ^~~~~~~ wormhole.c:10:36: error: invalid operands to binary ^ (have 'struct coor' and 'struct coor') #define XORSWAP(a, b) ((a)^=(b),(b)^=(a),(a)^=(b)) ^ ~~~ wormhole.c:44:7: note: in expansion of macro 'XORSWAP' XORSWAP(worms[filled], worms[i+1]); // swap ^~~~~~~ wormhole.c:10:45: error: invalid operands to binary ^ (have 'struct coor' and 'struct coor') #define XORSWAP(a, b) ((a)^=(b),(b)^=(a),(a)^=(b)) ^ ~~~ wormhole.c:44:7: note: in expansion of macro 'XORSWAP' XORSWAP(worms[filled], worms[i+1]); // swap ^~~~~~~