Jonathan Wakely wrote: > On 18/05/15 13:42 +0100, Jonathan Wakely wrote: >>On 18/05/15 13:39 +0100, Jonathan Wakely wrote: >>>On 04/05/15 13:09 +0200, Kalev Lember wrote: >>>>lyx: >>>>http://koji.fedoraproject.org/koji/taskinfo?taskID=9651160 >>> >>>It looks like LyX forward-declares std::basic_string, which is (1) >>>undefined behaviour and (2) not going to work now that std::string is >>>really defined as std::__cxx11::basic_string. >>> >>>This should be fixed upstream. >> >>Suggested fix: >> >>--- src/support/strfwd.h.orig 2015-05-18 13:41:25.847007324 +0100 >>+++ src/support/strfwd.h 2015-05-18 13:41:49.892072937 +0100 >>@@ -36,8 +36,8 @@ >> >>#endif >> >>-// Forward definitions do not work with libc++ >>-#ifdef _LIBCPP_VERSION >>+// Forward definitions do not work with libc++ or GCC5 >>+#if defined(_LIBCPP_VERSION) || __GNUC__ >= 5 >>#include <string> >>#else > > Oh good, it's already fixed upstream: > http://www.lyx.org/trac/changeset/51cc8aa9f6b784f806b1d9cc97fe0749ffac29af/lyxgit thanks for the hint, I pulled in the fix today and it worked (among several other small fixes). -- Rex -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct