[date time] gcc 4.3 compile error

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/

On Mon, 28 Jan 2008 18:51:54 +0100, Marco wrote:
Is it a gcc 4.3 bug or the compiler is pointing out an actual non-strict iso-compliant coding issue ?
http://gcc.gnu.org/gcc-4.3/porting_to.html explains this issue ... (c++ lanugage issues -> name lookup changes) best, tim -- tim@klingt.org http://tim.klingt.org There's no such entity as "most people". These are generalities. All generalities are meaningless. You've got to pin it down to a specific person doing a specific thing at a specific time and space. William S. Burroughs

On Tue, 29 Jan 2008 17:45:23 +0100, Tim Blechmann <tim@klingt.org> wrote:
On Mon, 28 Jan 2008 18:51:54 +0100, Marco wrote:
Is it a gcc 4.3 bug or the compiler is pointing out an actual non-strict iso-compliant coding issue ?
http://gcc.gnu.org/gcc-4.3/porting_to.html explains this issue ... (c++ lanugage issues -> name lookup changes)
best, tim
Oh thanks for the link, now it's all clear, moreover I looked through the regression summary and I saw that at present several tests suffering from this issue. Regards, Marco -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
participants (2)
-
Marco
-
Tim Blechmann