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.

Table 5-9. Acceptable Language Standards
StandardSupports
c89 or c90ISO C90 (ANSI) programs.
c99ISO C99 programs.
gnu99GNU dialect of ISO C99 programs
c++11ISO C++11 programs
gnu++11GNU dialect of ISO C++11 programs
c++14ISO C++14 programs
gnu++14GNU dialect of ISO C++14 programs