Which version of C++ is default in GCC 7?

Xi Ruoyao ryxi@stu.xidian.edu.cn
Sun Apr 30 15:39:00 GMT 2017

On 2017-04-29 00:45 -0400, Jeffrey Walton wrote:

> Thanks. Is that -std=c++14 or -std=gnu++14?

See the man page of GCC 7:

> gnu++14
> gnu++1y
>     GNU dialect of -std=c++14.  This is the default for C++ code.
>     The name gnu++1y is deprecated.
Xi Ruoyao <ryxi@stu.xidian.edu.cn>
School of Aerospace Science and Technology, Xidian University

More information about the Gcc-help mailing list