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: eherbst@… 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)

boost-test.cpp (639 bytes ) - added by eherbst@… 12 years ago.

Download all attachments as: .zip

Change History (5)

by eherbst@…, 12 years ago

Attachment: boost-test.cpp added

comment:1 by eherbst@…, 12 years ago

For my immediate purposes I can work around this by including more specific header files than variant.hpp.

comment:2 by Jeremiah Willcock, 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:3 by eherbst@…, 12 years ago

Works with 1.44.0. Thanks!

comment:4 by Jeremiah Willcock, 12 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.