|
Boost Users : |
From: Yuval Ronen (ronen_yuval_at_[hidden])
Date: 2007-05-17 17:07:11
David Abrahams wrote:
> on Wed May 16 2007, Yuval Ronen <ronen_yuval-AT-yahoo.com> wrote:
>
>> David Abrahams wrote:
>>> on Wed May 16 2007, Yuval Ronen <ronen_yuval-AT-yahoo.com> wrote:
>>>
>>>> Yuval Ronen wrote:
>>>>> Vladimir Prus wrote:
>>>>>> Yuval Ronen wrote:
>>>>>>
>>>>>>> Can I pass a command line argument of some sort to tell Boost.Build V2
>>>>>>> to disable some specific MSVC warnings?
>>>>>> bjam cxxflags=<whatever-MSVC-option-you-want>
>>>>>>
>>>>>> should work.
>>>>> It doesn't. I tried
>>>>>
>>>>> bjam --toolset=msvc-8.0 cxxflags=/wd4251
>>>>>
>>>>> but bjam spits errors about invalid arguments
>>> What are the *exact* error messages?
>> The exact command line was
>>
>> bjam --toolset=msvc-8.0 --without-python cxxflags=/wd4251 stage
>
> OK, try this:
>
> bjam --toolset=msvc-8.0 --without-python cxxflags=-wd4251 stage
>
> I think it's a problem in BBv2 that "/" is given special meaning in
> property values.
Yes, that works. Thanks a lot.
Although I have to admit that I find it weird that cxxflags doesn't pass
its value as-is to the compiler...
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