[Boost-bugs] [Boost C++ Libraries] #5739: set-but-not-used warnings with gcc-4.6

Subject: [Boost-bugs] [Boost C++ Libraries] #5739: set-but-not-used warnings with gcc-4.6
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-27 14:18:47


#5739: set-but-not-used warnings with gcc-4.6
-------------------------------------+--------------------------------------
 Reporter: anonymous | Owner: anthonyw
     Type: Feature Requests | Status: new
Milestone: Boost 1.48.0 | Component: thread
  Version: Boost Development Trunk | Severity: Cosmetic
 Keywords: |
-------------------------------------+--------------------------------------
 Dear Anthony,

 Thanks for your work with Boost Threads. Would you please consider
 addressing the following warnings when compiling from svn trunk?

 Thanks in advace

 libs/thread/src/pthread/timeconv.inl: In function ‘void
 {anonymous}::to_time(int, boost::xtime&)’:
 libs/thread/src/pthread/timeconv.inl:22:9: warning: variable ‘res’ set but
 not used [-Wunused-but-set-variable]
 libs/thread/src/pthread/timeconv.inl: In function ‘void
 {anonymous}::to_timespec_duration(const boost::xtime&, timespec&)’:
 libs/thread/src/pthread/timeconv.inl:59:9: warning: variable ‘res’ set but
 not used [-Wunused-but-set-variable]
 libs/thread/src/pthread/timeconv.inl: In function ‘void
 {anonymous}::to_duration(boost::xtime, int&)’:
 libs/thread/src/pthread/timeconv.inl:90:9: warning: variable ‘res’ set but
 not used [-Wunused-but-set-variable]
 libs/thread/src/pthread/timeconv.inl: In function ‘void
 {anonymous}::to_microduration(boost::xtime, int&)’:
 libs/thread/src/pthread/timeconv.inl:112:9: warning: variable ‘res’ set
 but not used [-Wunused-but-set-variable]


 Ubuntu oneiric alpha, gcc 4.6.1 - 64 bits

 R.

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