Classes not interpreted properly when defined inside #ifdef
Closed this issue · 2 comments
nisarul commented
Classes with definitions inside #ifdef-#else-#endif are not parsed properly.
#ifdef FEATURE_X
class BaseClass
: public ClassFtX
#else
class BaseClass
#endif
{
#something
};
Above class is not identified as a class when parsing.
auscompgeek commented
Implementing a C preprocessor is largely a non-goal of this project. See also #16 and the note in the readme.
virtuald commented
Yes, use a preprocessor.