id summary reporter owner description type status milestone component version severity resolution keywords cc 4914 Compile error reverse_graph and filter_graph gast128@… Andrew Sutton "Hello all, posted thru gmane but got all kinds of 'You seem to be top-posting. Don't do that.' messages. We just upgraded to Boost 1.45 with vs2008 but we got an error in code which has been built fine in the past. Sample code: #include #include #include #include struct Filter { template bool operator()(const Edge& cr) const { return true; } }; int main() { typedef boost::adjacency_list< boost::listS, boost::listS, boost::bidirectionalS, int > Graph; typedef boost::filtered_graph FilteredGraph; Graph graph; const Filter filter; const FilteredGraph fgraph(graph, filter); boost::make_reverse_graph(fgraph); return 0; } Error: 1>c:\work sdk\boost_1_45_0\boost\graph\graph_traits.hpp(222) : error C2039: 'graph_property_type' : is not a member of 'boost::filtered_graph' 1> with 1> [ 1> Graph=Graph, 1> EdgePredicate=Filter 1> ] 1> c:\work sdk\boost_1_45_0\boost\graph\reverse_graph.hpp(83) : see reference to class template instantiation 'boost::graph_property_type' being compiled 1> with 1> [ 1> G=boost::filtered_graph 1> ] 1> c:\work\temp\graph\graph.cpp(33) : see reference to class template instantiation 'boost::reverse_graph' being compiled 1> with 1> [ 1> BidirectionalGraph=FilteredGraph, 1> GraphRef=const FilteredGraph & 1> ] 1>c:\work sdk\boost_1_45_0\boost\graph\graph_traits.hpp(240) : error C2039: 'graph_bundled' : is not a member of 'boost::filtered_graph' 1> with 1> [ 1> Graph=Graph, 1> EdgePredicate=Filter 1> ] 1> c:\work sdk\boost_1_45_0\boost\graph\reverse_graph.hpp(84) : see reference to class template instantiation 'boost::graph_bundle_type' being compiled 1> with 1> [ 1> G=boost::filtered_graph 1> ] 1>c:\work sdk\boost_1_45_0\boost\graph\graph_traits.hpp(240) : error C2146: syntax error : missing ';' before identifier 'type' 1>c:\work sdk\boost_1_45_0\boost\graph\graph_traits.hpp(240) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\work sdk\boost_1_45_0\boost\graph\graph_traits.hpp(240) : error C2208: 'boost::type' : no members defined using this type 1>c:\work sdk\boost_1_45_0\boost\graph\graph_traits.hpp(240) : fatal error C1903: unable to recover from previous error(s); stopping compilation ref: http://article.gmane.org/gmane.comp.lib.boost.user/64165" Bugs closed To Be Determined graph Boost 1.45.0 Problem fixed