That seems wrong to me.  Regardless of how proud the  compiler makers are
of their extensions, the language you're using should depend as little as
possible (by default) on the compiler you choose.
-- Elizabeth

On Wed, Jun 15, 2016 at 11:48 AM, Robert Maynard <robert.mayn...@kitware.com
> wrote:

> This is correct. The default for GCC has always been to enable gcc
> extensions, with GCC < 6 having a default of gnu++98, and GCC 6 having
> a default of gnu++14
>
> On Wed, Jun 15, 2016 at 11:00 AM, Patrick Boettcher
> <patrick.boettc...@posteo.de> wrote:
> > On Wed, 15 Jun 2016 10:50:13 -0400
> > "Elizabeth A. Fischer" <elizabeth.fisc...@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.
> > --
> >
> > Powered by www.kitware.com
> >
> > Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
> >
> > Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
> >
> > CMake Support: http://cmake.org/cmake/help/support.html
> > CMake Consulting: http://cmake.org/cmake/help/consulting.html
> > CMake Training Courses: http://cmake.org/cmake/help/training.html
> >
> > Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/cmake
>
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to