Boost logo

Boost-Build :

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


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

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.



> 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
> 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
> will run without error. Has anyone else had problems building bjam
> vc8 beta and do you want a patch for build.bat/build.jam to configure
> Regards,
> Reece


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at