Boost logo

Boost Users :

From: Lothar Werzinger (lothar_at_[hidden])
Date: 2008-07-31 18:24:57


On Thursday 31 July 2008, Lothar Werzinger wrote:
> I get a compile error with GCC 4.3.1:
>
> /opt2/linux/x86_64/include/boost-1_36/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'
>
> /opt2/linux/x86_64/include/boost-1_36/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>'
> [exec] In file included
> from
> /opt2/linux/x86_64/include/boost-1_36/boost/date_time/local_time/tz_databas
>e.hpp:14, [exec]
> from
> /opt2/linux/x86_64/include/boost-1_36/boost/date_time/local_time/local_time
>.hpp:19,
>
>
> Lothar

The attached patch fixes the problem

Lothar

-- 
Lothar Werzinger Dipl.-Ing. Univ.
framework & platform architect
Tradescape Inc. - Enabling Efficient Digital Marketplaces
1754 Technology Drive, Suite 128
San Jose, CA 95110
web: http://www.tradescape.biz



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