this type of macro fails to compile
#define TESTEXEC(bool, prog) \
if (bool) { \
prog; \
}
TESTEXEC(TRUE, {call aFunction()});
if i run the CPP alone it insertes the macro correctly
so the problem is with the ncc pre-porcessor.
ndbusek@cs.ucla.edu
LECS lab
Logged In: YES
user_id=398311
Well there's a syntax error (no ; before }). With that
added, it compiles.