id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 9022,regression_file_iterator* test fails with c++11,anonymous,Joel de Guzman,"====== BEGIN OUTPUT ====== lex/regression_file_iterator4.cpp(91): test 'it->id() == test_data[i]' failed in function 'int main()' lex/regression_file_iterator4.cpp(91): test 'it->id() == test_data[i]' failed in function 'int main()' lex/regression_file_iterator4.cpp(91): test 'it->id() == test_data[i]' failed in function 'int main()' lex/regression_file_iterator4.cpp(93): test 'it == end2' failed in function 'int main()' 4 errors detected. EXIT STATUS: 1 ====== END OUTPUT ====== There are warnings during the compilation: lex/regression_file_iterator4.cpp:89:52: required from here ../../../boost/iterator/iterator_adaptor.hpp:306:19: warning: returning reference to temporary [enabled by default] In file included from ../../../boost/spirit/home/lex/lexer/lexertl/functor_data.hpp:17:0, from ../../../boost/spirit/home/lex/lexer/lexertl/lexer.hpp:22, from ../../../boost/spirit/home/lex/lexer_lexertl.hpp:16, from ../../../boost/spirit/include/lex_lexertl.hpp:16, from lex/regression_file_iterator4.cpp:18: ../../../boost/spirit/home/lex/lexer/lexertl/iterator_tokenizer.hpp: In static member function 'static std::size_t boost::spirit::lex::lexertl::bas ic_iterator_tokeniser::next(const boost::lexer::basic_state_machine::value_type>&, std::size_t &, bool&, Iterator&, const Iterator&, std::size_t&) [with Iterator = boost::spirit::classic::position_iterator2 > > >; std::size_t = long unsigned int; typename boost::detail::iterator_traits::value_type = char] ': ../../../boost/spirit/home/lex/lexer/lexertl/iterator_tokenizer.hpp:70:22: warning: '' may be used uninitialized in this function [-Wuni nitialized] ../../../boost/spirit/home/lex/lexer/lexertl/iterator_tokenizer.hpp:141:17: warning: '' may be used uninitialized in this function [-Wun initialized] In file included from ../../../boost/spirit/home/support/detail/lexer/generator.hpp:9:0, from ../../../boost/spirit/home/lex/lexer/lexertl/lexer.hpp:15, from ../../../boost/spirit/home/lex/lexer_lexertl.hpp:16, from ../../../boost/spirit/include/lex_lexertl.hpp:16, from lex/regression_file_iterator4.cpp:18: ../../../boost/spirit/home/support/detail/lexer/char_traits.hpp:36:42: warning: '' may be used uninitialized in this function [-Wuniniti alized] In file included from ../../../boost/iterator_adaptors.hpp:11:0, from ../../../boost/spirit/home/support/iterators/detail/fixed_size_queue.hpp:16, from ../../../boost/spirit/home/support/iterators/detail/fixed_size_queue_policy.hpp:11, from ../../../boost/spirit/home/support/multi_pass.hpp:31, from ../../../boost/spirit/include/support_multi_pass.hpp:16, from lex/regression_file_iterator4.cpp:16: ../../../boost/iterator/iterator_adaptor.hpp:306:19: note: '' was declared here ---------------------------------------------- BTW, the test works well if disable c++11",Bugs,closed,To Be Determined,spirit,Boost 1.54.0,Problem,invalid,,