[Boost-bugs] [Boost C++ Libraries] #2083: gcc 4.3.1 compains about a change of meaning of dst_adjustment_offsets

Subject: [Boost-bugs] [Boost C++ Libraries] #2083: gcc 4.3.1 compains about a change of meaning of dst_adjustment_offsets
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-07-07 12:13:03


#2083: gcc 4.3.1 compains about a change of meaning of dst_adjustment_offsets
-----------------------------------------+----------------------------------
 Reporter: ruediger.berlich_at_[hidden] | Type: Bugs
   Status: new | Milestone: Boost 1.36.0
Component: None | Version: Boost Development Trunk
 Severity: Problem | Keywords: typedef redefinition
-----------------------------------------+----------------------------------
 Hi there,
 when compiling my application with the current trunk version of Boost 1.36
 under OpenSUSE 11 64 bit, gcc 4.3.1, I get the message that

 /opt/boostinclude/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’
 /opt/boostinclude/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 can be "fixed" by removing the typedef and changing the subsequent
 occurrences of dst_adjustment_offsets to the corresponding template
 version.

 The problem also shows up with Boost 1.35. No problem is visible with the
 combination of gcc 1.35 and gcc 4.2.1 in 32 bit mode.

 I'd be happy to test any amended version of date_time on my OpenSUSE 11
 box. Contact me via ruediger.berlich_at_[hidden] .

 Best,
 Ruediger

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2083>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC