Boost logo

Boost Users :

Subject: [Boost-users] bug in date time library? local_microsec_clock::local_time() gives compilation error
From: dobrov (dobrov0_at_[hidden])
Date: 2010-11-12 17:48:45


hello

Just simple call:
boost::local_time::local_microsec_clock::local_time().

gives compilation error in boost header:

/usr/include/boost/date_time/microsec_time_clock.hpp:116:

error: no matching function for call to

'boost::local_time::local_date_time_base<boost::posix_time::ptime,
boost::date_time::time_zone_base<boost::posix_time::ptime, char>
>::local_date_time_base(boost::gregorian::date&, boost::posix_time::time_duration&)'

I use boost 1.42 and gcc 4.4.5
I have information, that the same problem occurs with boost 1.44 and Sisual Studio.

Is it a bug in library?

best regards

----------------------------------------------------------------------
Najlepsza wyszukiwarka tanich lotów!
Sprawdż >>> http://linkint.pl/f284a


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