MISRA Discussion Forums

Full Version: self-contained headers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.