Opened 14 years ago
Closed 14 years ago
#2083 closed Bugs (fixed)
gcc 4.3.1 compains about a change of meaning of dst_adjustment_offsets
Reported by: | Owned by: | az_sw_dude | |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | date_time |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | typedef redefinition | Cc: | ruediger.berlich@… |
Description
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@… .
Best, Ruediger
Change History (3)
comment:1 by , 14 years ago
Component: | None → date_time |
---|---|
Owner: | set to |
comment:2 by , 14 years ago
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Duplicate of ticket 1615 (which has a patch).