News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

C/C++ parser preprocessor?

Started by two-questions-only, January 03, 2011, 07:47:37 PM

Previous topic - Next topic

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:


#ifdef __FOO
#define __DECLARE_FUNCTION( function_prototype ) function_prototype;
#else
#define __DECLARE_FUNCTION( function_prototype )
#endif

oBFusCATed

Try some of the recent nightlies, they should support such code
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]