|
Boost-Build : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-07 18:08:02
----- Original Message -----
From: "bill_kempf" <williamkempf_at_[hidden]>
> > > it's an obsolete header that does nothing but include <io.h>. So
> I
> > > made a local change to pwd.c to include <io.h> instead, and
> > > everything compiles, though I receive the following warning:
> > >
> > > pwd.c(18) : warning C4047: '==' : 'int ' differs in levels of
> > > indirection from '
> > > void *'
>
> Actually, you don't even need to include <io.h>, so I'm not sure why
> the include for <dir.h> was even there.
Actually, there is no <dir.h> in my MSVC installation: the correct
header for getcwd() on Windows would be <direct.h> according to my MSDN.
I don't understand the relationship (if any) to io.h.
When I change <dir.h> to <direct.h>, everything compiles with zero
errors.
I can't reproduce the warning you were seeing.
-Dave
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