1.4.22. Migration to 7.7.5¶
1.4.22.1. Stylechecks¶
CertC Rules¶
Rules with the prefix CertC-, i.e. CertC-DCL23, do no longer apply to C++ code. Many of these rules are unsuited for C++ code. CertC rules that are supposed to also apply to C++ code, must be activated by the corresponding CertC++- name, i.e. CertC++-DCL40. This change impacts C++ (or mixed code) projects that used to active 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 goes against the intention of this Misra rule. Instead,
you may enable rule Generic-RedundantEnumDefaultClause explicitly 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.