16-01-2014, 12:43 PM
The MISRA C:2012 guidelines define “code†in the Glossary as
This includes rule 2.1, and the note has only been added to clarify the situation for the user who may not be aware of the definition in the glossary.
Quote:Code consists of everything within a translation unit that is not excluded by conditional compilationTherefore, all guidelines apply to code after preprocessing directives have been executed, unless otherwise stated in a guideline.
This includes rule 2.1, and the note has only been added to clarify the situation for the user who may not be aware of the definition in the glossary.
Posted by and on behalf of the MISRA C Working Group