|
Boost-Build : |
Subject: [Boost-build] [quickbook] Build error on trunk with msvc-10.0
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-08-24 00:20:56
I can build quickbook.exe on the Boost trunk with gcc-4.6.0 MingW
successfully, but when I use msvc-10.0 I get this error:
"compile-c-c++
..\..\bin.v2\tools\quickbook\src\msvc-10.0\release\link-static\thr
eading-multi\id_generator.obj
id_generator.cpp
..\..\boost/unordered/detail/buckets.hpp(556) : error C2661:
'std::pair<_Ty1,_Ty
2>::pair' : no overloaded function takes 4 arguments
with
[
_Ty1=const std::string,
_Ty2=quickbook::id_generator::id_data
]
..\..\boost/unordered/detail/buckets.hpp(620) : see reference
to functio
n template instantiation 'void
boost::unordered::detail::construct_impl<std::pai
r<_Ty1,_Ty2>,std::string&,std::string&,quickbook::id_generator::categories&,T>(s
td::pair<_Ty1,_Ty2> *,void *,Arg0,Arg1,Arg2,Arg3 &&)' being compiled
with
[
_Ty1=const std::string,
_Ty2=quickbook::id_generator::id_data,
T=bool,
Arg0=std::string &,
Arg1=std::string &,
Arg2=quickbook::id_generator::categories &,
Arg3=bool
]
..\..\boost/unordered/detail/unique.hpp(297) : see reference to
function
template instantiation 'void
boost::unordered::detail::node_constructor<Alloc,U
nique>::construct<std::string&,std::string&,quickbook::id_generator::categories&
,T>(Arg0,Arg1,Arg2,Arg3 &&)' being compiled
with
[
Alloc=std::allocator<std::pair<const
std::string,quickbook::id_gener
ator::id_data>>,
Unique=true,
T=bool,
Arg0=std::string &,
Arg1=std::string &,
Arg2=quickbook::id_generator::categories &,
Arg3=bool
]
..\..\boost/unordered/detail/unique.hpp(295) : see reference to
function
template instantiation 'std::pair<_Ty1,_Ty2>
boost::unordered::detail::unique_t
able<T>::emplace_impl<std::string&,std::string&,quickbook::id_generator::categor
ies&,bool>(const std::basic_string<_Elem,_Traits,_Ax>
&,Arg0,Arg1,Arg2,Arg3 &&)'
being compiled
with
[
_Ty1=boost::unordered::detail::bucket<std::allocator<std::pair<const
std::string,quickbook::id_generator::id_data>>> *,
_Ty2=bool,
T=boost::unordered::detail::map<std::string,boost::hash<std::string>
,std::equal_to<std::string>,std::allocator<std::pair<const
std::string,quickbook
::id_generator::id_data>>>,
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>,
Arg0=std::string &,
Arg1=std::string &,
Arg2=quickbook::id_generator::categories &,
Arg3=bool
]
..\..\boost/unordered/unordered_map.hpp(925) : see reference to
function
template instantiation 'std::pair<_Ty1,_Ty2>
boost::unordered::detail::unique_t
able<T>::emplace<std::string&,std::string&,quickbook::id_generator::categories&,
bool>(Arg0,Arg1,Arg2,Arg3 &&)' being compiled
with
[
_Ty1=boost::unordered::detail::bucket<std::allocator<std::pair<const
std::string,quickbook::id_generator::id_data>>> *,
_Ty2=bool,
T=boost::unordered::detail::map<std::string,boost::hash<std::string>
,std::equal_to<std::string>,std::allocator<std::pair<const
std::string,quickbook
::id_generator::id_data>>>,
Arg0=std::string &,
Arg1=std::string &,
Arg2=quickbook::id_generator::categories &,
Arg3=bool
]
src\id_generator.cpp(212) : see reference to function template
instantia
tion 'std::pair<_Ty1,_Ty2>
boost::unordered::unordered_map<K,T>::emplace<std::st
ring&,std::string&,quickbook::id_generator::categories&,bool>(Arg0,Arg1,Arg2,Arg
3 &&)' being compiled
with
[
_Ty1=boost::unordered::iterator_detail::iterator<std::allocator<std:
:pair<const std::string,quickbook::id_generator::id_data>>,true>,
_Ty2=bool,
K=std::string,
T=quickbook::id_generator::id_data,
Arg0=std::string &,
Arg1=std::string &,
Arg2=quickbook::id_generator::categories &,
Arg3=bool
]"
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk