[Boost-bugs] [Boost C++ Libraries] #985: can't use bjam to disable specific VC warning

Subject: [Boost-bugs] [Boost C++ Libraries] #985: can't use bjam to disable specific VC warning
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-05-23 16:47:48


#985: can't use bjam to disable specific VC warning
-------------------------------------------------+--------------------------
 Reporter: Yuval Ronen <ronen_yuval_at_[hidden]> | Type: Bugs
   Status: new | Milestone:
Component: Building Boost | Version: release 1.34.0
 Severity: Problem | Keywords:
-------------------------------------------------+--------------------------
 I'm using 'bjam --toolset=msvc-8.0 --without-python cxxflags=/wd4251
 stage' to compile Boost, and get the following error:

 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

 I then changed the '/wd4251' to '-wd4251' and then I got no errors, but
 the warning was not disabled.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/985>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:55 UTC