Boost logo

Boost :

From: Russell Hind (rh_gmane_at_[hidden])
Date: 2005-03-27 10:18:33

I'm just trying date_time on OS X. I've included

#include <boost/date_time/posix_time/ptime.hpp>
#include <boost/date_time/posix_time/conversion.hpp>

This fails to compile with the following error. Including
posix_time.hpp rather than ptime.hpp or a gregorian header solves the

posix_time/conversion.hpp:33: error: 'to_tm' undeclared in namespace
posix_time/conversion.hpp:45: error: 'date_from_tm' undeclared in
namespace 'boost::gregorian'

Should the appropriate header be included by posix_time/conversion.hpp?



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