Using true/false in #define
Posted: Thu Aug 22, 2019 10:59 am
With v2.8.7 I could define a macro using true or false.
But v2.9.1, the compiler no longer recognizes true/false in a maco. In the example above, DoSomething() will not get called.
Does that seem right?
Code: Select all
#define UseNewFeature true
#if UseNewFeature
DoSomething();
#endif
Does that seem right?