Re: [Boost-bugs] [Boost C++ Libraries] #2906: boost 1.33.1: build of boost::program_options failed with msvc7.1 and stlport5.0

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2906: boost 1.33.1: build of boost::program_options failed with msvc7.1 and stlport5.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-04-03 10:06:50


#2906: boost 1.33.1: build of boost::program_options failed with msvc7.1 and
stlport5.0
----------------------------------+-----------------------------------------
  Reporter: nikolay_at_[hidden] | Owner: vladimir_prus
      Type: Bugs | Status: new
 Milestone: Boost 1.39.0 | Component: program_options
   Version: Boost 1.38.0 | Severity: Problem
Resolution: | Keywords: program_options dynamic stlport5 build error
----------------------------------+-----------------------------------------
Changes (by nikolay_at_[hidden]):

 * cc: nikolay_at_[hidden] (added)

Comment:

 When I have updated boost::program_options library to latest release I got
 the same error:
 vc-C++
 bin\boost\libs\program_options\build\boost_program_options.dll\vc-7_1-stlport\release
 \threading-multi\variables_map.obj variables_map.cpp
 D:/TMP\SDK\\STLport-5.0\stlport\stl\_tree.h(594) : error C2664: 'bool
 stlp_std::less<_Tp>::operator ()(const _Tp &,const _Tp &) const' : cannot
 convert parameter 2 from 'stlp_std::map<_Key,_Tp>::value_type' to 'const
 stlp_std::string &'

 with [

 _Tp=stlp_std::string

 ] and [

 _Key=stlp_std::string, _Tp=boost::program_options::variable_value

 ]
 Reason: cannot convert from 'stlp_std::map<_Key,_Tp>::value_type' to 'co

 nst stlp_std::string' with [

 _Key=stlp_std::string, _Tp=boost::program_options::variable_value

 ]
 No constructor could take the source type, or constructor overload
 resolution was ambiguous.

 The really interesting thing that static library has been succesfully
 built. I can find declaration of the variables_map class in the dump of
 static library:
 0152D2E public: __thiscall
 boost::program_options::variables_map::variables_map(class
 boost::program_options::abstract_variables_map const *)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2906#comment:3>
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:49:59 UTC