Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Visible to Intel only — GUID: GUID-30B7CFE6-0EBC-4746-8D43-3DEF3084961E

Document Table of 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.

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

IDE Equivalent

Visual Studio: None

Eclipse: Language > ANSI Conformance

Alternate Options

None