[pkg-boost-devel] Bug#701377: Bug#701377: boost1.49: ftbfs with GCC-4.8

Dmitrijs Ledkovs xnox at debian.org
Fri Mar 1 13:14:30 UTC 2013

On 1 March 2013 11:45, Daniel Hartwig <mandyke at gmail.com> wrote:
> On 27 February 2013 15:40, Daniel Hartwig <mandyke at 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-ftbfs-glibc-2.16.patch
Type: application/octet-stream
Size: 605 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-boost-devel/attachments/20130301/cac83422/attachment.obj>

More information about the pkg-boost-devel mailing list