Zc

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

IDE Equivalent

Linux: None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: None
Windows:    /Zc:arg[, arg]

Arguments

arg      Is the language feature for which you want standard conformance. Possible values are:
  forScope    Enforces standard conformance for initializers of for loops.
  wchar_t Specifies that wchar_t is a native data type.

Default

OFF      The compiler provides support for extended ANSI C.

Description

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

Alternate Options

None

See Also

Ze compiler option