
In article <dd183375ca799be9ce224951500227e9@sandia.gov>, "Noel Belcourt" <kbelco@sandia.gov> 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>