Boost logo

Boost :

From: Martin (adrianm_at_[hidden])
Date: 2004-09-10 02:32:30


I get a compile error in boost/filesystem/operations.hpp when building an
application that also uses the date_time library (using current CVS files).

The problem is that date_time includes boost/operator.hpp which defines the
template boost::equivalent. The name collides with
boost::filesystem::equivalent.

Reordering the include files (filesystem before date_time) fixes the problem
for me but since boost/operators.hpp is used in a lot of libraries it might
not always be that easy.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk