Compiler Error C2223
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Compiler Error C2223

left of '->identifier' must point to struct/union

The operand to the left of -> is not a pointer to a class, structure, or union.

This error can be caused by a left operand that is an undefined variable (therefore type int).

© 2015 Microsoft