Boost logo

Boost :

From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2007-02-16 08:45:34


Hi Oliver,

On Fri, 16 Feb 2007 08:45:28 +0100, Oliver.Kowalke_at_[hidden] said:
> Hello,
>
> > 1). Added #include<stdlib.h> in all above cpp files
> > 2). Added #include<signal.h> in
>
> A good C++ practice is to include <cstdlib> and <csignal> instead of
> plain C-headers.

These are already included. From the error it seems that including
<cstdlib> or <csignal> with Sun C++ will only cause the functions that
are part of standard C++ to be defined, and not the POSIX functions. The
headers <stdlib.h> or <signal.h> are required to get the POSIX functions
as well.

Cheers,
Chris


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