31 Mar
2008
31 Mar
'08
8:58 a.m.
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.