This documentation is archived and is not being maintained.

Compiler Error C2053

'identifier' : wide string mismatch

The wide string is assigned to an incompatible type.

The following sample generates C2053:

// C2053.c
int main() {
   char array[] = L"Rika";   // C2053
}
Show: