[CMake] GCC: -std=g++14 vs -std=c++14

Patrick Boettcher patrick.boettcher at posteo.de
Wed Jun 15 11:00:00 EDT 2016


On Wed, 15 Jun 2016 10:50:13 -0400
"Elizabeth A. Fischer" <elizabeth.fischer at columbia.edu> wrote:

> Why are these extensions not turned off by default?  Normally, things
> should conform to the standards out-of-the-box; and you should have to
> explicitly enable extensions.  Following that principle would have
> avoided this entire thread.

Well, I'd not be surprised if the expected standard for gcc users is
--std=gnu++14 instead of --std=c++14 . That could be a good explanation.

regards,
--
Patrick.


More information about the CMake mailing list