Versions Compared

Key

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

Make sure that included header file names are unique. According to the C standard [ISO/IEC 9899:2011],

The implementation shall provide unique mappings for sequences consisting of one or more nondigits or digits (6.4.2.1) followed by a period (.) and a single nondigit. The first character shall not be a digit. The implementation may ignore distinctions of alphabetical case and restrict the mapping to eight significant characters before the period.

...

CERT C++ Secure Coding Standard: PRE08-CPP. Guarantee that header file names are unique

ISO/IEC 9899:2011 Section 6.10.2, "Source file inclusion"

MISRA Rule 19.5

Bibliography

...