Page 1 of 1

self-contained headers

Posted: Mon Dec 05, 2011 8:31 am
by sthrjo
There is no rule in MISRA for header files to be self-contained, is there? Is there a reason for this decision? Other rule-sets has this rule, allegedly "Goddard Space Flight Center" has a rule-set for C.

Re: self-contained headers

Posted: Mon Oct 05, 2015 2:35 pm
by misra cpp
This issue was not considered for MISRA C++:2008.

Note that many of the guidelines prevent the issues that can arise if a header file is included more than once.