[Digikam-devel] nice warnings from Microsoft Visual C++ compiler...

Gilles Caulier caulier.gilles at gmail.com
Thu Mar 15 13:34:59 UTC 2012


Marcel,

I got an error this time, about Boost library and versionning implementation :

[ 47%] Building CXX object
core/digikam/CMakeFiles/digikamdatabase.dir/__/libs/database/databasechecker.cpp.obj
databasechecker.cpp
[ 47%] Building CXX object
core/digikam/CMakeFiles/digikamdatabase.dir/__/libs/database/databasecopymanager.cpp.obj
databasecopymanager.cpp
[ 47%] Building CXX object
core/digikam/CMakeFiles/digikamdatabase.dir/__/libs/database/databaseserverstarter.cpp.obj
databaseserverstarter.cpp
[ 47%] Building CXX object
core/digikam/CMakeFiles/digikamdatabase.dir/__/libs/database/tagscache.cpp.obj
tagscache.cpp
[ 47%] Building CXX object
core/digikam/CMakeFiles/digikamdatabase.dir/__/libs/database/databaseservererror.cpp.obj
databaseservererror.cpp
[ 47%] Building CXX object
core/digikam/CMakeFiles/digikamdatabase.dir/__/libs/database/imagehistory/imagehistorygraph.cpp.obj
imagehistorygraph.cpp
c:\devel\2.x\core\libs\database\imagehistory\transitive_reduction.hpp(94)
: error C2668: 'std::tr1::tie' : ambiguous call to overloaded function
        c:\Program Files\Microsoft Visual Studio
10.0\VC\INCLUDE\xxtuple1(34): could be
'std::tr1::tuple<_Arg0,_Arg1,_Arg2,_Arg3,_Arg4,_Arg5,_Arg6,_Arg7,_Arg8,_
Arg9> std::tr1::tie<boost::detail::out_edge_iter<BaseIter,VertexDescriptor,EdgeDescriptor,Difference>,boost::detail::out_edge_iter<BaseIter,VertexDescriptor,Edg
eDescriptor,Difference>>(boost::detail::out_edge_iter<BaseIter,VertexDescriptor,EdgeDescriptor,Difference>
&,boost::detail::out_edge_iter<BaseIter,VertexDescrip
tor,EdgeDescriptor,Difference> &)' [found using argument-dependent lookup]
        with
        [
            _Arg0=boost::detail::out_edge_iter<std::_Vector_iterator<std::_Vector_val<boost::detail::sei_<unsigned
int,std::_List_iterator<std::_List_val<boost:
:list_edge<unsigned
int,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::list_edge<unsigned
int,boost::property<edge_pro
perties_t,Digikam::HistoryEdgeProperties>>>>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::detail::sei_<unsigned
int
,std::_List_iterator<std::_List_val<boost::list_edge<unsigned
int,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::list_
edge<unsigned int,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>>>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>>>>,un
signed int,boost::detail::edge_desc_impl<boost::bidirectional_tag,unsigned
int>,__w64 int> &,
            _Arg1=boost::detail::out_edge_iter<std::_Vector_iterator<std::_Vector_val<boost::detail::sei_<unsigned
int,std::_List_iterator<std::_List_val<boost:
:list_edge<unsigned
int,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::list_edge<unsigned
int,boost::property<edge_pro
perties_t,Digikam::HistoryEdgeProperties>>>>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::detail::sei_<unsigned
int
,std::_List_iterator<std::_List_val<boost::list_edge<unsigned
int,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::list_
edge<unsigned int,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>>>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>>>>,un
signed int,boost::detail::edge_desc_impl<boost::bidirectional_tag,unsigned
int>,__w64 int> &,
            _Arg2=std::tr1::_Nil,
            _Arg3=std::tr1::_Nil,
            _Arg4=std::tr1::_Nil,
            _Arg5=std::tr1::_Nil,
            _Arg6=std::tr1::_Nil,
            _Arg7=std::tr1::_Nil,
            _Arg8=std::tr1::_Nil,
            _Arg9=std::tr1::_Nil,
            BaseIter=std::_Vector_iterator<std::_Vector_val<boost::detail::sei_<unsigned
int,std::_List_iterator<std::_List_val<boost::list_edge<unsigned
int,bo
ost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::list_edge<unsigned
int,boost::property<edge_properties_t,Digikam::History
EdgeProperties>>>>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::detail::sei_<unsigned
int,std::_List_iterator<std::
_List_val<boost::list_edge<unsigned
int,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::list_edge<unsigned
int,boost::p
roperty<edge_properties_t,Digikam::HistoryEdgeProperties>>>>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>>>>,
            VertexDescriptor=unsigned int,
            EdgeDescriptor=boost::detail::edge_desc_impl<boost::bidirectional_tag,unsigned
int>,
            Difference=__w64 int
        ]
        C:\KDE\include\boost/tuple/detail/tuple_basic.hpp(873): or
  'boost::tuples::tuple<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9>
boost::tuples::tie<boost::detail::
out_edge_iter<BaseIter,VertexDescriptor,EdgeDescriptor,Difference>,boost::detail::out_edge_iter<BaseIter,VertexDescriptor,EdgeDescriptor,Difference>>(boost::det
ail::out_edge_iter<BaseIter,VertexDescriptor,EdgeDescriptor,Difference>
&,boost::detail::out_edge_iter<BaseIter,VertexDescriptor,EdgeDescriptor,Difference>
&)'
        with
        [
            T0=boost::detail::out_edge_iter<std::_Vector_iterator<std::_Vector_val<boost::detail::sei_<unsigned
int,std::_List_iterator<std::_List_val<boost::li
st_edge<unsigned
int,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::list_edge<unsigned
int,boost::property<edge_proper
ties_t,Digikam::HistoryEdgeProperties>>>>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::detail::sei_<unsigned
int,st
d::_List_iterator<std::_List_val<boost::list_edge<unsigned
int,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::list_edg
e<unsigned int,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>>>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>>>>,unsig
ned int,boost::detail::edge_desc_impl<boost::bidirectional_tag,unsigned
int>,__w64 int> &,
            T1=boost::detail::out_edge_iter<std::_Vector_iterator<std::_Vector_val<boost::detail::sei_<unsigned
int,std::_List_iterator<std::_List_val<boost::li
st_edge<unsigned
int,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::list_edge<unsigned
int,boost::property<edge_proper
ties_t,Digikam::HistoryEdgeProperties>>>>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::detail::sei_<unsigned
int,st
d::_List_iterator<std::_List_val<boost::list_edge<unsigned
int,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::list_edg
e<unsigned int,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>>>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>>>>,unsig
ned int,boost::detail::edge_desc_impl<boost::bidirectional_tag,unsigned
int>,__w64 int> &,
            T2=boost::tuples::detail::tie_traits<void>::type,
            T3=boost::tuples::detail::tie_traits<void>::type,
            T4=boost::tuples::detail::tie_traits<void>::type,
            T5=boost::tuples::detail::tie_traits<void>::type,
            T6=boost::tuples::detail::tie_traits<void>::type,
            T7=boost::tuples::detail::tie_traits<void>::type,
            T8=boost::tuples::detail::tie_traits<void>::type,
            T9=boost::tuples::detail::tie_traits<void>::type,
            BaseIter=std::_Vector_iterator<std::_Vector_val<boost::detail::sei_<unsigned
int,std::_List_iterator<std::_List_val<boost::list_edge<unsigned
int,bo
ost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::list_edge<unsigned
int,boost::property<edge_properties_t,Digikam::History
EdgeProperties>>>>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::detail::sei_<unsigned
int,std::_List_iterator<std::
_List_val<boost::list_edge<unsigned
int,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::list_edge<unsigned
int,boost::p
roperty<edge_properties_t,Digikam::HistoryEdgeProperties>>>>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>>>>,
            VertexDescriptor=unsigned int,
            EdgeDescriptor=boost::detail::edge_desc_impl<boost::bidirectional_tag,unsigned
int>,
            Difference=__w64 int
        ]
        while trying to match the argument list
'(boost::detail::out_edge_iter<BaseIter,VertexDescriptor,EdgeDescriptor,Difference>,
boost::detail::out_edge_ite
r<BaseIter,VertexDescriptor,EdgeDescriptor,Difference>)'
        with
        [
            BaseIter=std::_Vector_iterator<std::_Vector_val<boost::detail::sei_<unsigned
int,std::_List_iterator<std::_List_val<boost::list_edge<unsigned
int,bo
ost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::list_edge<unsigned
int,boost::property<edge_properties_t,Digikam::History
EdgeProperties>>>>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::detail::sei_<unsigned
int,std::_List_iterator<std::
_List_val<boost::list_edge<unsigned
int,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,std::allocator<boost::list_edge<unsigned
int,boost::p
roperty<edge_properties_t,Digikam::HistoryEdgeProperties>>>>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>>>>,
            VertexDescriptor=unsigned int,
            EdgeDescriptor=boost::detail::edge_desc_impl<boost::bidirectional_tag,unsigned
int>,
            Difference=__w64 int
        ]
        c:\devel\2.x\core\libs\database\imagehistory\imagehistorygraph_boost.h(648)
: see reference to function template instantiation
'boost::parameter::aux::u
naryfunptr_arg_type<void(__cdecl *)(void)>::type
boost::transitive_reduction<boost::adjacency_list<OutEdgeListS,VertexListS,DirectedS,VertexProperty,EdgePropert
y>,boost::adjacency_list<OutEdgeListS,VertexListS,DirectedS,VertexProperty,EdgeProperty>,boost::iterator_property_map<RandomAccessIterator,IndexMap,T,R>,boost::
vec_adj_list_vertex_id_map<Property,Vertex>>(const Graph &,GraphTR
&,G_to_TR_VertexMap,VertexIndexMap)' being compiled
        with
        [
            OutEdgeListS=boost::vecS,
            VertexListS=boost::vecS,
            DirectedS=boost::bidirectionalS,
            VertexProperty=boost::property<boost::vertex_index_t,int,boost::property<vertex_properties_t,Digikam::HistoryVertexProperties>>,
            EdgeProperty=boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>,
            RandomAccessIterator=std::_Vector_iterator<std::_Vector_val<size_t,std::allocator<char32_t>>>,
            IndexMap=boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_index_t,int,boost::property<vertex_properties_t,Digikam::HistoryVertexPrope
rties>>,unsigned int>,
            T=unsigned int,
            R=unsigned int &,
            Property=boost::property<boost::vertex_index_t,int,boost::property<vertex_properties_t,Digikam::HistoryVertexProperties>>,
            Vertex=unsigned int,
            Graph=boost::adjacency_list<boost::vecS,boost::vecS,boost::bidirectionalS,boost::property<boost::vertex_index_t,int,boost::property<vertex_propertie
s_t,Digikam::HistoryVertexProperties>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,
            GraphTR=boost::adjacency_list<boost::vecS,boost::vecS,boost::bidirectionalS,boost::property<boost::vertex_index_t,int,boost::property<vertex_propert
ies_t,Digikam::HistoryVertexProperties>>,boost::property<edge_properties_t,Digikam::HistoryEdgeProperties>>,
            G_to_TR_VertexMap=boost::iterator_property_map<std::_Vector_iterator<std::_Vector_val<size_t,std::allocator<char32_t>>>,boost::vec_adj_list_vertex_i
d_map<boost::property<boost::vertex_index_t,int,boost::property<vertex_properties_t,Digikam::HistoryVertexProperties>>,unsigned
int>,unsigned int,unsigned int &
>,
            VertexIndexMap=boost::vec_adj_list_vertex_id_map<boost::property<boost::vertex_index_t,int,boost::property<vertex_properties_t,Digikam::HistoryVerte
xProperties>>,unsigned int>
        ]
        c:\devel\2.x\core\libs\database\imagehistory\imagehistorygraph_boost.h(639)
: while compiling class template member function
'Digikam::Graph<VertexPrope
rties,EdgeProperties>
Digikam::Graph<VertexProperties,EdgeProperties>::transitiveReduction(QList<T>
*,Digikam::Graph<VertexProperties,EdgeProperties>::GraphCopy
Flags) const'
        with
        [
            VertexProperties=Digikam::HistoryVertexProperties,
            EdgeProperties=Digikam::HistoryEdgeProperties,
            T=Digikam::Graph<Digikam::HistoryVertexProperties,Digikam::HistoryEdgeProperties>::Edge
        ]
        c:\devel\2.x\core\libs\database\imagehistory\imagehistorygraphdata.h(103)
: see reference to class template instantiation
'Digikam::Graph<VertexProperti
es,EdgeProperties>' being compiled
        with
        [
            VertexProperties=Digikam::HistoryVertexProperties,
            EdgeProperties=Digikam::HistoryEdgeProperties
        ]
NMAKE : fatal error U1077: 'c:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe' :
return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
10.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
10.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
C:\Devel\2.x\core>

Boost version installed is 1.48.0

Gilles

Gilles


More information about the Digikam-devel mailing list