Subject: [Boost-bugs] [Boost C++ Libraries] #3106: wave on VS2010 beta compiler generates error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-05-29 09:54:12
#3106: wave on VS2010 beta compiler generates error
---------------------------------------------+------------------------------
Reporter: anthony | Owner: hkaiser
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: wave
Version: Boost 1.39.0 | Severity: Problem
Keywords: wave msvs10 compilation problem |
---------------------------------------------+------------------------------
file: boost\wave\util\cpp_include_paths.hpp (line 89).
This is because MS splitted std::pair (in order to use new move semantics
syntax).
generated error:
"_include_paths.hpp(89): error C2440: 'specialization' : cannot convert
from 'std::string std::_Pair_base<_Ty1,_Ty2>::* ' to 'std::string
std::pair<_Ty1,_Ty2>::* '
with
[
_Ty1=std::string,
_Ty2=std::string
]
Standard conversion from pointer-to-member of base to pointer-
to-member of derived is not applied for template arguments
"
and
"
_include_paths.hpp(146) : see reference to class template instantiation
'boost::wave::util::bidirectional_map<FromType,ToType>' being compiled
with
[
FromType=std::string,
ToType=std::string
]
"
The current workaround may be to define
"BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS" to use
boost::multi_index::member_offset instead of "member".
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3106> 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:00 UTC