Name: Anonymous 2009-07-07 2:16
Is the C preprocessor turing complete? Of course there are no #while loops or anything, but consider this:
"hax.h":
Here, hax.h include itself, creating a loop. There isn't a way to pass a value to the included file, though.
"hax.h":
#if VALUE < 1
#define VALUE 1
#else
#include "hax.h"
#endifHere, hax.h include itself, creating a loop. There isn't a way to pass a value to the included file, though.