From: Pavol Droba (droba_at_[hidden])
Date: 2007-05-30 10:57:46
I have checked it using vc8.0 (the only compiler I have at hand right
now) and I haven't found any conflicts.
Simple file search also haven't revealed anything with these names in
Can you post a pointer to conflicting names in the Boost.Graph?
If there is a conflict, I assume that either Boost.Graph of
Boost.string_algo version will have to be renamed.
I can argue only on behalf to string_algo. These two are first-order
algorithms and changing their names will break a lots of user code.
Dean Michael Berris wrote:
> 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)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk