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

Mac OS X: None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac 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

OFF

/Zc:forScope, wchar_t is disabled if /Qvc8 is not specified.

ON

/Zc:forScope, wchar_t is enabled when /Qvc8 is specified.

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

Copyright © 1996-2011, Intel Corporation. All rights reserved.