Compiler Error C2138

illegal to define an enumeration without any members

An empty enumeration was defined.

An enumeration must have at least one member.

This is an error when the /Za (disable Microsoft extensions) switch has been selected.