|
Boost Users : |
From: John Maddock (john_at_[hidden])
Date: 2008-03-31 04:58:57
Stephen Hewitt wrote:
>> I have just downloaded Boost 1.35.0 for use with MSVC9 (Microsoft
>> Visual Studio 9.0). As some of you may be aware, Microsoft has added
>> some features which are a little troublesome to work around with
>> Boost. They are controlled by the following macros (and perhaps
>> others I've missed):
>>
>> - _CRT_SECURE_NO_WARNINGS
>>
>> - _SCL_SECURE_NO_WARNINGS
>>
>> - _SECURE_SCL
Try something like:
bjam msvc define=_CRT_SECURE_NO_WARNINGS=0 define=_SCL_SECURE_NO_WARNINGS=0
define=_SECURE_SCL=0
HTH, John.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net