Developer Guide and Reference

Contents

ansi

Enables language compatibility with the gcc option ansi.

Syntax

Linux:
-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
.
This content is specific to C++; it does not apply to
DPC++
.
If you want strict ANSI conformance, use the -strict-ansi option.
IDE Equivalent
Visual Studio:
None
Eclipse:
Language > ANSI Conformance
Alternate Options
None

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.