Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-06-15 13:23:00


Tanguy Fautre <tanguy.fautre_at_[hidden]> 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

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