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) C4233
Collapse the table of content
Expand the table of content

Compiler Warning (level 4) C4233

Error Message

nonstandard extension used : 'keyword' keyword only supported in C++, not C

The compiler compiled your source code as C rather than C++, and you used a keyword that is only valid in C++. The compiler compiles your source file as C if the extension of the source file is .c or you use /Tc.

This warning is automatically promoted to an error. If you wish to modify this behavior, use #pragma warning. For example, to make C4233 into a level 4 warning issue,

#pragma warning(2:4233)

in your source code file.

Community Additions

ADD
Show:
© 2015 Microsoft