[previous] 0829 [next] [S] Could not find '#endif' preprocessing directive to close '#if...'.
Syntax errors REFERENCE - ISO:C90-6.8 Preprocessing Directives - Syntax

A #if block remains open at the end of this translation unit because no terminating #endif has been encountered. For example:


/*PRQA S 2017,3211,3408,3619 ++*/

#define HAS  (1)

#if HAS

int x;

#ifdef TWO
#define XX (12)
#endif
int y;                                            /* 0829 */

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