Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#2377 closed Bugs (fixed)

Fix gcc 4.4 preprocessor problem in Proto.

Reported by: Daniel James Owned by: Eric Niebler
Milestone: Boost 1.37.0 Component: xpressive
Version: Boost 1.36.0 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 proto.

Attachments (1)

proto.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: proto.patch added

comment:1 by Eric Niebler, 14 years ago

Resolution: fixed
Status: newclosed

(In [49089]) accept patch from Daniel James to fix gcc-4.4 preprocessor problem in proto, fixes #2377

comment:2 by Daniel James, 14 years ago

Hi Eric, I've just been looking into the issue some more and it turns out the patch isn't needed. The problem is actually only in mpl and is caused by its mechanism for using headers that are already preprocessed. I'd assumed that the problem in mpl would appear in other libraries as well. So you can revert the patch or just remove the comments about gcc 4.4.

Note: See TracTickets for help on using tickets.