MISRA Discussion Forums

Full Version: Directive 4.5
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Dear MISRA team,

please read the text carefully and then read MISRA C++ 2008 Rule 2-10-1.
It is virtually identical but in C++ it is rated required and in C it is rated advisory.
Was that a change on purpose or an accident?
Thanks.
The MISRA-C working group reviewed the specification of "Guideline categories" when updating the guidelines in 2012, which is after the MISRA C++ guidelines were written in 2008. It was decided that as this rule did not directly lead to undefined behaviour that the categorisation should be changed to Advisory.