Boost logo

Boost Users :

From: Bart (bartmann_nsd_at_[hidden])
Date: 2005-01-28 16:26:21


On Fri, 28 Jan 2005 13:32:27 -0500, John Eddy wrote:

> If I create a file with nothing but the include:
>
> #include <boost/date_time/local_time/local_time.hpp>
>
> I get a compiler error (VC7 .NET 2003) having to do with line 149 of
> tz_db_base.hpp which reads:
>
> typedef time_zone_names<charT> time_zone_names;
>
> which doesn't seem to make much sense.
> from a brief inspection of the time_zone_names.hpp file, it seems that
> line 64 which reads:
>
> typedef time_zone_names_base<char> time_zone_names;
>
> may shed some light on the solution.
>
> Thanks,
> John

That was most likely a typo in the initial code.
I've already submitted a fix for this.

As it stands there are bugs in the local_time code. It tests successfully
with gcc 3.3 but has problems with other compilers.

Thanks for the report,
Bart


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