01-06-2020, 01:09 PM
The above code is a violation of rule 1.1.
Quote: The program shall contain no violation of the standard C syntax ....MISRA C:2012 is not applicable to C++ code. Such code should be analysed against the MISRA C++:2008 guidelines.
Posted by and on behalf of the MISRA C Working Group