Synopsis: | Preprocessor directives should begin in column 1 and there should be no white space between the # and the directive keyword. |
Language: | C |
Severity Level: | 10 |
Category: | ISSUES IN K&R V. ANSI C |
Description: |
Not all pre-ANSI preprocessors allow white space before or after the #. In addition, use of such features is likely to confuse novice programmers and be difficult to maintain.
Example: # define... /* WRONG - space after # */ #define ... /* WRONG # not in column 1 */ |