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-08 15:40: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 viboes):

 Replying to [comment:7 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".

 OK. I see.

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