Compiler Error C2037

left of 'operator' specifies undefined struct/union 'type'

The operand to the left of the member-selection operator is not a fully defined class, structure, or union.

This error can be caused by a left operand that is an undefined variable.