Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MISRA AC AGC vs. MISRA-C:2012-Appendix-E
#1
Hello community,

recently, I bought the publication "MISRA AC AGC - Guidelines for the application of MISRA-C:2004 in the context of automatic code generation".
I bought this document because my code analyzer tools POLYSPACE from MATHWORKS support the analysis based on either MISRA-C:2004, MISRA-C:2012 or MISRA AC AC. As the latter one is based on MISRA-C:2004 I wonder, whether the standard MISRA-C:2012 with the exceptions resp. modifications described in Appendix E would be the 'better' choice?

Thank you for any response and
Best Regards.
Manfred
<t></t>
Reply
#2
MISRA AC AGC (published in 2007) provides guidance for auto-generated code, in the context of MISRA C:2004

For MISRA C:2012, this additional guidance is provided within the Guidelines by Appendix E.

The decision as to which version of MISRA C to use (2004+AGC or 2012) depends on a number of factors, particularly the tool-chain and the existing code-base. For new projects, it is generally “better” to adopt MISRA C:2012.
<t>---<br/>
Posted by and on behalf of<br/>
the MISRA C Working Group</t>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)