Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 576 Bytes

compiler-error-c2016.md

File metadata and controls

14 lines (11 loc) · 576 Bytes
description title ms.date f1_keywords helpviewer_keywords
Learn more about: Compiler Error C2016
Compiler Error C2016
08/18/2022
C2016
C2016

Compiler Error C2016

C requires that a struct or union has at least one member

The compiler found a struct or union defined with no members, which isn't allowed in C. For more information, see Structures and Unions.

To resolve this error, create at least one member in your struct or union.