Opened 15 years ago

Closed 14 years ago

#1570 closed Bugs (fixed)

Some boost headers aren't ready for gcc 4.3

Reported by: bero@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost 1.36.0 Severity: Problem
Keywords: Cc:

Description

When building boost, gcc 4.3 (close-to-release snapshot) complains about:

./boost/test/test_tools.hpp:567: error: 'CHAR_BIT' was not declared in this scope

./boost/spirit/phoenix/operators.hpp:355: error: 'INT_MAX' was not declared in this scope

./boost/wave/util/flex_string.hpp:142: error: 'memcpy' was not declared in this scope

The problem for all of those is that the updated STL headers don't #include as many other headers as they used to.

Attaching fix.

Attachments (1)

boost-1.34.1-gcc-4.3.patch (1.1 KB ) - added by bero@… 15 years ago.
Fix

Download all attachments as: .zip

Change History (4)

by bero@…, 15 years ago

Attachment: boost-1.34.1-gcc-4.3.patch added

Fix

comment:1 by Marshall Clow, 15 years ago

Component: Building Boostspirit
Owner: set to Joel de Guzman

This bug covers three different libraries (spirit, wave, and test). Assigning it to Joel.

Joel, will you assign it to Hartmut (hkaiser) when you fix it.

Hartmut, please assign this to Gennadiy (rogeeff) when you've fixed wave.

thanks! -- Marshall

comment:2 by Steven Robbins <smr@…>, 14 years ago

All three chunks of this patch are present in 1.36.0, so I believe this issue may be closed.

comment:3 by smr@…, 14 years ago

Resolution: fixed
Status: newclosed
Version: Boost 1.34.1Boost 1.36.0

Closing: the patch was applied in 1.36.

Note: See TracTickets for help on using tickets.