Boost C++ Libraries: Ticket #985: Free features don't work when building boost https://svn.boost.org/trac10/ticket/985 <p> I'm using 'bjam --toolset=msvc-8.0 --without-python cxxflags=/wd4251 stage' to compile Boost, and get the following error: </p> <p> D:/Projects/Boost/boost_1_34_0/tools/build/v2/build\property.jam:282: in validate1 from module property error: Invalid property '&lt;cxxflags&gt;': 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 </p> <p> I then changed the '/wd4251' to '-wd4251' and then I got no errors, but the warning was not disabled. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/985 Trac 1.4.3 René Rivera Thu, 24 May 2007 02:47:45 GMT component changed; owner set https://svn.boost.org/trac10/ticket/985#comment:1 https://svn.boost.org/trac10/ticket/985#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">build</span> </li> </ul> Ticket Vladimir Prus Wed, 11 Jul 2007 18:39:40 GMT summary changed https://svn.boost.org/trac10/ticket/985#comment:2 https://svn.boost.org/trac10/ticket/985#comment:2 <ul> <li><strong>summary</strong> <span class="trac-field-old">can't use bjam to disable specific VC warning</span> → <span class="trac-field-new">Free features don't work when building boost</span> </li> </ul> <p> Likewise, define=XXX does not work at top level. </p> Ticket Vladimir Prus Sat, 01 Sep 2007 21:46:10 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/985#comment:3 https://svn.boost.org/trac10/ticket/985#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/39104" title="Make free features on the command line affect all targets, not just ...">[39104]</a>) Make free features on the command line affect all targets, not just directly requested ones. </p> <p> Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/985" title="#985: Bugs: Free features don't work when building boost (closed: fixed)">#985</a>. </p> Ticket alex_baskakov@… Wed, 19 Dec 2007 10:06:26 GMT <link>https://svn.boost.org/trac10/ticket/985#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/985#comment:4</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/985#comment:3" title="Comment 3">vladimir_prus</a>: </p> <blockquote class="citation"> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/39104" title="Make free features on the command line affect all targets, not just ...">[39104]</a>) Make free features on the command line affect all targets, not just directly requested ones. </p> <p> Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/985" title="#985: Bugs: Free features don't work when building boost (closed: fixed)">#985</a>. </p> </blockquote> <p> It doesn't work in 1.34.1 still. Where can I obtain this fix? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Wed, 19 Dec 2007 11:04:28 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/985#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/985#comment:5</guid> <description> <p> The change is on SVN trunk. You can use <a class="ext-link" href="http://svn.boost.org/trac/boost/changeset/39104"><span class="icon">​</span>http://svn.boost.org/trac/boost/changeset/39104</a> to download the diff and apply it locally. </p> </description> <category>Ticket</category> </item> <item> <author>alleonik@…</author> <pubDate>Thu, 09 Dec 2010 12:02:11 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/985#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/985#comment:6</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/985#comment:3" title="Comment 3">vladimir_prus</a>: </p> <blockquote class="citation"> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/39104" title="Make free features on the command line affect all targets, not just ...">[39104]</a>) Make free features on the command line affect all targets, not just directly requested ones. </p> <p> Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/985" title="#985: Bugs: Free features don't work when building boost (closed: fixed)">#985</a>. </p> </blockquote> <p> This fix is not quite correct. Refine the property-set needs to be done before checks for alredy built otherwise this check will never work (in case with free features in command line) because it checks property-set without refine (without free features from command line). </p> <p> I already wrote about it twice (<a class="ext-link" href="http://article.gmane.org/gmane.comp.lib.boost.build/23390"><span class="icon">​</span>http://article.gmane.org/gmane.comp.lib.boost.build/23390</a> and <a class="ext-link" href="http://article.gmane.org/gmane.comp.lib.boost.build/23419"><span class="icon">​</span>http://article.gmane.org/gmane.comp.lib.boost.build/23419</a>), but received no response. </p> </description> <category>Ticket</category> </item> </channel> </rss>