Using VS2005 with BLAH_BLAH defined the following preprocessor conditional is false:
#elif defined BLAH_BLAH
but if I change it to
#elif defined(BLAH_BLAH)
it is true.
Why do the parentheses make a difference here?
It shouldn't make any difference, unless BLAH_BLAH is defined as something funny.
The header file was created with a linux editor and added to the project with "Add Existing", after creating the file in the VS editor it evaluates to true. Must be a LF/CR issue?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With