We have two projects in C++. One project has a preprocessor definition of SUPER (among other things like WIN32, _DEBUG, etc...) the other does not have it. The 2 projects share most of their code. Code meant for one but not the other looks like this:
#if defined(SUPER) <code> #endif
Visual Assist grays out the #if def'ed code even though the active project has SUPER in its list of preprocessor definitions. How can I get it to see the #define and NOT gray out the code? Why does VA ignore the preprocessor definitions?
Yes, rhummer you remember correctly This coloring is done by the IDE itself, even if you disable Visual Assist (VAssistX menu -> Enable/Disable Visual Assist X)