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

Whitespace characters separate this preprocessing directive and the introductory # token. 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 */

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