MISRA AC AGC vs. MISRA-C:2012-Appendix-E

Forum for discussing and asking questions about the MISRA document MISRA AC AGC "Guidelines for the application of MISRA-C:2004 in the context of automatic code generation"

Moderators: david ward, GeoffFrost

msteding
Posts: 1
Joined: Mon Mar 06, 2017 9:25 am
Company: GKN Driveline International GmbH

MISRA AC AGC vs. MISRA-C:2012-Appendix-E

Postby msteding » Wed Dec 13, 2017 12:34 pm

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

misra-c
Posts: 547
Joined: Thu Jan 05, 2006 1:11 pm

Re: MISRA AC AGC vs. MISRA-C:2012-Appendix-E

Postby misra-c » Tue Jan 30, 2018 12:49 pm

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.
---
Posted by and on behalf of
the MISRA C Working Group


Return to “MISRA AC AGC discussions”

Who is online

Users browsing this forum: No registered users and 1 guest