Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Directive 4.5
#1
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.
<t></t>
#2
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.
Posted by and on behalf of the MISRA C Working Group


Forum Jump:


Users browsing this thread: 1 Guest(s)