Boost logo

Boost-Build :

From: Mat Marcus (mat-lists_at_[hidden])
Date: 2005-12-02 23:57:18


On 12/1/05, Johan Nilsson <r.johan.nilsson_at_[hidden]> wrote:
>
> 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:
> [snip]
>
> So, any chance of adding explicit vc8 toolset support to
> build.bat/build.jam?
>
> // Johan

Don't forget _SCL_SECURE_NO_DEPRECATE.
_SCL_SECURE_NO_DEPRECATE suppresses the C++ library related deprecations.
_CRT_SECURE_NO_DEPRECATE suppresses the C library related deprecations.

With both of these defined 4996 does not need to be disabled. In our
libraries we have a header that complains at compile time if the user has
not defined these two macros.

 - Mat



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