User forums > Using Code::Blocks
C/C++ parser preprocessor?
(1/1)
two-questions-only:
I have a piece of code that contains some macros which expand to function declarations only when a specific preprocessor macro is defined. Is it possible to define this macro so i can see these declarations in the Symbols list. Example:
--- Code: ---#ifdef __FOO
#define __DECLARE_FUNCTION( function_prototype ) function_prototype;
#else
#define __DECLARE_FUNCTION( function_prototype )
#endif
--- End code ---
oBFusCATed:
Try some of the recent nightlies, they should support such code
Navigation
[0] Message Index
Go to full version