[Boost-bugs] [Boost C++ Libraries] #3611: Warning suppression fixes for Boost.Thread

Subject: [Boost-bugs] [Boost C++ Libraries] #3611: Warning suppression fixes for Boost.Thread
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-11 17:13:51


#3611: Warning suppression fixes for Boost.Thread
--------------------------+-------------------------------------------------
 Reporter: johnmaddock | Owner: anthonyw
     Type: Patches | Status: new
Milestone: Boost 1.41.0 | Component: thread
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 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.

 The warnings fixed are:

 {{{
 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
 }}}

 The remaining warnings (and quite a few of them) come from the Thread libs
 dependencies - mostly DateTime (see
 https://svn.boost.org/trac/boost/ticket/3606).

 Also note that test_thread_return_local and test_thread_move are both
 failing in Trunk (at least for me).

 Let me know if you want me to commit these,

 Thanks, John.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3611>
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:50:01 UTC