Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Error C3888
Collapse the table of content
Expand the table of content

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