Boost logo

Boost Users :

Subject: [Boost-users] date_time examples problem
From: Andrew Maclean (andrew.amaclean_at_[hidden])
Date: 2009-01-15 20:25:06


In building the examples for boost date_time I have come across the
following issue:

example/tutorial/io_tutorial.cpp:2:
/usr/local/include/boost-1_37/boost/date_time/tz_db_base.hpp:161:
error: declaration of 'typedef class
boost::date_time::dst_adjustment_offsets<typename
time_zone_type::time_duration_type>
boost::date_time::tz_db_base<time_zone_type,
rule_type>::dst_adjustment_offsets'
/usr/local/include/boost-1_37/boost/date_time/time_zone_base.hpp:76:
error: changes meaning of 'dst_adjustment_offsets' from 'class
boost::date_time::dst_adjustment_offsets<typename
time_zone_type::time_duration_type>'

This also occurs for anywhere
#include <boost/date_time/local_time/local_time.hpp>
occurs. E.g. in /example/local_time

I am using boost-1_37 and gcc 4.3.

Is there a fix for this?

Andrew

-- 
___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney  2006  NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.acfr.usyd.edu.au/
___________________________________________

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