...
Section 6.7.10 of the C Standard [ISO/IEC 9899:2011] states:
The constant expression shall be an integer constant expression. If the value of the constant expression compares unequal to 0, the declaration has no effect. Otherwise, the constraint is violated and the implementation shall produce a diagnostic message that includes the text of the string literal, except that characters not in the basic source character set are not required to appear in the message.
...
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Related Guidelines
...
Bibliography
...
] | Section 6.10.1, "Conditional |
...
Inclusion," section 6.10.3.3, "The ## |
...
Operator," and section 7.2.1, "Program |
...
Diagnostics" |
Sources
[ |
...
Jones 2010] | |
[Klarer 2004] | |
[Saks 2005] | |
[Saks 2008] |
...