17-08-2010, 05:39 PM
Was advisory #12.6 intended to apply to preprocessor directives at all? I only ask because the text does not specify one way or the other.
Welcome to the new MISRA discussion forum, if you were previously a member of our forums you may need to reset your password.
Generalized Question about #12.6 and Preprocessor Directives
|
17-08-2010, 05:39 PM
Was advisory #12.6 intended to apply to preprocessor directives at all? I only ask because the text does not specify one way or the other.
20-08-2010, 08:35 AM
While Rule 12.6 doesn't explicitly mention expressions used in preprocessing directlves, it is intended to apply to all expressions.
In considering the question, it seems that there are two omissions from the definition of Boolean expressions in the Glossary (Appendix E), namely:
Posted by and on behalf of the MISRA C Working Group
|
« Next Oldest | Next Newest »
|