On 1 March 2013 11:45, Daniel Hartwig <mand...@gmail.com> wrote:
> On 27 February 2013 15:40, Daniel Hartwig <mand...@gmail.com> wrote:
>> The errors related to BOOST_STATIC_ASSERT are fixed upstream:
>>
>>   <https://svn.boost.org/trac/boost/ticket/7242>
>>
>
> The upstream changeset associated with that includes unrelated changes
> to the macro.  Attached gcc4.8_trac-7242.patch includes only the fix
> for the unused local typedef warnings.
>
> Fix is not yet in any released upstream version.
>
> Many unused local typedef warnings remain that do not appear to be
> addressed upstream or cause the build to fail.
>
>
>>>  ./boost/thread/xtime.hpp:23:5: error: expected identifier
>>>  before numeric constant
>
> This is <https://svn.boost.org/trac/boost/ticket/6940>.  C11
> introduces a macro (TIME_UTC) that conflicts with a boost enum; the
> macro is maybe present with eglibc-2.16 and later.  Again, the
> associated upstream changeset includes some unrelated.  Attached
> c11_trac-6490.patch includes only the fix for this enum issue.
>

In Ubuntu, instead of applying the full patch against 1.49, we went
for a minimalistic hack/patch to workaround TIME_UTC in eglibc-2.16.
Simply undef TIME_UTC if defined.

See atttached.

Regards,

Dmitrijs.

Attachment: fix-ftbfs-glibc-2.16.patch
Description: Binary data

Reply via email to