![]() |
![]() |
0808 | ![]() |
||||
![]() | |||||||
| QAC configuration | |||||||
You have constructed a header file which directly or indirectly includes itself. This probably indicates some confusion in the design of the include file system. "Repeated inclusion" of a header file is not unreasonable providing the contents of the file are subject to conventional "include guard" protection. For example:
/**************/
/* File: hd1.h*/
/**************/
#ifndef MYHEADER
#define MYHEADER
/* Header file content ... */
#endif
/**************/
/* File: hd2.h*/
/**************/
#include "hd2.h"
/* Header file content */
No MISRA-C:2004 Rules applicable to message 0808
![]() | ||
| QA·C Source Code Analyser 8.1
MISRA-C:2004 Compliance Module 3.2 © 2012 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | MISRA-C:2004 Rule Index | Contents |