Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-09-21 12:14:25


Hi Rob,

uniform_cost_search has been deprecated, please use
dijkstra_shortest_paths instead (it has been generalized to include the
functionality of uniform_cost_search).

Cheers,
Jeremy

On Fri, 21 Sep 2001, Robert Smallshire wrote:

robert> Bug report :
robert>
robert> uniform_cost_search.hpp from the BGL does not compile with MSVC6.0sp5.
robert> I've looked at the source bug can't see an obvious problem. Here's the
robert> error message. The message is triggered simply by #including the
robert> uniform_cost_search.hpp header.
robert>
robert> C:/users/rob/dev/utils/boost/boost_1_22_0\boost/graph/uniform_cost_search.hp
robert> p(173) : error C2146: syntax error : missing
robert> ';' before identifier 'm_predecessor'
robert>
robert> C:/users/rob/dev/utils/boost/boost_1_22_0\boost/graph/uniform_cost_search.hp
robert> p(178) : see reference to class temp
robert> late instantiation
robert> 'boost::detail::ucs_bfs_visitor<UniformCostVisitor,UpdatableQueue,WeightMap,
robert> DistanceMap,BinaryFunctio
robert> n,BinaryPredicate>' being compiled
robert>
robert> C:/users/rob/dev/utils/boost/boost_1_22_0\boost/graph/uniform_cost_search.hp
robert> p(173) : error C2501: 'PredecessorMap' : mis
robert> sing storage-class or type specifiers
robert>
robert> C:/users/rob/dev/utils/boost/boost_1_22_0\boost/graph/uniform_cost_search.hp
robert> p(178) : see reference to class temp
robert> late instantiation
robert> 'boost::detail::ucs_bfs_visitor<UniformCostVisitor,UpdatableQueue,WeightMap,
robert> DistanceMap,BinaryFunctio
robert> n,BinaryPredicate>' being compiled
robert>
robert> C:/users/rob/dev/utils/boost/boost_1_22_0\boost/graph/uniform_cost_search.hp
robert> p(173) : error C2501: 'm_predecessor' : miss
robert> ing storage-class or type specifiers
robert>
robert> C:/users/rob/dev/utils/boost/boost_1_22_0\boost/graph/uniform_cost_search.hp
robert> p(178) : see reference to class temp
robert> late instantiation
robert> 'boost::detail::ucs_bfs_visitor<UniformCostVisitor,UpdatableQueue,WeightMap,
robert> DistanceMap,BinaryFunctio
robert> n,BinaryPredicate>' being compiled
robert>
robert>
robert>
robert> Info: http://www.boost.org Unsubscribe: <mailto:boost-unsubscribe_at_[hidden]>
robert>
robert> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
robert>
robert>

----------------------------------------------------------------------
 Jeremy Siek http://php.indiana.edu/~jsiek/
 Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
 C++ Booster (http://www.boost.org) office phone: (812) 855-9761
----------------------------------------------------------------------


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk