Le 02/09/2015 22:18, Georg Baum a écrit :
Georg, does this make sense to you? Also I use c++11 mode instead of
gnu++11; we do not need any extension.
Yes, the automatic detection by preprocessor macros is the best method IMHO.
However, since we do not know whether we'll need to modify the #ifdef for
other compilers again, could we not have this in config.h.in
#if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__)
#define LYX_USE_CXX11
#endif
and then keeping everything in src/ unchanged? That looks even cleaner to
me.
I have done that now.
JMarc