Boost logo

Boost Users :

Subject: [Boost-users] C_time.hpp fails to get a vaild time
From: Lukas.Orlowski_at_[hidden]
Date: 2009-02-26 12:23:17


Dear Boost users

I'm experiencing problem with the latest Boost version 1.3.8. When ever
I try to get the current system time or do anything that needs the
system time like:

boost::xtime xt;
boost::xtime_get(&xt, boost::TIME_UTC);

The function c_time.hpp "static std::tm* gmtime(const std::time_t* t,
std::tm* result) "
Throws it's "could not convert calendar time to UTC time" exception.

This might be thread specific but since xtime.hpp uses date_time
functions I'm certain it is not.
Version 1.3.6 does work fine.

Am I missing some API changes?

Regards
Luke


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