Am Montag, 31. August 2015 um 17:50:23, schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org> > Le 27/08/2015 22:00, Georg Baum a écrit : > >>> One problem that we have is that the compiler has to be in c++11 mode > >>> _and_ the configure script has to be aware of it. Currently weird > >>> compilers are not handled at all. > > > > We can at least turn c++11 on automatically for "non-weird" compilers (and I > > think we should do it). > > It occurred to me that it is possible to detect C++11 even with gcc > 4.[3-6] using whatever is defined by the compiler. > > Georg, does this make sense to you? Also I use c++11 mode instead of > gnu++11; we do not need any extension. > > Kornel, if we apply that, you will be able to remove the LYX_USE_CXX11 > hack from cmake too.
Why? It is automatically set iff the compiler supports it. > JMarc > Kornel
signature.asc
Description: This is a digitally signed message part.