Compiler Warning (level 4) C4233
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Compiler Warning (level 4) C4233.
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.
Show: