Subject: [Boost-bugs] [Boost C++ Libraries] #7890: thread::do_try_join_until() is missing a return type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-14 16:34:04
#7890: thread::do_try_join_until() is missing a return type
----------------------------------------+-----------------------------------
Reporter: p.brockamp@⦠| Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.52.0 | Severity: Optimization
Keywords: |
----------------------------------------+-----------------------------------
Hi!
I get the following warning in V1.52.0 (GCC 4.3 with some additional
warnings enabled):
{{{
libs/thread/src/pthread/thread.cpp:379: warning: control reaches end of
non-void function
}}}
As is clear from the source-code this line will not be executed, so this
is a false warning. Anyway it is disturbing as it normally signals a more
or less severe programming error. I know other compilers will complain
about unreachable code when inserting a dummy return, but I think there is
a macro based solution available for this, isn't it?
Regards
Peter
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7890> 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:11 UTC