Le 25/01/2016 10:58, Kornel Benko a écrit :
Am Montag, 25. Januar 2016 um 10:43:15, schrieb Jean-Marc Lasgouttes 
<lasgout...@lyx.org>
Le 22/01/2016 17:15, Kornel Benko a écrit :
Even with this patch, I could not compile src/support/ForkedCalls.cpp with 
gcc-4.8.4.

This is in C++11 mode, right?

Yes, it is set by checking if the compiler is able to use this mode.

With autotools we let C++11 mode be disabled by default in 2.1 (and
enabled by default in 2.2).

I tried, and now it compiles.
So what is the preferred solution?
A.) Disable c++11 mode
B.) Not set  LYX_USE_TR1

I think TR1 should be limited to C++11 mode.

But that is exactly the combination where the compilation fails.

Yes, but we do not really care about C++11 mode in 2.1, it is only for adventurous people. And it works for some compiler versions, in my testing.

JMarc

Reply via email to