Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#15401 - [boost] 1.37.0-1 still has buggy header (solution known since 2008)
Attached to Project:
Arch Linux
Opened by Sven Nguyen Van (snv) - Monday, 06 July 2009, 13:18 GMT
Last edited by Allan McRae (Allan) - Tuesday, 14 July 2009, 05:56 GMT
Opened by Sven Nguyen Van (snv) - Monday, 06 July 2009, 13:18 GMT
Last edited by Allan McRae (Allan) - Tuesday, 14 July 2009, 05:56 GMT
|
DetailsDescription:
The header file /usr/include/boost/date_time/tz_db_base.hpp stops compilation, because of a namespace problem To fix it you only have to change line 161 from: typedef dst_adjustment_offsets<time_duration_type> dst_adjustment_offsets; to typedef boost::date_time::dst_adjustment_offsets<time_duration_type> dst_adjustment_offsets; Steps to reproduce: just install and compile on gcc4 |
This task depends upon
Closed by Allan McRae (Allan)
Tuesday, 14 July 2009, 05:56 GMT
Reason for closing: Fixed
Additional comments about closing: 1.39.0
Tuesday, 14 July 2009, 05:56 GMT
Reason for closing: Fixed
Additional comments about closing: 1.39.0
But that does not matter; 1.39 does not seem polished enough for me, and in our project we develope against 1.37 (currently)
In file included from /usr/include/boost/date_time/local_time/tz_database.hpp:14,
from /usr/include/boost/date_time/local_time/local_time.hpp:19,
from /usr/include/boost/date_time.hpp:15,
from src/main.cpp:10:
/usr/include/boost/date_time/tz_db_base.hpp:161: Fehler: Deklaration von »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/include/boost/date_time/time_zone_base.hpp:76: Fehler: verändert die Bedeutung von »dst_adjustment_offsets« von »class boost::date_time::dst_adjustment_offsets<typename time_zone_type::time_duration_type>«
make: *** [main] Fehler 1
Which would be very roughly translated as: Error at line 161: Declaration of "typedef class ..." changes the meaning of "dst_adjustment_offsets" of "class..." (formerly declared at line 76)
It actually has been known for far longer than a year, see: http://forums.fedoraforum.org/showpost.php?p=1103082&postcount=6
There even was a patch in arch's svn : http://repos.archlinux.org/viewvc.cgi/boost/repos/extra-i686/ but it does not get installed by a regular boost install.