Boost logo

Boost Users :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2008-08-01 07:38:45


Lothar Werzinger wrote:
> 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

Thanks for the report and patch. I've forwarded it to Jeff Garland.

--Beman


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