Boost C++ Libraries: Ticket #3646: Boost.test build of libraries - warnings ttat could be silenced. https://svn.boost.org/trac10/ticket/3646 <p> A few more warnings in Boost.Test could be silenced - to get to the zero warnings nirvana state ;-) </p> <p> I am also a bit concerned about: </p> <p> wd4671 # the copy constructor is inaccessible. </p> <p> wd4673 # A throw object cannot be handled in the catch block. </p> <p> which look a bit as though they really ought to be fixed? </p> <p> (or why not documented 'why not' a bit more fully?) </p> <p> But a jamfile including this produced a clear build for me starting with 1.41.0 </p> <pre class="wiki">project boost/test : source-location ../src : requirements &lt;link&gt;shared:&lt;define&gt;BOOST_TEST_DYN_LINK=1 &lt;toolset&gt;msvc:&lt;asynch-exceptions&gt;on # /Eha synch-exceptions are needed for Boost.Test. &lt;toolset&gt;borland:&lt;cxxflags&gt;-w-8080 # Disable Warning about boost::noncopyable not being exported. &lt;link&gt;shared,&lt;toolset&gt;msvc:&lt;cxxflags&gt;-wd4275 # inline assembly instruction that may not produce accurate results on some Pentium microprocessors. &lt;toolset&gt;msvc:&lt;cxxflags&gt;-wd4671 # the copy constructor is inaccessible. &lt;toolset&gt;msvc:&lt;cxxflags&gt;-wd4673 # A throw object cannot be handled in the catch block. &lt;toolset&gt;msvc:&lt;cxxflags&gt;-wd4996 # Suppress warning 'putenv': POSIX name for this item is deprecated. &lt;toolset&gt;msvc:&lt;cxxflags&gt;-wd4701 # Potentially uninitialised variable used. &lt;toolset&gt;msvc:&lt;cxxflags&gt;-wd4701 # Unreachable code. &lt;toolset&gt;msvc:&lt;asynch-exceptions&gt;on # /Eha synch-exceptions are needed for Boost.Test. &lt;warnings&gt;all : usage-requirements &lt;define&gt;BOOST_TEST_NO_AUTO_LINK=1 # Disable Warning about boost::noncopyable not being exported. &lt;link&gt;shared,&lt;toolset&gt;msvc:&lt;cxxflags&gt;-wd4275 # inline assembly instruction that may not produce accurate results on some Pentium microprocessors. ; </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3646 Trac 1.4.3 Steven Watanabe Fri, 20 Nov 2009 03:23:40 GMT <link>https://svn.boost.org/trac10/ticket/3646#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3646#comment:1</guid> <description> <p> These should probably be disabled in the source, since Boost.Test can be used with direct #include instead of a library. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Fri, 20 Nov 2009 09:55:18 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3646#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3646#comment:2</guid> <description> <p> Isn't this a duplicate of <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/3598"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/3598</a> - which provides patches to fix the issues in source? </p> <p> John. </p> <p> PS If everyone could check the status of <a class="ext-link" href="https://svn.boost.org/trac/boost/wiki/WarningFixes"><span class="icon">​</span>https://svn.boost.org/trac/boost/wiki/WarningFixes</a> before working up fixes it would save duplicating effort ;-) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Gennadiy Rozental</dc:creator> <pubDate>Mon, 23 Nov 2009 02:08:16 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3646#comment:3 https://svn.boost.org/trac10/ticket/3646#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">duplicate</span> </li> </ul> Ticket