
I want to report the following unexpected error that I got compiling the "dates as strings" example with gcc 4.3.0 (svn 2008 01 28 ) In file included from /opt/shared/libraries/boost_1_34_1/include/boost/date_time/gregorian/gregorian_io.hpp:12, from /opt/shared/libraries/boost_1_34_1/include/boost/date_time/gregorian/conversion.hpp:23, from /opt/shared/libraries/boost_1_34_1/include/boost/date_time/gregorian/gregorian.hpp:21, from dates_as_strings.cpp:12: /opt/shared/libraries/boost_1_34_1/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>)’ /opt/shared/libraries/boost_1_34_1/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>’ In file included from /opt/shared/libraries/boost_1_34_1/include/boost/token_iterator.hpp:24, from /opt/shared/libraries/boost_1_34_1/include/boost/tokenizer.hpp:20, from /opt/shared/libraries/boost_1_34_1/include/boost/date_time/date_parsing.hpp:14, from /opt/shared/libraries/boost_1_34_1/include/boost/date_time/gregorian/parsers.hpp:13, from /opt/shared/libraries/boost_1_34_1/include/boost/date_time/gregorian/gregorian.hpp:34, from dates_as_strings.cpp:12: The error is produced with and without the -Wall option. Compiling with gcc 4.2 all goes fine. Is it a gcc 4.3 bug or the compiler is pointing out an actual non-strict iso-compliant coding issue ? I attached a text file with verbose compile output. Marco -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/