|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-08-01 01:15:37
On Sunday 31 July 2005 18:27, Rene Rivera wrote:
> 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.
Can you name the platforms that miss that header? (Assuming we don't wont to
use autoconf ;-) )
- Volodya
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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