Intel® C++ Compiler XE 13.1 User and Reference Guides

Zc

Lets you specify ANSI C standard conformance for certain language features.

IDE Equivalent

Windows: Language > Treat wchar_t as Built-in Type / Force Conformance In For Loop Scope

Linux: None

OS X: None

Architectures

All

Syntax

Linux and OS X:

None

Windows:

/Zc:arg[,arg]

Arguments

arg

Is the language feature for which you want standard conformance. Possible values are:

forScope

Enforce standard behavior for initializers of for loops.

wchar_t

Specify that wchar_t is a native data type.

Default

ON

Standard conformance is enabled for both forScope and wchar_t.

Description

This option lets you specify ANSI C standard conformance for certain language features when you also specify /Ze.

Alternate Options

None

See Also


Submit feedback on this help topic