Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-12-23 05:46:17


Hi All,

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