Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This option disables language extensions to the ANSI C standard. Language extensions are enabled when the /Ze - Enable Language Extensions option is in effect, and disabled when the /Za option is in effect. For more information about these extensions, see Microsoft Extensions to C and C++.
Use the /Za option if you plan to port your program to other environments. The /Za option tells the compiler to treat extended keywords as simple identifiers and to disable the other extensions listed previously.
When you specify /Za, the compiler automatically defines the __STDC__ identifier. In the include files provided with the C run-time libraries, this identifier is used with #ifndef to control use of the __cdecl keyword on library function prototypes.
See Also
Predefined Preprocessor Identifiers | /Ze - Enable Language Extensions | Microsoft Extensions to C and C++
Send Feedback on this topic to the authors