19 Jun
2007
19 Jun
'07
9:24 p.m.
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