News for hackers. Stuff that matters.
Re:Wikileaks To Leak 5000 Open Source Java Projects by malkia on Thursday July 29, 2010 @04:10AM (#1556952)
Dunno about explanation, but experiment shows it to work at least with two preprocessors - Microsoft's and GCC:

First make a file a.c that has in it:

#define true false

#define false true

int A = true;

int B = false;

then from the command line, do (with the Microsoft compiler): D:\>cl -E a.c

int A = true;

int B = false;

Now with gcc (I'm using cygwin's gcc): D:\>sh -c "gcc -E a.c"

int A = true;

int B = false;

I've stripped the other stuff.

There are no comments on this comment yet.