Le 22/01/2016 22:55, Georg Baum a écrit :
C++11 does not matter for 2.1 IMHO. Compilers will support C++98 much longer
than 2.1 will be relevant, and even if that means to enable it by special
command line options users can pass them to configure.
I guess the TR1 support is finally biting us back. We could let the code
in, but remove the #define LYX_USE_TR1 in conifg.h.
I would rather not touch it for gcc. Can we remove it just for clang?
We would have to have a check for libc++ in configure since the
detection requires loading a STL header file. Checking for clang is not
enough since by default it uses libstdc++ with gcc.
We could also decide to use TR1 only in C++11 mode, since these are
std:: constructs that we want there after all.
JMarc