C4006: Expression too complex

[FATAL]

Description

The compiler cannot handle an expression which has more than 32 recursion levels.

Example
  typedef struct S {

  
    struct S *n;

  
  } S;

  
  S *s;

  
  void foo(void) {

  
    s->n->n->n->n-> ... n->n->n->n->n->n-
  >n->n->n = 0;

  
  }

  
Tips

Try to simplify the expression, e.g. use temporary variables to hold expression results.

See also