Boost logo

Boost :

From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2007-05-30 04:35:29

Hi Everyone,

It seems like there's a problem with the following include sequence:

#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/graph_utility.hpp>
#include <boost/graph/visitors.hpp>
#include <boost/graph/breadth_first_search.hpp>
#include <boost/algorithm/string.hpp>

GCC 4.1.2 complains that boost::contains and boost::all is already
defined. The compiler complains that
boost/boost/algorithm/predicate.hpp is trying to define 'contains' and
'all' which apparently is already defined somewhere in the Boost.Graph

I would submit a patch, but I didn't know whether to touch Boost.Graph
or String Algorightms and how.

(Using latest CVS checkout May 30)


Dean Michael C. Berris
mikhailberis AT gmail DOT com
+63 928 7291459

Boost list run by bdawes at, gregod at, cpdaniel at, john at