Synopsis: | A macro shall not comprise both the "#" and "##" operators simultaneously. |
Language: | C |
Severity Level: | 2 |
Category: | Preprocessing Directives |
Description: |
Justification The order of evaluation when the "#" and "##" operators are used together is undefined. Example #define debug(s) printf("x" #s "= %d\n", x ## s) /* WRONG: The order in which the # and ## operators are evaluated is * unspecified by the C standard. */ |