Compiler Error C2077


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at Compiler Error C2077.

non-scalar field initializer 'identifier'

You tried to initialize a bit field with a nonscalar (struct, union, array, or class). Use an integer or floating-point value.