Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-12-20 18:14:48


Toon Knapen <toon.knapen_at_[hidden]> writes:

> On Thursday 19 December 2002 18:57, Toon Knapen wrote:
>> I'm also in the process of creating status-pages for HPUX 11. I hope to
>> checkin an acc-tools.jam tomorrow and upload already preliminary results
>> too.
>
> I've checked in a first version of
> boost/tools/build/acc-tools.jam that I used for the hpux aCC version 5.38
> compiler on hpux 11.22 on a bi-processor itanium machine.
>
> 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 '!'

>
> 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-dynamic>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.
But then, aCC is riddled with silly bugs.

> I tried several things, playing around with an empty config/user.hpp
> or defining the same options as defined in
> config/compiler/hp_acc.hpp. So any hints appreciated.

Try direct workarounds in the filesystem library, I guess.

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

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