Rule 20.8 and #elif - 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:2012 and MISRA C:2023 guidelines (https://forum.misra.org.uk/forumdisplay.php?fid=21) +---- Forum: 8.20 Preprocessing directives (https://forum.misra.org.uk/forumdisplay.php?fid=175) +---- Thread: Rule 20.8 and #elif (/showthread.php?tid=1385) |
Rule 20.8 and #elif - rgamble - 01-11-2017 It is pretty clear from the Amplification that this is not a violation of Rule 20.8: Code: #if 0 Code: #if 0 Code: #if 1 Re: Rule 20.8 and #elif - misra-c - 23-11-2017 Code: #if 1 |