On Wed, Jul 14, 2010 at 4:57 PM, Jeremiah Willcock
<jewillco@osl.iu.edu> wrote:
On Wed, 14 Jul 2010, W.P. McNeill wrote:
On Wed, Jul 14, 2010 at 3:46 PM, Jeremiah Willcock <jewillco@osl.iu.edu> wrote:
Change r64024 looks like it introduced a regression. I now get the following build error in astar-maze that wasn't there before:
g++ -g -I/src/boost-trunk -Wall -Werror -O3 -c -o astar_maze.o astar_maze.cpp
/src/boost-trunk/boost/graph/astar_search.hpp: In function ‘void boost::astar_search(const VertexListGraph&, typename
boost::graph_traits<G>::vertex_descriptor, AStarHeuristic, const boost::bgl_named_params<P, T, R>&) [with VertexListGraph =
filtered_grid, AStarHeuristic =
euclidean_heuristic, P = astar_goal_visitor, T = boost::graph_visitor_t, R =
boost::bgl_named_params<boost::associative_property_map<maze::solve()::dist_map>, boost::vertex_distance_t,
boost::bgl_named_params<boost::associative_property_map<maze::solve()::pred_map>, boost::vertex_predecessor_t,
boost::bgl_named_params<vertex_index_pmap,
boost::vertex_index_t, boost::bgl_named_params<maze::solve()::edge_weight_pmap, boost::edge_weight_t, boost::no_property> > > >]’:
astar_maze.cpp:242: instantiated from here
/src/boost-trunk/boost/graph/astar_search.hpp:329: error: ‘override_const_property’ was not declared in this scope
make: *** [astar_maze.o] Error 1
As a wild guess I tried building with detail::override_const_property but got the same error.
That's odd. It is in detail::; r64025 should have the fix for that. Do you at least get a clearer error message with detail:: qualifying the call to
override_const_property()?
Version >= 64025 still does not build for me. It appears that you overlooked calls to override_const_property on lines 335 and 336 of astar_search.hpp. If
I insert detail:: namespace qualifiers on these two calls, my program builds and runs correctly.
Thanks for catching that -- look at r64030 now and see if it's fixed.
I verified that it's fixed in r64030.
-- Jeremiah Willcock
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users