Boost logo

Boost Users :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2007-05-22 05:15:13


Yuval Ronen wrote:
> Rene Rivera wrote:
>> Yuval Ronen wrote:
>>> Rene Rivera wrote:
>>>> Christopher Lux wrote:
>>>>> hi, after reading through this thread [1] i tried the following to
>>>>> build boost::program options:
>>>>>
>>>>> bjam define=_SECURE_SCL=0 define=_TESTING_SOMTHING=1
>>>>> --toolset=msvc-8.0 --with-program_options variant=release
>>>> There's no such features as "define"
>>>> <http://boost.org/doc/html/bbv2/reference.html#bbv2.advanced.builtins.features>.
>>> So does
>>> http://boost.org/doc/html/bbv2/tutorial.html#bbv2.tutorial.libs
>>> contain an error (note the line "bjam app optimization=full
>>> define=USE_ASM")?
>>
>> I just checked... There is a "define", it's just not documented :-(
>
> And not working, as the OP said, and I can confirm...

I'm using e.g. <toolset>msvc-8.0:<define>_SCL_SECURE_NO_DEPRECATE within
Jamfiles without a problem, so the feature exists. Never tried to use it
from the command-line though.

/ Johan


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net