Opened 14 years ago
Closed 14 years ago
#2379 closed Patches (invalid)
Fix gcc 4.4 preprocessor problem in Variant
Reported by: | Daniel James | Owned by: | ebf |
---|---|---|---|
Milestone: | Boost 1.37.0 | Component: | variant |
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 Variant.
Attachments (1)
Change History (3)
by , 14 years ago
Attachment: | variant.patch added |
---|
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
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.
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.