08-02-2023, 08:40 AM
(21-06-2022, 12:21 PM)gpotts63 Wrote: For example, “Rule 2.1: A project shall not contains unreachable code” versus “Rule 5-0-7: There shall be no explicit floating-integral conversions of a cvalue expression”.
The two different styles relate to the two main software coding guidelines:
- MISRA C uses the Rule 2.1 style format
- MISRA C++ uses the Rule 5-0-7 style format.
Posted by and on behalf of the MISRA C Working Group