Opened 14 years ago

Closed 14 years ago

#2378 closed Patches (invalid)

Fix gcc 4.4 preprocessor problem in Phoenix

Reported by: Daniel James Owned by: Joel de Guzman
Milestone: Boost 1.37.0 Component: spirit
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

The upcoming gcc 4.4 release is going to change the preprocessor in a way which breaks the use of the preprocessor for iteration in some boost files. The attached patch fixes this for Phoenix

Attachments (1)

spirit.patch (1.3 KB ) - added by Daniel James 14 years ago.

Download all attachments as: .zip

Change History (3)

by Daniel James, 14 years ago

Attachment: spirit.patch added

comment:1 by Daniel James, 14 years ago

Actually, this patch isn't required - but only because the necessary preprocessor header is included via mpl. But to be safe, it might be worth either including <boost/preprocessor/iterate.hpp> before doing any iteration or applying the patch.

comment:2 by Daniel James, 14 years ago

Resolution: invalid
Status: newclosed

Ignore this completely. The bug only affects the mpl library, because of its pre-preprocessing mechanism. Sorry if you've received lots of emails.

Note: See TracTickets for help on using tickets.