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

ansi

Enables language compatibility with the gcc option ansi.

IDE Equivalent

Windows: None

Linux: Language > ANSI Conformance

OS X: Language > C ANSI Conformance

Architectures

All

Syntax

Linux and OS X:

-ansi

Windows:

None

Arguments

None

Default

OFF

GNU C++ is more strongly supported than ANSI C.

Description

This option enables language compatibility with the gcc option -ansi and provides the same level of ANSI standard conformance as that option.

This option sets option fmath-errno.

If you want strict ANSI conformance, use the -strict-ansi option.

Alternate Options

None


Submit feedback on this help topic