[previous] 3318 [next] '#else'/'#elif'/'#endif' in included file matched '#if...' in parent file. This is probably an error.
Preprocessing

A '#else', '#elif' or '#endif' has been encountered in an included file and it appears to be related to a '#if' or #ifdef directive in the parent file. This is not illegal, but if intentional, it is certainly very unconventional and likely to result in confusion. The structure of the code will be much easier to understand if #else, #elif and #endif directives are always located in the file which contains the corresponding #if or #ifdef.

See also:

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents