Opened 13 years ago

Closed 13 years ago

#3380 closed Bugs (fixed)

cpp_re2c_lexer.hpp compilation failure w/ Intel C++ 11.1.046 on Linux x86_64

Reported by: anonymous Owned by: Hartmut Kaiser
Milestone: Boost 1.41.0 Component: wave
Version: Boost 1.40.0 Severity: Problem
Keywords: compilation wave boost::wave cpp_re2c_lexer.hpp Cc:

Description

In Boost 1.40.0 boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp fails to compile on using the Intel C++ compiler 11.1.046 on Linux:

intel-linux.compile.c++ bin.v2/libs/wave/build/intel-linux/debug/link-static/runtime-link-static/instantiate_re2c_lexer.o
./boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp(119): error #409: "boost::wave::cpplexer::re2clex::lexer<IteratorT, PositionT>::lexer(const IteratorT &, const IteratorT &, const PositionT &, boost::wave::language_support)" provides no initializer for:
            const member "boost::wave::cpplexer::re2clex::lexer<IteratorT, PositionT>::cache"
  {
  ^
          detected during:
            instantiation of "boost::wave::cpplexer::re2clex::lex_functor<IteratorT, PositionT>::lex_functor(const IteratorT &, const IteratorT &, const PositionT &, boost::wave::language_support) [with IteratorT=char *, PositionT=boost::wave::util::file_position_type]" at line 402
            instantiation of "boost::wave::cpplexer::lex_input_interface<boost::wave::cpplexer::lex_token<PositionT>> *boost::wave::cpplexer::new_lexer_gen<IteratorT, PositionT>::new_lexer(const IteratorT &, const IteratorT &, const PositionT &, boost::wave::language_support) [with IteratorT=char *, PositionT=boost::wave::util::file_position_type]" at line 52 of "libs/wave/src/instantiate_re2c_lexer.cpp"

Change History (2)

comment:1 by anonymous, 13 years ago

It seems this same error is showing up in the trunk Sandia-intel-11.1 - wave - test_re2c_lexer / intel-linux-11.1 http://www.boost.org/development/tests/trunk/output/Sandia-intel-11-1-boost-bin-v2-libs-wave-test-build-test_re2c_lexer-test-intel-linux-11-1-debug-threading-multi.html

comment:2 by Hartmut Kaiser, 13 years ago

Resolution: fixed
Status: newclosed

(In [55971]) Wave: trying to fix #3380

Note: See TracTickets for help on using tickets.