MISRA Discussion Forums
"See Also" in Rule 21.1 - 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.21 Standard libraries (https://forum.misra.org.uk/forumdisplay.php?fid=176)
+---- Thread: "See Also" in Rule 21.1 (/showthread.php?tid=1060)



"See Also" in Rule 21.1 - tsukukazu - 05-06-2014

This rule is related to "#undef".
But "See also" of this rule does not contain "Rule 20.5 # undef should not be used".
I think Rule 20.5 should be included in "See also".

Is it correct?

Best Regards.


Re: "See Also" in Rule 21.1 - misra-c - 25-06-2014

It would be reasonable to add "See also Rule 20.5" to rule 21.1, since rule 21.1 on #undef only applies if you are not using the advisory rule 20.5.