John Maddox wrote:
>> Try something like:
>> bjam msvc define=_CRT_SECURE_NO_WARNINGS=0 define=_SCL_SECURE_NO_WARNINGS=0
>> define=_SECURE_SCL=0
>> HTH, John.

 

Thanks john. I ended up using the following:

 bjam --toolset=msvc-9.0 --build-type=complete define=_CRT_SECURE_NO_WARNINGS define=_SCL_SECURE_NO_WARNINGS define=_SECURE_SCL=0 stage | tee BuildLog.txt

 

Without "--build-type=complete" only the release multi-threaded libraries were build. This wasn't the case with 1.3.3.1, and there seems to reference to this in the docs.

 

I would like the following in debug builds:

 define=_SECURE_SCL=1

And this in release builds:

 define=_SECURE_SCL=0

 

I'm not having much luck. Again, any insights would be greatly appreciated.

 

Steve