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

SR:  12.3#11Checked automatically with code checker

Synopsis:Macro arguments must not contain a sequence of tokens which look like a preprocessor directive.
Language:C
Severity Level:6
Category:PREPROCESSING


Description:

Example:

#define STR(text) #text
...
char * msg = STR(
                  #define /* undefined */
                                          );
Here, the presence of the '#define' argument in the STR() macro call is undefined.