This documentation is archived and is not being maintained.

Compiler Error C3872

'char': this character is not allowed in an identifier

The compiler does not allow a universal character name (UCN) if the hex value is less than 0x20 or in the range 0x7F-0x9F. The UCN cannot designate a character in the basic source character set, and UCNs are not allowed in identifiers.

The following sample generates C3872:

// C3872.cpp
int main() {
   int \u0040;   // C3872, in base char set
}
Show: