Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-07 14:41:33


----- Original Message -----
From: "bill_kempf" <williamkempf_at_[hidden]>
To: <jamboost_at_[hidden]>
Sent: Thursday, March 07, 2002 12:44 PM
Subject: [jamboost] Re: Short-circuit evaluation

> --- In jamboost_at_y..., Vladimir Prus <ghost_at_c...> wrote:
> > Rene Rivera wrote:
> > > How about the PWD builtin?
> >
> > Made a commit to that effect. If anybody could check it with MSVC,
> this would
> > be great.
>
> The pwd.c file fails to compile with MSVC, complaining that <dir.h>
> couldn't be found. A search for this header revealed it in my mingw
> set up and inspecting this header showed that (for mingw at least)
> 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 *'

In C++ that would be an error; you're passing an int as a void*.

 


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