Boost C++ Libraries: Ticket #7890: thread::do_try_join_until() is missing a return type https://svn.boost.org/trac10/ticket/7890 <p> Hi! </p> <p> I get the following warning in V1.52.0 (GCC 4.3 with some additional warnings enabled): </p> <pre class="wiki">libs/thread/src/pthread/thread.cpp:379: warning: control reaches end of non-void function </pre><p> 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? </p> <p> Regards </p> <p> Peter </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7890 Trac 1.4.3 viboes Mon, 14 Jan 2013 17:12:08 GMT owner, status changed; milestone deleted https://svn.boost.org/trac10/ticket/7890#comment:1 https://svn.boost.org/trac10/ticket/7890#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-deleted">To Be Determined</span> </li> </ul> <p> The code has been refactored in 1.53 and fixes already this warning. </p> <p> <a class="ext-link" href="https://svn.boost.org/svn/boost/trunk/libs/thread/src/pthread/thread.cpp"><span class="icon">​</span>https://svn.boost.org/svn/boost/trunk/libs/thread/src/pthread/thread.cpp</a> </p> Ticket viboes Mon, 14 Jan 2013 17:12:39 GMT status changed; resolution, milestone set https://svn.boost.org/trac10/ticket/7890#comment:2 https://svn.boost.org/trac10/ticket/7890#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> → <span class="trac-field-new">Boost 1.53.0</span> </li> </ul> Ticket