Boost logo

Boost Users :

From: michael mathews (muckjail_at_[hidden])
Date: 2007-06-19 17:24:42


Hi All,
This little program works with Visual Studio 2003
but fails with an assertion failure in VS 2005 sp1.

#include "boost/date_time/posix_time/posix_time.hpp"
int main()
{
    using namespace boost::posix_time;
    time_duration timeinterval(24,0,0,0);
    return 0;
}

The assertion is from strftime.c
line 659
((timeptr->tm_hour>=0)&&(timeptr->tm_hour<=23))

Is there a fix?
I am using boost 1.34.0

thanks in advance
michael

      ____________________________________________________________________________________
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net