id summary reporter owner description type status milestone component version severity resolution keywords cc 5706 Gcc 4.6 warnings for Boost Graph ramon.casellas@… Andrew Sutton "Dear authors, Compiling our applications with newest gcc-4.6- some warnings regarding boost graph are displayed. We would appreciate if you could silence them. Please find below gcc output Ubuntu oneiric 64 bits boost 1.47/ trunk , gcc Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper Target: x86_64-linux-gnu {{{ /adnet/boost-1.47.0/include/boost/graph/detail/adj_list_edge_iterator.hpp: In member function ‘void boost::vec_adj_list_impl::copy_impl(const boost::vec_adj_list_impl&) [with Graph = boost::adjacency_list, Config = boost::detail::adj_list_gen, boost::vecS, boost::vecS, boost::directedS, boost::property, boost::property, pce::te::graph_te_attributes, boost::listS>::config, Base = boost::directed_graph_helper, boost::vecS, boost::vecS, boost::directedS, boost::property, boost::property, pce::te::graph_te_attributes, boost::listS>::config>, boost::vec_adj_list_impl = boost::vec_adj_list_impl, boost::detail::adj_list_gen, boost::vecS, boost::vecS, boost::directedS, boost::property, boost::property, pce::te::graph_te_attributes, boost::listS>::config, boost::directed_graph_helper, boost::vecS, boost::vecS, boost::directedS, boost::property, boost::property, pce::te::graph_te_attributes, boost::listS>::config> >]’: /adnet/boost-1.47.0/include/boost/graph/detail/adj_list_edge_iterator.hpp:95:84: warning: ‘*((void*)& ei_end +32)’ may be used uninitialized in this function [-Wuninitialized] /adnet/boost-1.47.0/include/boost/graph/detail/adjacency_list.hpp:2128:27: note: ‘*((void*)& ei_end +32)’ was declared here /adnet/boost-1.47.0/include/boost/graph/detail/adj_list_edge_iterator.hpp:70:9: warning: ‘*((void*)(& ei)+48).__gnu_cxx::__normal_iterator >*, std::vector >, std::allocator > > > >::_M_current’ may be used uninitialized in this function [-Wuninitialized] /adnet/boost-1.47.0/include/boost/graph/detail/adjacency_list.hpp:2128:23: note: ‘*((void*)(& ei)+48).__gnu_cxx::__normal_iterator >*, std::vector >, std::allocator > > > >::_M_current’ was declared here /adnet/boost-1.47.0/include/boost/graph/detail/adjacency_list.hpp:2117:19: warning: ‘*((void*)(& ei)+32).__gnu_cxx::__normal_iterator >*, std::vector >, std::allocator > > > >::_M_current’ may be used uninitialized in this function [-Wuninitialized] }}} Thank you in advance and best regards R. " Feature Requests reopened Boost 1.56.0 graph Boost Development Trunk Optimization uninitialized warnings