27-11-2019, 09:59 AM
The MISRA-C working group can not give advice on how to write programs. However, if you need to deviate from a rule you should read section 4.3.2. The following documents are also useful.
"MISRA Compliance:2016 Achieving compliance with MISRA Coding Guidelines" which introduces the idea of permits for those cases where a required rule needs to be deviated.
An example of permits for MISRA C:2004 can be found "MISRA C:2004 Permits - Deviation permits for MISRA Compliance"
"MISRA Compliance:2016 Achieving compliance with MISRA Coding Guidelines" which introduces the idea of permits for those cases where a required rule needs to be deviated.
An example of permits for MISRA C:2004 can be found "MISRA C:2004 Permits - Deviation permits for MISRA Compliance"
Posted by and on behalf of the MISRA C Working Group