[previous] 0838 [next] File '%1s' has already been included directly from within file '%2s'.
Preprocessing

This file has already been included from within the current physical source file or header file. This #include directive is probably redundant. Is this intended ?

For example:


#pragma PRQA_MESSAGES_OFF 816,3211

/**************************
EXAMPLE 1:
==========
The file 0838a.h is included twice
from within the current file.

       0838a.h
main <
       0838a.h
**************************/
#include "0838a.h"
#include "0838a.h"                             /* Message 0838 */


/**************************
EXAMPLE 2:
==========
The file 0838c.h is included twice
from within the 0838b.h.

                 0838c.h
main - 0838b.h <
                 0838c.h
**************************/
#include "0838b.h"                             /* Message 0838 */


int a = 0;
int b = 0;
int c = 0;

See also:

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents