[previous] 3619 [next] Whitespace used before '#' at the start of this preprocessing directive.
K+R compatibility REFERENCE - ISO:C90-6.8 Preprocessing Directives

Whitespace characters precede the # token at the start of this preprocessing directive. This syntax was not allowed in some pre-ISO compilers.

For example:


/*PRQA S 3211,3408 ++*/

# define M1                     /* Message 3618 */

# ifndef M2                     /* Message 3618 */
int x = 1;
# endif                         /* Message 3618 */


 #define M2                     /* Message 3619 */

 #ifndef M3                     /* Message 3619 */
int y = 1;
 #endif                         /* Message 3619 */


No MISRA-C:2004 Rules applicable to message 3619


QA·C Source Code Analyser 8.1
MISRA-C:2004 Compliance Module 3.2
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA-C:2004 Rule Index Contents