C3000: File-stack-overflow (recursive include?)

[FATAL]

Description

There are more than 256 file includes in one chain or a possible recursion during an include sequence. Maybe the included header files are not guarded with ifndef

Example
  // foo.c

  
  #include "foo.c"

  
Tips

Use ifndef to break a possible recursion during include:

  // foo.h

  
  #ifndef FOO_H

  
  #define FOO_H

  
  // additional includes, declarations, ...

  
  #endif

  

Simplify the include complexity to less than 256 include files in one include chain.

See also