1.4.60. Migration to 7.0.9¶
1.4.60.1. Stylecheck¶
The rule AutosarC++-A11.3.1 has been added to the Autosar 18.10 and 19.03 rulesets.
Furthermore, the rule now contains an option
allow_comparison_operators,
which can be used to allow declaring comparison operators using
friend declarations.
In compliance with the Autosar standards, the option is set to false
(i.e., friend declarations are not allowed in general) for Autosar 17.03, 17.10 and 18.03.
For Autosar 18.10 and 19.03 the option is set to true (i.e., friend declarations are allowed for comparison operators).
The default value for option assume_globals_are_initialized in the different rules checking for uninitialized variables has been changed to True as this corresponds to the language standards. The option still exists, so you can set it manually to False if you want to explicitly check global variables as well. Affected rules include, among others, MisraC2012-9.1, MisraC++-8.5.1 and AutosarC++-M8.5.1.