[previous] 1691 [next] Null preprocessing directive used in an excluded section of code.
Preprocessing REFERENCE - ISO:C90-6.8.7 Null Directive

A null preprocessing directive has been used in a section of code which has been excluded by the preprocessor. Null directives have no effect and are simply ignored.

For example:


/*PRQA S 3211,3408 ++*/

#define FLAG

#ifndef FLAG
/* this branch is excluded */
#                                       /* Message 1691 */
#endif

int x = 0;

See also:

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