Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#5280 closed Bugs (fixed)

compilation error by including order

Reported by: bolero.murakami+cpp@… Owned by: Hartmut Kaiser
Milestone: To Be Determined Component: wave
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

In VC8~VC10, a compilation error will be occurred when you include headers in the following order:

#include <boost/utility/value_init.hpp>
#include <boost/wave/util/cpp_include_paths.hpp>
error C2872: 'detail' : ambiguous symbol.

Because, In cpp_include_paths.hpp, the VC++ compiler doesn't lookup boost::multi_index::get function.

So, I think it is necessary to write using declarations explicitly.

Attachments (1)

cpp_include_paths.patch (908 bytes ) - added by bolero.murakami+cpp@… 12 years ago.

Download all attachments as: .zip

Change History (3)

by bolero.murakami+cpp@…, 12 years ago

Attachment: cpp_include_paths.patch added

comment:1 by Hartmut Kaiser, 12 years ago

Resolution: fixed
Status: newclosed

(In [69685]) Fixed #5280: compilation error by including order

comment:2 by Hartmut Kaiser, 12 years ago

(In [69686]) Fixed #5280: compilation error by including order

Note: See TracTickets for help on using tickets.