TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - C Coding Standard
Search

SR:  12#1Checked automatically with code checker

Synopsis:All identifiers used in preprocessor directives shall be defined.
Language:C
Severity Level:5
Category:PREPROCESSING


Description:

Example:

#if MAXINT > 32767 /* MAXINT undefined */
...
This may be due to a missing include file or be the result of edits removing the previous definition. The effect is that MAXINT is assigned the value zero. A definition should be made available or the test modified.