Boost logo

Boost-Build :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2005-12-01 05:05:37


Hi,

I get a large number of warnings when compiling bjam with VC8 (using vc7
toolset), please see attached file for full output. I'm using the latest cvs
source.

Most of these are annoying 'deprecation' warnings, which can be disabled by
defining _CRT_SECURE_NO_DEPRECATE. There are also some other 4996 warnings,
example:

---
filent.c(356) : warning C4996: 'close' was declared deprecated
  D:\VS.NET_2005\VC\INCLUDE\io.h(318) : see declaration of 'close'
  Message: 'The POSIX name for this item is deprecated. Instead, use the ISO 
C++
  conformant name: _close. See online help for details.'
---
Perhaps explicitly disabling 4996 warnings altogether would be an option for 
vc8.
There are also some command-line warnings:
---
cl : Command line warning D9035 : option 'GZ' has been deprecated and will 
be removed in a future release
cl : Command line warning D9036 : use 'RTC1' instead of 'GZ'
cl : Command line warning D9002 : ignoring unknown option '/MLd'
cl : Command line warning D9002 : ignoring unknown option '/ML'
cl : Command line warning D9002 : ignoring unknown option '/GB'
---
So, any chance of adding explicit vc8 toolset support to 
build.bat/build.jam?
// Johan

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