Directive 4.5 - Printable Version +- MISRA Discussion Forums (https://forum.misra.org.uk) +-- Forum: MISRA C (https://forum.misra.org.uk/forumdisplay.php?fid=4) +--- Forum: MISRA C:2012 and MISRA C:2023 guidelines (https://forum.misra.org.uk/forumdisplay.php?fid=21) +---- Forum: 7.4 Code design (https://forum.misra.org.uk/forumdisplay.php?fid=181) +---- Thread: Directive 4.5 (/showthread.php?tid=1270) |
Directive 4.5 - dg1980 - 01-09-2016 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. Re: Directive 4.5 - misra-c - 23-09-2016 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. |