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.

This fix is in boost 1.50 (according to trac).


These two patches are sufficient to _build_ boost1.49 with gcc-4.8 and
eglibc-2.17, and the produced binary packages are sufficient to build
anytun [1], libzeep [1], and aptitude [2].  I lack the resources to
test more thoroughly.


Regards

[1] Selected as a quick test for its small size and few
    build-depends.

[2] Aptitude also suffers from a similar issue with google-mock,
    but builds ok for the parts using boost.

Attachment: c11_trac-6940.patch
Description: Binary data

Attachment: gcc4.8_trac-7242.patch
Description: Binary data

Reply via email to