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.

Related Guidelines

CERT C++ Secure Coding StandardINT09-CPP. Ensure enumeration constants map to unique values
CERT Oracle Secure Coding Standard for JavaDCL58-JG. Do not attach significance to the ordinal associated with an enum
ISO/IEC TR 24772Enumerator issues [CCB]
MISRA-CRule 9.3 (required): In an enumerator list, the “=” construct shall not be used to explicitly initialise members other than the first,
unless all items are explicitly initialised