|
Boost Users : |
From: Ewgenij Sokolovski (ewgenijkkg_at_[hidden])
Date: 2007-07-28 12:47:53
Hello. I use the Boost.Graph with the dijkstra_shortest_paths algorithm in my graph application. All works fine. But while compiling with the options -Wall -W I get a strange compiler warning:
/usr/include/boost/graph/dijkstra_shortest_paths.hpp:80: Warning: »bfs_vis$m_decreased« is used in this function uninitialised
This was the last line of the warning because it is quite long in its complete version. I translated the line above from German because I use a German version of g++, so maybe it sounds in the English version a little bit different. But the meaning remains the same:)
Does anybody know what that is supposed to mean? Is something wrong with my program or is it a bug in dijkstra_shortest_paths?
Here is the warning in the complete version:
/usr/include/boost/graph/dijkstra_shortest_paths.hpp: In function »void boost::detail::dijkstra_dispatch2(const VertexListGraph&, typename boost::graph_traits<G>::vertex_descriptor, DistanceMap, WeightMap, IndexMap, const Params&, ColorMap) [with VertexListGraph = boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, float, boost::no_property, boost::listS>, DistanceMap = float*, WeightMap = boost::adj_list_edge_property_map<boost::undirected_tag, float, float&, long unsigned int, boost::property<boost::edge_bundle_t, float, boost::no_property>, boost::edge_bundle_t>, IndexMap = boost::vec_adj_list_vertex_id_map<boost::no_property, long unsigned int>, Params = boost::bgl_named_params<boost::adj_list_edge_property_map<boost::undirected_tag, float, float&, long unsigned int, boost::property<boost::edge_bundle_t, float, boost::no_property>, boost::edge_bundle_t>, boost::edge_weight_t, boost::bgl_named_params<float*, boost::vertex_distance_t, boost::no_property> >, ColorMap = bo
ost::iterator_property_map<__gnu_cxx::__normal_iterator<boost::default_color_type*, std::vector<boost::default_color_type, std::allocator<boost::default_color_type> > >, boost::vec_adj_list_vertex_id_map<boost::no_property, long unsigned int>, boost::default_color_type, boost::default_color_type&>]«:
/usr/include/boost/graph/dijkstra_shortest_paths.hpp:80: Warning: »bfs_vis$m_decreased« is used in this function uninitialised
Greetings
Ewgenij
-- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net