Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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