Boost logo

Boost Users :

From: Yuval Ronen (ronen_yuval_at_[hidden])
Date: 2007-05-22 11:20:22


Johan Nilsson wrote:
> 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.

Right. To be accurate, it's the bjam command line that I've checked and
doesn't work.


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