Export (0) Print
Expand All
Expand Minimize

Compiler Error C3851

Error Message

'char': a universal-character-name cannot designate a character in the basic character set

For characters in the range of 0x20 to 0x7f, except 0x24 and 0x40, you cannot use a universal character name.

The following samples generate C3851:

// C3851.cpp
int main()
{
   int \u0021 = 0;   // C3851
   int \u0024 = 0;   // OK
}

Community Additions

ADD
Show:
© 2014 Microsoft