
Tanguy Fautre <tanguy.fautre@spaceapplications.com> writes:
Rene Rivera wrote:
Tanguy Fautre wrote:
In the meantime, can anyone tell me how it's possible to globally define _SECURE_SCL=0 when compiling Boost 1.33.1?
bjam ... "-sBUILD=<define>_SECURE_SCL=0" ...
Thanks.
I just tried it, but it's only generating the debug build (where _SECURE_SCL has no effect anyway).
After some googling and trial-error, here is the command line I use:
bjam.exe "-sTOOLS=vc-8_0" "-sBUILD=debug <define>_CRT_SECURE_NO_DEPRECATE <runtime-link>static/dynamic release <define>_CRT_SECURE_NO_DEPRECATE <define>_SECURE_SCL=0 <runtime-link>static/dynamic" ...
Repeating <define>_CRT_SECURE_NO_DEPRECATE has no effect, FYI. -- Dave Abrahams Boost Consulting www.boost-consulting.com