Boost logo

Boost Users :

From: Yuval Ronen (ronen_yuval_at_[hidden])
Date: 2007-05-16 14:13:50


Yuval Ronen 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
>
> and the exact output was
>
> D:/Projects/Boost/boost_1_34_0/tools/build/v2/build\property.jam:282: in
> validate1 from module property
> error: Invalid property '<cxxflags>': No value specified for feature
> 'cxxflags'.
> D:/Projects/Boost/boost_1_34_0/tools/build/v2/build\property.jam:290: in
> property.validate from module property
> D:/Projects/Boost/boost_1_34_0/tools/build/v2/build\build-request.jam:185:
> in convert-command-line-element from module build-request
> D:/Projects/Boost/boost_1_34_0/tools/build/v2/build\build-request.jam:143:
> in build-request.from-command-line from module build-request
> D:/Projects/Boost/boost_1_34_0/tools/build/v2\build-system.jam:265: in
> load from module build-system
> D:\Projects\Boost\boost_1_34_0\tools\build\v2/kernel\modules.jam:261: in
> import from module modules
> D:\Projects\Boost\boost_1_34_0\tools\build\v2/kernel/bootstrap.jam:132:
> in boost-build from module
> D:\Projects\Boost\boost_1_34_0\boost-build.jam:9: in module scope from
> module

Actually, that's not the whole output. The first lines were the usual
regex Unicode stuff:

Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).

The errors above were printed after. Don't know if it's of any help...


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