Generalized Question about #12.6 and Preprocessor Directives - Printable Version +- MISRA Discussion Forums (https://forum.misra.org.uk) +-- Forum: MISRA C (https://forum.misra.org.uk/forumdisplay.php?fid=4) +--- Forum: MISRA-C: 2004 rules (https://forum.misra.org.uk/forumdisplay.php?fid=17) +---- Forum: 6.12 Expressions (https://forum.misra.org.uk/forumdisplay.php?fid=39) +---- Thread: Generalized Question about #12.6 and Preprocessor Directives (/showthread.php?tid=765) |
Generalized Question about #12.6 and Preprocessor Directives - gs - 17-08-2010 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. Re: Generalized Question about #12.6 and Preprocessor Direct - misra-c - 20-08-2010 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:
|