Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-07-31 09:27:05


Craig Rodrigues wrote:
> Hi,
>
> Maybe this was there before and I just never paid attention to it.
> I recently did a cvs update and compiled bjam
> on MacOS X 10.4 and saw this compiler warning:
>
> execunix.c: In function 'execcmd':
> execunix.c:153: warning: incompatible implicit declaration of built-in function '_exit'
>
>
> _exit() is defined in <unistd.h>.
> Can we unconditionally include <unistd.h> in this file? <unistd.h>
> is a fairly standard Unix header file.

As it turns out the answer to that is "no". The file is failing to build
on platforms that don't have the header. So it must be included
conditionally.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk