Boost logo

Boost :

Subject: Re: [boost] Boost.Process 0.3 released
From: Etienne PIERRE (e.ti.n.pierre_at_[hidden])
Date: 2009-04-10 07:56:49


On Mon, Sep 22, 2008 at 11:35 AM, Boris <boriss_at_[hidden]> wrote:

> I've released Boost.Process 0.3. Here's the documentation and a link to
> download the zip archive:
>

Hello,

Thanks for your work on Boost.Process, I tried to use it under AIX and it
failed to compile because of the use of WCOREDUMP in posix_status.hpp. This
macro isn't a POSIX macro and isn't implemented under all Unix
implementations, so I enclosed it between #ifdef WCOREDUMP #endif as
suggested in the Linux manpage wait(2) and always return false when the
macro doesn't exist.

bool dumped_core() const
{
    BOOST_ASSERT(signaled());
#ifdef WCOREDUMP
    return WCOREDUMP(flags_);
#else
    return false;
#endif
}

Could you incorporate this change to you source for the next version please
?

Thanks,

Étienne


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