C4449: Exceeded preprocessor if level of 4092

[ERROR]

Description

The preprocessor does by default only allow 4092 concurrently open if directives. If more do happen, this message is printed. Usually this message does only happen because of a programming error.

Example
  #if 1 // 0

  
  #if 2 // 0

  
  #if 3 // 0

  
  .....

  
  #if 4092 // 0

  
Tips

Check why there are that many open preprocessor if's. Are the endif's missing?