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. > 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. Georg