C4412: Maximum macro expansion level reached

[FATAL]

Description

The compiler has reached the limit for recursive macro expansion. A recursive macro is if a macro depends on another macro. The compiler also stops macro expansion with this message if it seems to be an endless macro expansion.

Example
  #define A0  0

  
  #define A1  A0

  
  #define A2  A1

  
  ...

  
Tips

Try to reduce huge dependency list of macros.

See also