The analyzer has detected a potentially misspelled name of a pre-defined macro.
Non-compliant example:
#if defined (__linux__) || defined (__APPLE_)
The same expression fixed:
#if defined (__linux__) || defined (__APPLE__)
Another example demonstrating a typo:
#ifdef __WLN32__
Correct version:
#ifdef __WIN32__
You can look at examples of errors detected by the V1040 diagnostic. |
Was this page helpful?
Your message has been sent. We will email you at
If you do not see the email in your inbox, please check if it is filtered to one of the following folders: