Opened 15 years ago
Closed 14 years ago
#1695 closed Bugs (fixed)
add correct namespace to class to fix compilation bug
Reported by: | Owned by: | az_sw_dude | |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | date_time |
Version: | Boost 1.34.1 | Severity: | Problem |
Keywords: | Cc: |
Description
I got the following error while trying to compile deluge torrent 0.5.8.6
/usr/include/boost/date_time/date_facet.hpp:560: error: declaration of ‘void boost::date_time::date_input_facet<date_type, CharT, InItrT>::special_values_parser(boost::date_time::special_values_parser<date_type, charT>)’ /usr/include/boost/date_time/special_values_parser.hpp:34: error: changes meaning of ‘special_values_parser’ from ‘class boost::date_time::special_values_parser<date_type, charT>’
To fix this I just added
typedef boost::date_time::special_values_parser<date_type,CharT>
special_values_parser_type;
to line 432 of file boost/date_time/date_facet.hpp (I'm using boost/boost-devel rpm packages for fedora core 8 x86_64 (version 1.34.1-7)).
Attachments (1)
Change History (2)
by , 15 years ago
Attachment: | date_facet.hpp added |
---|
comment:1 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This is the fixed date_facet.hpp