char *a;
a = (a + 1) & ((char*) -2));
Gcc 3.3 on Solaris complains:
error: invalid operands of types `char*' and ` char*' to binary `operator&'
Why shouldn't I be able to mask off the low bit?
Thanks,
Andy
error: invalid operands of types `char*' and ` char*' to binary `operator&'