Subject: [Boost-bugs] [Boost C++ Libraries] #5280: compilation error by including order
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-08 13:37:19
#5280: compilation error by including order
-------------------------------------------+--------------------------------
Reporter: bolero.murakami+cpp@⦠| Owner: hkaiser
Type: Bugs | Status: new
Milestone: To Be Determined | Component: wave
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------------+--------------------------------
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.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5280> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC