Am Dienstag, 5. Juli 2016 um 17:23:40, schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org> > Le 05/07/2016 à 12:23, Guillaume Munch a écrit : > >> I figured that the difference were minimal, but if I am wrong I can > >> revert this part of course. Only cygwin requires gnu++11. > > > > As far as I understand, the difference is precisely to enable > > non-standard extensions. I do see the point of disabling non-standard > > extensions for a cross-platform software. > > We have compiled for ages in gnu++98 mode forever when not using C++11. > And currently gcc 6 uses gnu++14 by default. Do you want me to force > c++14 instead? > > I do not know what cmake does BTW, but we will eventually synchronize > these kind of choices.
Cmake tries to use -std=c++14 first, then c++11, gnu++11, gnu++0x See development/cmake/modules/FindCXX11Compiler.cmake:50 > JMarc Kornel
signature.asc
Description: This is a digitally signed message part.