Export (0) Print
Expand All
Expand Minimize

Compiler Error C3888

Visual Studio 2008
'name' : the const expression associated with this literal data member is not supported by C++/CLI

The name data member that is declared with the literal keyword is initialized with a value the compiler does not support. The compiler supports only constant integral, enum, or string types. The likely cause for the C3888 error is that the data member is initialized with a byte array.

To correct this error

  • Check that the declared literal data member is a supported type.

Community Additions

© 2015 Microsoft