Intel® C++ Compiler 19.0 Developer Guide and Reference
Lets you specify ANSI C standard conformance for certain language features.
Linux and macOS: | None |
Windows: | /Zc:arg[,arg] |
arg |
Is the language feature for which you want standard conformance. Possible values are:
|
/Zc:forScope,wchar_t |
The compiler uses the standard behavior for initializers of for loops and it assumes that wchar_t is a native data type. |
This option lets you specify ANSI C standard conformance for certain language features.
If you do not want the default behavior for one or more of the settings, you must specify the negative form of the setting. For example, if you do not want the forScope or wchar_t default behavior, you should specify /Zc:forScope-,wchar_t-.
The Microsoft* option /Zc:rvalueCast is also supported.
Visual Studio: Language > Treat wchar_t as Built-in Type / Force Conformance In For Loop Scope
Language > Enforce type conversion rules (rvalueCast)
Eclipse: None
Xcode: None
None