Posts: 2
Threads: 1
Joined: Jan 2011
Reputation:
0
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.
<t></t>
Posts: 252
Threads: 1
Joined: Jun 2008
Reputation:
6
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.
Posted by and on behalf of
the MISRA C++ Working Group