gcc5 C++11 ABI rebuilds and FTBFS packages
Jonathan Wakely
jwakely at redhat.com
Mon May 18 12:50:14 UTC 2015
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
More information about the devel
mailing list