self-contained headers - Printable Version +- MISRA Discussion Forums (https://forum.misra.org.uk) +-- Forum: MISRA C++ (https://forum.misra.org.uk/forumdisplay.php?fid=18) +--- Forum: MISRA C++:2008 rules (https://forum.misra.org.uk/forumdisplay.php?fid=19) +---- Forum: 6.1 General (C++) (https://forum.misra.org.uk/forumdisplay.php?fid=130) +---- Thread: self-contained headers (/showthread.php?tid=867) |
self-contained headers - sthrjo - 05-12-2011 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 - misra cpp - 05-10-2015 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. |