Enables language compatibility with the gcc option ansi.
Linux: | -ansi |
macOS: | -ansi |
Windows: | None |
None
OFF |
GNU C++ is more strongly supported than ANSI C. |
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.
Visual Studio: None
Eclipse: Language > ANSI Conformance
Xcode: Language > C Language Dialect and Language > C++ Language Dialect
None