[previous] 0388 [next] [L] '#include "%s"' causes nesting to exceed 15 levels - program does not conform strictly to ISO:C99.
ISO C99 Conformance limits REFERENCE - ISO:C99-5.2.4.1 Translation Limits

The translation limits specified in the ISO:C Standard define a minimum set of conditions which a compiler must support in order to be described as conforming. In practice, compilers will often tolerate code which exceeds these minimal requirements. However, in order to ensure portability, it is advisable to avoid writing code that assumes a level of compiler capability which may not always be supported.

Message 0388 identifies a situation in which the nesting level of #include directives exceeds 15, the minimum requirement of the ISO:C99 Standard. Message 0810 identifies code which breaches the corresponding ISO:C90 limit, i.e. nesting level of 8. These messages are not identifying incorrect code but they do identify code which is described in the respective standard as not strictly conforming.


MISRA C:2012 Rules applicable to message 0388:

Dir-1.1  (Required) Any implementation-defined behaviour on which the output of the program depends shall be documented and understood


See also:

QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents