1.5.33. Migration to 7.7.5¶
1.5.33.1. Stylechecks¶
CertC Rules¶
Rules with the prefix CertC-, such as CertC-DCL23, no longer apply to C++ code. Many of these rules are unsuitable for C++ code. CertC rules that also apply to C++ code must be activated using the corresponding CertC++- name, e.g., CertC++-DCL40. This change impacts C++ (or mixed-code) projects that previously activated rules with the CertC- prefix.
MisraC++-6.4.6¶
The option nodefault_for_complete_enum introduced in versions 7.5.7, 7.6.1, and 7.7
has been removed again, as it contradicts the intent of this MISRA rule. Instead,
you can explicitly enable the rule Generic-RedundantEnumDefaultClause if you want to
check for a redundant default clause. In this case, the option allow_complete_enum
should be set (kept true) to avoid violations for missing default clauses.