Opened 12 years ago
Closed 12 years ago
#4838 closed Bugs (worksforme)
[variant][property_map] conflicting 'boost::get<>'s defined in multiple libraries
Reported by: | Owned by: | Douglas Gregor | |
---|---|---|---|
Milestone: | To Be Determined | Component: | property_map |
Version: | Boost 1.42.0 | Severity: | Problem |
Keywords: | Cc: |
Description
The first compile error I get in the attached file is
boost-test.cpp:12: instantiated from here /usr/include/boost/property_map/property_map.hpp:31: error: ‘int’ is not a class, struct, or union type
but that get<> call is to the variant lib.
Thanks.
Attachments (1)
Change History (5)
by , 12 years ago
Attachment: | boost-test.cpp added |
---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Do you have the full error message? There used to be issues like this in Boost, but I believe they have all been fixed in recent versions. If the error is about two_bit_color_map
, in particular, that should be fixed. Would it be possible for you to try your code with a newer version of Boost?
comment:4 by , 12 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
For my immediate purposes I can work around this by including more specific header files than variant.hpp.