id summary reporter owner description type status milestone component version severity resolution keywords cc 4092 VC2010 compile error matt-bradbury@… Sebastian Redl "Compiling with the RTM Visual Studio 2010 Professional I get the following compile error. Compile command: ./bjam --build-dir=""D:/boostbuild"" toolset=msvc --build-type=complete stage {{{ compile-c-c++ D:\boostbuild\boost\bin.v2\libs\graph\build\msvc-10.0\release\link-static\runtime-link-static\graphml.obj graphml.cpp .\boost/property_tree/detail/ptree_implementation.hpp(30) : error C2440: 'specialization' : cannot convert from 'const std::string std::_Pair_base<_Ty1,_Ty2>::* ' to 'const std::basic_string<_Elem,_Traits,_Ax> std::pair<_Ty1,_Ty2>::* ' with [ _Ty1=const std::string, _Ty2=boost::property_tree::basic_ptree ] and [ _Elem=char, _Traits=std::char_traits, _Ax=std::allocator, _Ty1=const std::string, _Ty2=boost::property_tree::basic_ptree ] Standard conversion from pointer-to-member of base to pointer-to-member of derived is not applied for template arguments .\boost/property_tree/detail/ptree_implementation.hpp(78) : see reference to class template instantiation 'boost::property_tree::basic_ptree::subs' being compiled with [ Key=std::string, Data=std::string ] .\boost/foreach.hpp(265) : see reference to class template instantiation 'boost::property_tree::basic_ptree::const_iterator' being compiled with [ Key=std::string, Data=std::string ] libs\graph\src\graphml.cpp(36) : see reference to class template instantiation 'boost::foreach_detail_::auto_any' being compiled with [ T=boost::property_tree::basic_ptree::const_iterator ] call ""C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x86 >nul cl /Zm800 -nologo @""D:\boostbuild\boost\bin.v2\libs\graph\build\msvc-10.0\release\link-static\runtime-link-static\graphml.obj.rsp"" ...failed compile-c-c++ D:\boostbuild\boost\bin.v2\libs\graph\build\msvc-10.0\release\link-static\runtime-link-static\graphml.obj... ...skipped libboost_graph-vc100-s-1_42.lib for lack of graphml.obj... ...skipped libboost_graph-vc100-s-1_42.lib for lack of libboost_graph-vc100-s-1_42.lib... ...skipped libboost_graph-vc100-s.lib for lack of libboost_graph-vc100-s-1_42.lib... }}} " Bugs closed Boost 1.43.0 property_tree Boost 1.42.0 Problem fixed