Le 19/05/2015 20:34, Georg Baum a écrit :
Jean-Marc Lasgouttes wrote:

Georg, would the following commit suit you? With it, I am able to
compile with gcc 4.6 in C++11 mode.

I would prefer testing for __cplusplus, since it is defined by the C++
standard. However, since this does not work I do not know of a better way
than you proposed, so please go ahead.

Actually, I would propose when 2.3 starts to enforce the use of C++11. Then our problem will be solved :)

Note that there remain some tests against __cplusplus that should
probably be removed.

Maybe some of them, but at least the one in tex2lyx should be converted to
LYX_USE_CXX11.

For me it tests against C++98, and I think this is a given these days. But since I do not understand the subtleties of streams, I did not change it right now. Actually, the #ifdef should have the wrong effect with gcc 4.6, so I am a bit confused here.

JMarc

Reply via email to