id summary reporter owner description type status milestone component version severity resolution keywords cc 8192 dag_shortest_paths or make_reverse_graph problem since 1.48 JB Mouret Jeremiah Willcock "The attached code compiles (and works) with boost 1.47 (g++ 4.4.6, GNU/Linux x86) but it does not compile with boost 1.48. The problem persists with the last version (boost 1.53). g++ -I boost_1_47_0/ dag_test.cpp -> ok g++ -I boost_1_48_0/ dag_test.cpp -> In file included from boost_1_48_0/boost/graph/topological_sort.hpp:15, from boost_1_48_0/boost/graph/dag_shortest_paths.hpp:13, from dag_test.cpp:10: boost_1_48_0/boost/property_map/property_map.hpp: In function 'Reference boost::get(const boost::put_get_helper&, const K&) [with PropertyMap = boost::adj_list_edge_property_map, boost::edge_weight_t>, Reference = int&, K = boost::detail::reverse_graph_edge_descriptor >]': boost_1_48_0/boost/graph/relax.hpp:53: instantiated from 'bool boost::relax(typename boost::graph_traits::edge_descriptor, const Graph&, const WeightMap&, PredecessorMap&, DistanceMap&, const BinaryFunction&, const BinaryPredicate&) [with Graph = boost::reverse_graph, boost::property, boost::no_property, boost::listS>, main()::graph_t&>, WeightMap = boost::adj_list_edge_property_map, boost::edge_weight_t>, PredecessorMap = long unsigned int*, DistanceMap = boost::vec_adj_list_vertex_property_map, boost::property, boost::no_property, boost::listS>, boost::adjacency_list, boost::property, boost::no_property, boost::listS>*, int, int&, boost::vertex_distance_t>, BinaryFunction = boost::closed_plus, BinaryPredicate = std::less]' boost_1_48_0/boost/graph/dag_shortest_paths.hpp:64: instantiated from 'void boost::dag_shortest_paths(const VertexListGraph&, typename boost::graph_traits::vertex_descriptor, DistanceMap, WeightMap, ColorMap, PredecessorMap, DijkstraVisitor, Compare, Combine, DistInf, DistZero) [with VertexListGraph = boost::reverse_graph, boost::property, boost::no_property, boost::listS>, main()::graph_t&>, DijkstraVisitor = boost::dijkstra_visitor, DistanceMap = boost::vec_adj_list_vertex_property_map, boost::property, boost::no_property, boost::listS>, boost::adjacency_list, boost::property, boost::no_property, boost::listS>*, int, int&, boost::vertex_distance_t>, WeightMap = boost::adj_list_edge_property_map, boost::edge_weight_t>, ColorMap = boost::default_color_type*, PredecessorMap = long unsigned int*, Compare = std::less, Combine = boost::closed_plus, DistInf = int, DistZero = int]' dag_test.cpp:58: instantiated from here boost_1_48_0/boost/property_map/property_map.hpp:354: error: no match for 'operator[]' in '(const boost::adj_list_edge_property_map, boost::edge_weight_t>&)((const boost::adj_list_edge_property_map, boost::edge_weight_t>*)(& pa))[k]' boost_1_48_0/boost/graph/detail/adjacency_list.hpp:2636: note: candidates are: Ref boost::adj_list_edge_property_map::operator[](boost::detail::edge_desc_impl) const [with Directed = boost::bidirectional_tag, Value = int, Ref = int&, Vertex = long unsigned int, Property = boost::property, Tag = boost::edge_weight_t]" Bugs closed To Be Determined graph Boost 1.48.0 Regression fixed