Page 1 of 1

Using true/false in #define

Posted: Thu Aug 22, 2019 10:59 am
by SeeCwriter
With v2.8.7 I could define a macro using true or false.

Code: Select all

#define UseNewFeature    true

#if UseNewFeature
    DoSomething();
#endif

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?