5.7.3.8 Std Option
The -std=standard
option specifies the C
standard to which the compiler assumes source code will conform. The allowable standards
are tabulated below.
Standard | Supports |
---|---|
c89 or
c90 | ISO C90 (ANSI) programs. |
c99 | ISO C99 programs. |
gnu99 | GNU dialect of ISO C99 programs |
c++11 | ISO C++11 programs |
gnu++11 | GNU dialect of ISO C++11 programs |
c++14 | ISO C++14 programs |
gnu++14 | GNU dialect of ISO C++14 programs |