Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-08 10:25:49


----- Original Message -----
From: "bill_kempf" <williamkempf_at_[hidden]>

> I had assumed that <direct.h> was included through some other file
> that was already included. That seemed to be the case since the code
> did compile. However, adding <direct.h> removes the warning I was
> getting, so I'm not entirely sure how/why it compiles with out it.

You're forgetting how wonderfully 'C' will implicitly declare any
function you call, and will assume its return type is int unless you
supply a prototype. Dontcha just love 'C'?

-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