On 05/08/2015 03:19 PM, Georg Baum wrote:
commit 51cc8aa9f6b784f806b1d9cc97fe0749ffac29af
Author: Georg Baum <b...@lyx.org>
Date: Fri May 8 21:12:42 2015 +0200
Fix build with GNU libstdc++ C++11 ABI
The GNU libstdc++ that ships witch gcc 5 can be used with the same ABI as
older versions, or with a new ABI which is conformant to the C++11
standard.
LyX did not build if the latter was used:
https://kojipkgs.fedoraproject.org//work/tasks/1267/9651267/build.log
This is now fixed by detecting the ABI version and disabling the wrong forward
declarations. At the same time, STD_STRING_USES_COW is switched off for the
C++11 ABI version, because the std::basic_string implementation is now
C++11
conformant. Since the GNU libstdc++ can also used by other compilers such
as
clang, we must not test for the compiler version.
This is fine for branch if the people who understand this stuff (not me)
think it is.
I'm sure we need it there, since people will want to build LyX with
these tools.
Richard