Boost logo

Boost :

From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2008-03-25 09:42:33


> > So if you downloaded RC2, please post a reply indicating what you've
> > done with it, even if no problems or issues were detected. That way I
> > can better gauge release readiness.
>
>
> I compiled the RC2 with GCC 4.1.3 on Kubuntu and GCC 3.3.6 on Debian.
> All compiled well on GCC4 except for a few warnings. With GCC3, all
> compiled well too except Boost.Wave: it fails on a assertion in debug
> mode, and on a link error for release mode and dynamic link.
>
> Debug mode error:
>
> gcc.compile.c++ bin.v2/libs/wave/build/gcc-3.3.6 /debug/threading-
> multi/instantiate_cpp_exprgrammar.o
> In file included from boost/wave/wave_config.hpp:201,
> from libs/wave/src/instantiate_cpp_exprgrammar.cpp:11:
> boost/wave/util/flex_string.hpp: In member function `void
> boost::wave::util::AllocatorStringStorage<E,
> A>::append(ForwardIterator,
> ForwardIterator)':
> boost/wave/util/flex_string.hpp:709: error: syntax error before `;'
> token
> boost/wave/util/flex_string.hpp:709: error: syntax error before `;'
> token [...]

This is caused by an assertion construct apparently not understood by some
compilers. I removed this assertion for now. Everything should compile from
now on.

>
> Release mode link error:
>
> `.L520' referenced in section `.rodata' of bin.v2
> /libs/serialization/build/gcc-3.3.6/debug/threading-
> multi/text_iarchive.o:
> defined in discarded section
> `.gnu.linkonce.t._ZNK5boost7archive17archive_exception4whatEv' of
> bin.v2 /libs/serialization/build/gcc-3.3.6/debug/threading-
> multi/text_iarchive.o
> [...]

This is now a Wave problem, but some platform specific bug.

Regards Hartmut


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk