Boost logo

Boost :

From: Tanguy Fautre (tanguy.fautre_at_[hidden])
Date: 2006-06-15 06:25:16


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" ...

Tanguy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk