Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2003-04-09 10:17:12


To run the regression tests on HPUX11i, I first need to compile
the regression-test-tools (using the fabulous script run_tests.sh).
But I can't get the filesystem library compiled, even using gcc.

The problem is that indirectly the pthread.h is included although this
file should be compiled in single-thread mode (and thus normally no
extra defines are necessary). So I'm not sure who's at fault :
should the pthread.h not be included or should the necessary defines
be provided such that the pthread library can be #include's without a
problem (although no threads are used) ?

Here's the error I get :

cc-C++-action /home/tk/cvstop/DO/libs/filesystem/build/bin/libboost_filesystem.a/gcc/debug/runtime-link-dynamic/exception.o
In file included from /usr/include/pthread.h:7,
                 from /home/tk/boost-regression/boost/boost/detail/lwm_pthreads.hpp:19,
                 from /home/tk/boost-regression/boost/boost/detail/lightweight_mutex.hpp:83,
                 from /home/tk/boost-regression/boost/boost/detail/shared_count.hpp:27,
                 from /home/tk/boost-regression/boost/boost/shared_ptr.hpp:27,
                 from /home/tk/boost-regression/boost/boost/filesystem/exception.hpp:27,
                 from ../src/exception.cpp:21:
/usr/include/sys/pthread.h:1039: `psetid_t' was not declared in this scope
/usr/include/sys/pthread.h:1039: parse error before `,' token

    g++ -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline -I"/home/tk/cvstop/DO/libs/filesystem/build" -I"/home/tk/boost-regression/boost" -I "/home/tk/boost-regression/boost" -o "/home/tk/cvstop/DO/libs/filesystem/build/bin/libboost_filesystem.a/gcc/debug/runtime-link-dynamic/exception.o" "../src/exception.cpp"


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