Opened 12 years ago
Closed 11 years ago
#4755 closed Bugs (fixed)
fusion::map conflict with mpl
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
Milestone: | To Be Determined | Component: | fusion |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
G++ 4.4.3 is reporting conflicts in boost/fusion/container/map/detail/deref_data_impl.hpp between boost::fusion::deref and boost:mpl::deref, and in boost/fusion/container/map/detail/deref_impl.hpp between boost::fusion::at and boost::mpl::at.
Looks like this is the same issue as was found by Christophe Henry in fusion::set back on 6/9/2010. Attached a patch to add qualifiers to the offending calls.
Attachments (3)
Change History (6)
by , 12 years ago
Attachment: | fusion-map-qualify-deref-at.patch added |
---|
by , 11 years ago
Self-contained .cpp file which reproduces the problem.
by , 11 years ago
Error produced by g++ 4.4.5 when compiling the previously attached .cpp file
comment:2 by , 11 years ago
I have been bitten by the same problem. It is present both in boost 1.46.1 and on trunk. I can confirm that the fix in the previously-attached patch fixes the problem for me (though I ended up implementing it myself before I discovered this ticket).
Is it possible to have someone commit the patch before someone else ends up wasting time tracking this down again?
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patched trunk. Closing this one.
Add qualifiers to calls to fusion::deref and fusion::at