Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Other Languages

This rule appears in the C++ Secure Coding Standard as PRE06-CPP. Enclose header files in an inclusion guard.

References

Wiki Markup
\[[ISO/IEC 9899:1999|AA. C References#ISO/IEC 9899-1999]\] Section 6.10, ""Preprocessing directives,"" Section 5.1.1, ""Translation environment,"" and Section 7.1.2, ""Standard headers""
\[[MISRA 04|AA. C References#MISRA 04]\] Rule 19.5
\[[Plum 85|AA. C References#Plum 85]\] Rule 1-14

...

            01. Preprocessor (PRE)