Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Warning (level 4) C4428
Collapse the table of content
Expand the table of content

Compiler Warning (level 4) C4428

Error Message

universal-character-name encountered in source

The compiler issues C4428 when it detects at least one universal character name in a source code file. To fix this warning, use the Unicode equivalent of the universal character name.

This warning is only issued once per compiland.

The following sample generates C4428:

// C4428.cpp
// compile with: /W4 /c
int \u20ac = 0;  // C4428 universal character name
/// The following line is the Unicode equivalent of \u20ac:
// int  = 0;

Community Additions

ADD
Show:
© 2015 Microsoft