Boost logo

Boost-Build :

From: Rob Lievaart (Rob.Lievaart_at_[hidden])
Date: 2004-12-23 06:21:20


Hi,

The same problem occurs when trying to build the latest version
on VC7.1.

The code is in the function file_is_file, which was added in version
1.10.

So the problem exists in VC7.1 as well. This _probably_ means it exists
for older versions of VC as well.
I don't know about other windows compilers.

Cu,

Rob.

> I have updated bjam and when trying to build it with vc8 I get an
> filent.obj : error LNK2019: unresolved external symbol _S_ISREG
> referenced in function _file_is_file
> error.
>
> I managed to track this down to <sys/stat.h> and that VC8 is missing
the
> following:
>
> #if defined(_MSC_VER) && (_MSC_VER >= 1400)
> # define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
> #endif
>
> Adding the above fixes the problem. That is bjam builds successfully
and
> will run without error. Has anyone else had problems building bjam
with
> vc8 beta and do you want a patch for build.bat/build.jam to configure
it?
>
> Regards,
> Reece

 


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