Compiler Warning (level 1) C4116
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 Warning (level 1) C4116

Error Message

unnamed type definition in parentheses

A structure, union, or enumerated type with no name is defined in a parenthetical expression. The type definition is meaningless.

In a C function call, the definition has global scope. In a C++ function call, the definition has the same scope as the function being called.

© 2015 Microsoft