v3 Build failure on Windows XP/32-bit/MSVC2008

Bug #1208849 reported by Andrew McDonnell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OQGRAPH
New
Undecided
Unassigned

Bug Description

1>Compiling...
1>oqgraph_judy.cc
1>graphcore.cc
1>C:\oqgraph-varchar\storage\oqgraph\Judy\src\Judy.h(50) : fatal error C1083: Cannot open include file: 'inttype
s.h': No such file or directory
1>c:\oqgraph-varchar\storage\oqgraph\oqgraph_shim.h(30) : warning C4005: 'BOOST_NO_HASH' : macro redefinition
1> c:\boost_1_54_0\boost/config/suffix.hpp(307) : see previous definition of 'BOOST_NO_HASH'
1>c:\oqgraph-varchar\storage\oqgraph\oqgraph_shim.h(31) : warning C4005: 'BOOST_NO_SLIST' : macro redefinition
1> c:\boost_1_54_0\boost/config/suffix.hpp(303) : see previous definition of 'BOOST_NO_SLIST'
1>c:\oqgraph-varchar\storage\oqgraph\oqgraph_shim.h(94) : warning C4244: 'argument' : conversion from 'oqgraph3:
:vertex_id' to 'open_query::judy_bitset::size_type', possible loss of data
1>c:\oqgraph-varchar\storage\oqgraph\oqgraph_shim.h(103) : warning C4244: 'argument' : conversion from 'oqgraph3
::vertex_id' to 'open_query::judy_bitset::size_type', possible loss of data
1>c:\oqgraph-varchar\storage\oqgraph\oqgraph_shim.h(105) : warning C4244: 'argument' : conversion from 'oqgraph3
::vertex_id' to 'open_query::judy_bitset::size_type', possible loss of data
1>c:\oqgraph-varchar\storage\oqgraph\oqgraph_shim.h(109) : warning C4244: 'argument' : conversion from 'oqgraph3
::vertex_id' to 'open_query::judy_bitset::size_type', possible loss of data
1>c:\oqgraph-varchar\storage\oqgraph\oqgraph_shim.h(112) : warning C4244: 'argument' : conversion from 'oqgraph3
::vertex_id' to 'open_query::judy_bitset::size_type', possible loss of data
1>c:\oqgraph-varchar\storage\oqgraph\oqgraph_shim.h(112) : warning C4244: 'argument' : conversion from 'oqgraph3
::vertex_id' to 'open_query::judy_bitset::size_type', possible loss of data
2>------ Build started: Project: INFO_BIN, Configuration: RelWithDebInfo Win32 ------
2>Build log was saved at "file://c:\oqgraph-varchar\bld\INFO_BIN.dir\RelWithDebInfo\BuildLog.htm"
1>c:\oqgraph-varchar\storage\oqgraph\graphcore-graph.h(57) : warning C4244: 'argument' : conversion from 'unsign
ed __int64' to 'open_query::judy_bitset::size_type', possible loss of data
1> c:\oqgraph-varchar\storage\oqgraph\graphcore-graph.h(55) : while compiling class template member funct
ion 'boost::two_bit_color_type boost::get(const boost::two_bit_judy_map<IndexMap> &,unsigned __int64)'
2>INFO_BIN - 0 error(s), 0 warning(s)
1> with
1> [
1> IndexMap=boost::property_map<oqgraph3::graph,boost::vertex_index_t>::const_type
1> ]
1> ..\..\..\storage\oqgraph\graphcore.cc(768) : see reference to class template instantiation 'boost::two
_bit_judy_map<IndexMap>' being compiled
1> with
1> [
1> IndexMap=boost::property_map<oqgraph3::graph,boost::vertex_index_t>::const_type
1> ]
1>c:\oqgraph-varchar\storage\oqgraph\graphcore-graph.h(57) : warning C4244: 'argument' : conversion from 'unsign
ed __int64' to 'open_query::judy_bitset::size_type', possible loss of data
1>c:\oqgraph-varchar\storage\oqgraph\graphcore-graph.h(66) : warning C4244: 'argument' : conversion from 'unsign
ed __int64' to 'open_query::judy_bitset::size_type', possible loss of data
3>------ Build started: Project: INFO_SRC, Configuration: RelWithDebInfo Win32 ------
1> c:\oqgraph-varchar\storage\oqgraph\graphcore-graph.h(64) : while compiling class template member funct
ion 'void boost::put(boost::two_bit_judy_map<IndexMap> &,unsigned __int64,boost::two_bit_color_type)'
1> with
1> [
1> IndexMap=boost::property_map<oqgraph3::graph,boost::vertex_index_t>::const_type
1> ]
1>c:\oqgraph-varchar\storage\oqgraph\graphcore-graph.h(67) : warning C4244: 'argument' : conversion from 'unsign
ed __int64' to 'open_query::judy_bitset::size_type', possible loss of data
1>c:\boost_1_54_0\boost/graph/dijkstra_shortest_paths.hpp(166) : error C2664: 'boost::detail::get' : cannot conv
ert parameter 1 from 'boost::property_map<oqgraph3::graph,boost::edge_weight_t>::const_type' to 'const oqgraph3:
:vertex_index_property_map &'
1> Reason: cannot convert from 'boost::property_map<oqgraph3::graph,boost::edge_weight_t>::const_type' to
 'const oqgraph3::vertex_index_property_map'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot
 be called
1> c:\boost_1_54_0\boost/graph/breadth_first_search.hpp(82) : see reference to function template instanti
ation 'void boost::detail::dijkstra_bfs_visitor<UniformCostVisitor,UpdatableQueue,WeightMap,PredecessorMap,Dista
nceMap,BinaryFunction,BinaryPredicate>::examine_edge<oqgraph3::out_edge_iterator::value_type,const IncidenceGrap
h>(Edge,Graph &)' being compiled
1> with
1> [
1> UniformCostVisitor=boost::dijkstra_visitor<open_query::oqgraph_goal<true,boost::on_finish_vertex,b
oost::associative_property_map<boost::unordered::unordered_map<open_query::Vertex,open_query::Vertex>>>>,
1> UpdatableQueue=MutableQueue,
1> WeightMap=boost::property_map<oqgraph3::graph,boost::edge_weight_t>::const_type,
1> PredecessorMap=boost::lazy_property_map<boost::unordered::unordered_map<open_query::Vertex,open_qu
ery::Vertex>,boost::identity_initializer<open_query::Vertex>>,
1> DistanceMap=boost::lazy_property_map<boost::unordered::unordered_map<open_query::Vertex,open_query
::EdgeWeight>,boost::value_initializer<open_query::EdgeWeight>>,
1> BinaryFunction=boost::closed_plus<open_query::EdgeWeight>,
1> BinaryPredicate=std::less<open_query::EdgeWeight>,
1> IncidenceGraph=boost::Graph,
1> Edge=oqgraph3::out_edge_iterator::value_type,
1> Graph=boost::Graph
1> ]
1> c:\boost_1_54_0\boost/graph/breadth_first_search.hpp(105) : see reference to function template instant
iation 'void boost::breadth_first_visit<IncidenceGraph,Buffer,BFSVisitor,ColorMap,boost::graph_traits<oqgraph3::
graph>::vertex_descriptor*>(const IncidenceGraph &,SourceIterator,SourceIterator,Buffer &,BFSVisitor,ColorMap)'
being compiled
1> with
1> [
1> IncidenceGraph=boost::Graph,
1> Buffer=MutableQueue,
1> BFSVisitor=boost::detail::dijkstra_bfs_visitor<boost::dijkstra_visitor<open_query::oqgraph_goal<tr
ue,boost::on_finish_vertex,boost::associative_property_map<boost::unordered::unordered_map<open_query::Vertex,op
en_query::Vertex>>>>,MutableQueue,boost::property_map<oqgraph3::graph,boost::edge_weight_t>::const_type,boost::l
azy_property_map<boost::unordered::unordered_map<open_query::Vertex,open_query::Vertex>,boost::identity_initiali
zer<open_query::Vertex>>,boost::lazy_property_map<boost::unordered::unordered_map<open_query::Vertex,open_query:
:EdgeWeight>,boost::value_initializer<open_query::EdgeWeight>>,boost::closed_plus<open_query::EdgeWeight>,std::l
ess<open_query::EdgeWeight>>,
1> ColorMap=boost::two_bit_judy_map<boost::property_map<oqgraph3::graph,boost::vertex_index_t>::const
_type>,
1> SourceIterator=boost::graph_traits<oqgraph3::graph>::vertex_descriptor *
1> ]
1> c:\boost_1_54_0\boost/graph/dijkstra_shortest_paths.hpp(337) : see reference to function template inst
antiation 'void boost::breadth_first_visit<Graph,MutableQueue,boost::detail::dijkstra_bfs_visitor<UniformCostVis
itor,UpdatableQueue,WeightMap,PredecessorMap,DistanceMap,BinaryFunction,BinaryPredicate>,ColorMap>(const Inciden
ceGraph &,boost::graph_traits<oqgraph3::graph>::vertex_descriptor,Buffer &,BFSVisitor,ColorMap)' being compiled
1> with
1> [
1> Graph=boost::Graph,
1> UniformCostVisitor=boost::dijkstra_visitor<open_query::oqgraph_goal<true,boost::on_finish_vertex,b
oost::associative_property_map<boost::unordered::unordered_map<open_query::Vertex,open_query::Vertex>>>>,
3>Build log was saved at "file://c:\oqgraph-varchar\bld\INFO_SRC.dir\RelWithDebInfo\BuildLog.htm"
3>INFO_SRC - 0 error(s), 0 warning(s)
1> UpdatableQueue=MutableQueue,
1> WeightMap=boost::property_map<oqgraph3::graph,boost::edge_weight_t>::const_type,
1> PredecessorMap=boost::lazy_property_map<boost::unordered::unordered_map<open_query::Vertex,open_qu
ery::Vertex>,boost::identity_initializer<open_query::Vertex>>,
4>------ Build started: Project: Judy, Configuration: RelWithDebInfo Win32 ------
1> DistanceMap=boost::lazy_property_map<boost::unordered::unordered_map<open_query::Vertex,open_query
::EdgeWeight>,boost::value_initializer<open_query::EdgeWeight>>,
1> BinaryFunction=boost::closed_plus<open_query::EdgeWeight>,
1> BinaryPredicate=std::less<open_query::EdgeWeight>,
1> ColorMap=boost::two_bit_judy_map<boost::property_map<oqgraph3::graph,boost::vertex_index_t>::const
_type>,
4>Performing configure step for 'Judy'
1> IncidenceGraph=boost::Graph,
1> Buffer=MutableQueue,
1> BFSVisitor=boost::detail::dijkstra_bfs_visitor<boost::dijkstra_visitor<open_query::oqgraph_goal<tr
ue,boost::on_finish_vertex,boost::associative_property_map<boost::unordered::unordered_map<open_query::Vertex,op
en_query::Vertex>>>>,MutableQueue,boost::property_map<oqgraph3::graph,boost::edge_weight_t>::const_type,boost::l
azy_property_map<boost::unordered::unordered_map<open_query::Vertex,open_query::Vertex>,boost::identity_initiali
zer<open_query::Vertex>>,boost::lazy_property_map<boost::unordered::unordered_map<open_query::Vertex,open_query:
:EdgeWeight>,boost::value_initializer<open_query::EdgeWeight>>,boost::closed_plus<open_query::EdgeWeight>,std::l
ess<open_query::EdgeWeight>>
1> ]
1> ..\..\..\storage\oqgraph\graphcore.cc(768) : see reference to function template instantiation 'void bo
ost::dijkstra_shortest_paths_no_init<boost::Graph,boost::dijkstra_visitor<Visitors>,boost::lazy_property_map<Con
tainer,Generator>,boost::lazy_property_map<boost::unordered::unordered_map<K,T>,boost::value_initializer<Type>>,
boost::property_map<oqgraph3::graph,boost::edge_weight_t>::const_type,boost::property_map<oqgraph3::graph,boost:
:vertex_index_t>::const_type,std::less<_Ty>,boost::closed_plus<T>,open_query::EdgeWeight,boost::two_bit_judy_map
<IndexMap>>(const Graph &,boost::graph_traits<oqgraph3::graph>::vertex_descriptor,PredecessorMap,DistanceMap,Wei
ghtMap,IndexMap,Compare,Combine,DistZero,DijkstraVisitor,ColorMap)' being compiled
4>'sh' is not recognized as an internal or external command,
^C
C:\oqgraph-varchar\bld>

Revision history for this message
Andrew McDonnell (andymc73) wrote :

* First fatal error is probably a unixy header file issue (at a guess before having looked at the code)
* Warnings can (possibly) be ignored (for now)
* The integer conversion warning from vertex_id to judy worries me a little - how well do we scale, or are 2billion node graphs a problem for the future?
* The second fatal warning, I dont know yet

Note, I will configure a new dev env with MSVCexpress2010 and see if any of these resolve themselves, I can imagine Boost 1.54 using C++ 0x/11 extensions not supported in MSVC 2008

This is a bit of a tedious progress though, although once all my virtual machines are up it will be trivial to regression build in the future

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.