Boost logo

Boost :

From: Ben Artin (macdev_at_[hidden])
Date: 2005-12-15 07:48:00


In article <dd183375ca799be9ce224951500227e9_at_[hidden]>,
 "Noel Belcourt" <kbelco_at_[hidden]> wrote:

> # include <unistd.h>
> # include <signal.h>
> # include <setjmp.h>
>
> These include files are defined in CW's standard library (MSL) and they
> hide the ones in /usr/include. The MSL doesn't seem to define the full
> (or maybe the correct) set of signal handling functions and structures.
>
> Xpressive's test_static and test_dynamic compile and run without error
> if I change the includes to
>
> # include </usr/include/unistd.h>
> # include </usr/include/signal.h>
> # include </usr/include/setjmp.h>
>
> Can anyone suggest a workaround for this?

Copy and paste the relevant bits of /usr/include headers into your own source
code and curse CW. That is what everyone I know does upon encountering some
variant of this problem.

Ben

-- 
I changed my name: <http://periodic-kingdom.org/People/NameChange.php>

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