I have some code I would like to preprocess right out of the object code conditionally... The code in question is a call to a function that has a vararg... So far, I remember that I need to do something like this:
void TheCode(char* format, ...);
#define MACRO(...) TheCode(...)
I want to be able to comment out the "#define INCLUDE_THE_CODE" and have the MACROS preprocessed out so that even the object for "TheCode" is not even included into the final object file... does that make sense?
Can anyone shed some light on this?