Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-12-23 00:12:55


David Abrahams wrote:
> Toon Knapen <toon.knapen_at_[hidden]> writes:
> > No regression status pages are available yet as I don't
> > succeed in compiling the necessary libraries for the reporting
> > tools ;(
> >
> > So in my quest to compile the reporting tools I modified
> > integral_c.hpp
> > Index: integral_c.hpp
> > ===================================================================
> > RCS file: /cvsroot/boost/boost/boost/mpl/integral_c.hpp,v
> > retrieving revision 1.10
> > diff -r1.10 integral_c.hpp
> > 27c27
> > < #if defined(BOOST_STRICT_CONFIG) || !defined(__HP_aCC) ||
> __HP_aCC > 33900
> > ---
> >> #if defined(BOOST_STRICT_CONFIG) || !defined(__HP_aCC) ||
> __HP_aCC > 53800
>
> Should be:
>
> #if !BOOST_WORKAROUND(__HP_aCC, <= 53800)
>
> or, if you have __HP_aCC == 53800
>
> #if !BOOST_WORKAROUND(__HP_aCC, BOOST_TESTED_AT(53800))
>
> > 52c52
> > < || defined(__HP_aCC) && __HP_aCC <= 33900)
> > ---
> >> || defined(__HP_aCC) && __HP_aCC <= 53800)
>
> likewise, except without the '!'

Applied.

> >
> > And finally I got stuck on following codeline :
> >
> > cd /home/tk/boost/boost/tools/regression/build ; bjam
> > ...found 834 targets...
> > ...using 1 temp target...
> > ...updating 8 targets...
> > ...using
> >
> <libs!filesystem!build/libfs.a/acc/release/runtime-link-dynami
> c>exception.o...
> > aCC-C++-action
> >
> ../../../libs/filesystem/build/bin/libfs.a/acc/release/runtime
> -link-dynamic/operations_posix_windows.o
> > Error 20: "/home/tk/boost/boost/boost/mpl/if.hpp", line 56
> # '::' expected
> > before 'if_c'.
> > typedef typename if_c<
> > ^^^^
>
> Hmm, that's silly. Looks like aCC might need full qualification here.

My guess as well. One if these might work:

    typedef typename mpl::if_c<

or

    typedef typename ::boost::mpl::if_c<

Please report back on it, and I'll check in the appropriate fix.

Aleksey


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