Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost.wave lib failing to compile when using intel 10.1
From: Josué Aristide Paul Barboza (josue.barboza_at_[hidden])
Date: 2009-09-02 07:56:25


Your 'fix' corrects the problem.
many thanks,

--
Dr. Josué Aristide Paul BARBOZA
Research Scientist
CENAERO, Virtual Manufacturing Group
PLEASE NOTICE OUR NEW OFFICE LOCATION
Bâtiment EOLE, 1er étage
Rue des Frères Wright, 29
B-6041 Gosselies
Belgium
Tel: + 32 (0)71 91.93.67
Fax: + 32 (0)71 91.93.31
www.cenaero.be
CENAERO bénéficie du soutien de la Région Wallonne et des fonds structurels
FEDER et FSE de l'Union Européenne
+-+-+- Disclaimer +-+-+-
Privileged/Confidential Information may be contained in this message. If 
you are not the addressee indicated in this message (or responsible for 
delivery of the message to such person), you may not print, retain, copy 
nor disseminate this message or any part of it to anyone and you should 
notify the sender by reply email and destroy this message. Neglecting 
this clause could be a breach of confidence. Please advise immediately 
if you or your employer does not consent to Internet email for messages 
of this kind. Opinions, conclusions and other information in this 
message that are not related to the official business of my firm shall 
be understood as neither given nor endorsed by it.
Hartmut Kaiser a écrit :
>> 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