|
Boost-Build : |
Subject: Re: [Boost-build] Boost.wave lib failing to compile when using intel 10.1
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2009-09-02 07:37:30
> I'm trying to compile Boost libraries with intel 10.1 (10.1 20080312)
> compiler.
> Things are going well except when compiling the library "wave". The
> following
> message is returned (both on 32bit or 64bit architecture):
>
> "./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"
>
> compilation aborted for libs/wave/src/instantiate_re2c_lexer.cpp (code
> 2)
>
> "icpc" -c -xc++ -O3 -w1 -inline-level=2 -pthread -
> DBOOST_ALL_NO_LIB=1
> -DNDEBUG -I"." -c -o
> "/softs/boost/current/src/build_intel32_10.1/boost/bin.v2/libs/wave/bui
> ld/intel-linux/release/link-static/runtime-link-static/threading-
> multi/instantiate_re2c_lexer.o"
> "libs/wave/src/instantiate_re2c_lexer.cpp"
> "
> Thanks in advance for any help.
I committed a 'fix' this morning (I couldn't verify it is actually a fix as
I don't have access to this platform/compiler). Could you verify whether
this commit fixes things for you?
Thanks!
Regards Hartmut
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk