"See Also" in Rule 21.1

Moderators: misra-c, david ward

Post Reply
tsukukazu
Posts: 3
Joined: Tue Apr 01, 2014 8:43 am
Company: Furukawa Electric Co., LTD.

"See Also" in Rule 21.1

Post by tsukukazu » Thu Jun 05, 2014 7:57 am

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.

misra-c
Posts: 561
Joined: Thu Jan 05, 2006 1:11 pm

Re: "See Also" in Rule 21.1

Post by misra-c » Wed Jun 25, 2014 6:01 pm

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.
---
Posted by and on behalf of
the MISRA C Working Group

Post Reply

Return to “8.21 Standard libraries”