Re: [Boost-bugs] [Boost C++ Libraries] #7045: Thread library does not automatically compile date_time

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7045: Thread library does not automatically compile date_time
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-03 20:06:27


#7045: Thread library does not automatically compile date_time
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.50.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by ZenJu <zhnmju123@…>):

>date_time warnings,
 https://svn.boost.org/trac/boost/ticket/7068

>Could you point me where is the problem?
 {{{
 return BOOST_THREAD_FUTURE<R>();
 }}}
 will never be reached in any code path. The reason why this line exists is
 to please older and less smart compilers which would otherwise issue a
 warning "Control reaches the end of a non-void function".

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7045#comment:7>
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:09 UTC