Subject: [Boost-bugs] [Boost C++ Libraries] #5877: Ambiguous call building Boost.Python quickstart example
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-08 13:13:00
#5877: Ambiguous call building Boost.Python quickstart example
----------------------------------+-----------------------------------------
Reporter: paul@⦠| Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.47.0 | Severity: Problem
Keywords: quickstart ambiguous |
----------------------------------+-----------------------------------------
If I use .\b2 to do a build of plain vanilla Boost 1.47 on 32-bit Windows
7 using Python 3.2 and MSVC 10.0 SP1, it completes without error. I then
add the lib= and include= environment variables as instructed at the end
of the build, and CD to the python quickstart example.
When I then use b2 to build the quickstart example, it fails with:
{{{
embedding.cpp
embedding.cpp(39) : error C2668:
'std::basic_string<_Elem,_Traits,_Ax>::basic_st
ring' : ambiguous call to overloaded function
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
c:\Program Files\Microsoft Visual Studio
10.0\VC\INCLUDE\xstring(700): c
ould be
'std::basic_string<_Elem,_Traits,_Ax>::basic_string(std::basic_string<_E
lem,_Traits,_Ax> &&)'
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
c:\Program Files\Microsoft Visual Studio
10.0\VC\INCLUDE\xstring(590): o
r 'std::basic_string<_Elem,_Traits,_Ax>::basic_string(const _Elem
*)'
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
while trying to match the argument list
'(boost::python::detail::method_
result)'
}}}
and
{{{
embedding.cpp(56) : error C2065: 'initembedded_hello' : undeclared
identifier
}}}
Of course, the second error may be caused by the first.
See http://mail.python.org/pipermail/cplusplus-
sig/2011-September/016147.html for a more complete history and console
listing.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5877> 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:07 UTC