
Hello everybody! I'm using adjacency_list_io to import my graphs from the disk: typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS > graph_t; graph_t wwwg; //string dataFile("www.bdat"); string dataFile("www_undirected.bdat"); cout << "importing www network from file \"" << dataFile << "\" ... "; ifstream wwwDatIn(dataFile.c_str()); wwwDatIn >> read( wwwg ); wwwDatIn.close(); This works nicely with g++ 3.3, but g++ 4.0 refuse to compile this code and chokes with an error message like /home/sebi/projects/diplom/src/boost_1_33_1/boost/graph/adjacency_list_io.hpp: In member function 'boost::GraphParser<Graph_t, VertexProperty, EdgeProperty, VertexPropertySubset, EdgePropertySubset>& boost::GraphParser<Graph_t, VertexProperty, EdgeProperty, VertexPropertySubset, EdgePropertySubset>::operator()(std::istream&) [with Graph_t = boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::no_property, boost::no_property, boost::listS>, VertexProperty = boost::no_property, EdgeProperty = boost::no_property, VertexPropertySubset = boost::no_property, EdgePropertySubset = boost::no_property]': /home/sebi/projects/diplom/src/boost_1_33_1/boost/graph/adjacency_list_io.hpp:327: instantiated from 'std::istream& boost::operator>>(std::istream&, boost::GraphParser<Graph, VP, EP, VPS, EPS>) [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::no_property, boost::no_property, boost::no_property, boost::listS>, VP = boost::no_property, EP = boost::no_property, VPS = boost::no_property, EPS = boost::no_property]' I have no clue where this comes from, but it seems to be some incompatibility between g++ 4.0 and adjacency_list_io. Would be nice if someone could enlighten me or fix it. Thanks! Sebastian My system: Ubuntu 5.10, Boost 1.33.1, anything else needed?