Boost C++ Libraries: Ticket #3611: Warning suppression fixes for Boost.Thread https://svn.boost.org/trac10/ticket/3611 <p> The attached patches fix/suppress the few warnings that Boost.Thread produces (in Trunk) when building with msvc and /W4 or gcc and -Wall -Wextra -pedantic. </p> <p> The warnings fixed are: </p> <pre class="wiki">test_futures.cpp d:\data\boost\trunk\boost/thread/future.hpp(142) : warning C4512: 'boost::detail::future_object_base::relocker' : assignment operator could not be generated d:\data\boost\trunk\boost/thread/future.hpp(130) : see declaration of 'boost::detail::future_object_base::relocker' test_futures.cpp(559) : warning C4100: 'pi' : unreferenced formal parameter ../../../libs/thread/src/pthread/once.cpp:20:1: warning: use of C99 long long integer constant ../../../libs/thread/src/pthread/once.cpp:49:1: warning: use of C99 long long integer constant </pre><p> The remaining warnings (and quite a few of them) come from the Thread libs dependencies - mostly <a class="missing wiki">DateTime</a> (see <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/3606"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/3606</a>). </p> <p> Also note that test_thread_return_local and test_thread_move are both failing in Trunk (at least for me). </p> <p> Let me know if you want me to commit these, </p> <p> Thanks, John. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3611 Trac 1.4.3 John Maddock Wed, 11 Nov 2009 17:14:25 GMT attachment set https://svn.boost.org/trac10/ticket/3611 https://svn.boost.org/trac10/ticket/3611 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">warnings.diff</span> </li> </ul> Ticket Anthony Williams Thu, 10 Jun 2010 08:22:54 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3611#comment:1 https://svn.boost.org/trac10/ticket/3611#comment:1 <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> Fixed on trunk. </p> Ticket