Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2005-03-30 08:55:57


On Wed, 30 Mar 2005 15:39:40 +0200, Daniel Schlyder wrote
> Jeff Garland:
> > Ok, I've applied the patch -- although I'm uncertain that the mingw regression
> > failure details bear this out...
>
> > http://tinyurl.com/3skx4
>
> I get the following errors when compiling my project with MinGW GCC 3.4.2
> without the patch:
>
> E:/libs/boost/boost/date_time/c_time.hpp: In static member function
> `static tm * boost::date_time::c_time::localtime(const time_t *,
> tm *)':
> E:/libs/boost/boost/date_time/c_time.hpp:52: error: `localtime_r'
> undeclared ( first use this function)
> E:/libs/boost/boost/date_time/c_time.hpp: In static member function
> `static tm * boost::date_time::c_time::gmtime(const time_t *, tm *)':
> E:/libs/boost/boost/date_time/c_time.hpp:60: error: `gmtime_r'
> undeclared ( first use this function)

Right, it wasn't that I didn't believe you, I was just wondering if there is a
way the mingw might have those functions installed somehow since the
regression tests weren't failing on this issue. So if someone out there knows
of a way that mingw can have these functions we can refine the macro to enable
them. But for now they have been removed by your patch.

Jeff


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