And, some predefined such as 'NDEBUG','_CONSOLE' is not colored.
It may be better if user have the choice to do it!
Thanks!
1 L A T E S T R E P L I E S (Newest First)
support
Posted - Apr 26 2006 : 10:57:41 AM Interesting suggestion. Simple examples might work. Setting PreprocessorDefinitions via anything but the simple assignment would certainly make it difficult to know what's defined at edit time.
Workaround is to #define all possible macros inside a #ifdef block that will never be compiled. VA X will see the definitions and recognize them as macros, but the code won't effect your run time.
#if 0 #define TCAM_INGRESS ... #endif
If you don't want to touch your source with such an #if, add your #defines to stdafx.h in the Misc subdirectory of the VA X installation directory. Press Rebuild on the Performance node of our options dialog and restart your IDE.