Re: [Boost-bugs] [Boost C++ Libraries] #6628: compiler warning in process_cpu_clocks.hpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6628: compiler warning in process_cpu_clocks.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-13 18:51:53


#6628: compiler warning in process_cpu_clocks.hpp
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: viboes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: chrono
   Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by pth@…):

 As building for openSUSE fails for such warnings, I'd propose something
 like this

 --- boost/chrono/detail/inlined/posix/process_cpu_clocks.hpp.orig
 2011-11-26 01:49:13.000000000 +0100
 +++ boost/chrono/detail/inlined/posix/process_cpu_clocks.hpp 2012-03-13
 19:34:38.197168044 +0100
 @@ -213,6 +213,7 @@ process_system_cpu_clock::time_point pro
          else
          {
            BOOST_ASSERT(0 && "Boost::Chrono - Internal Error");
 + return time_point();
          }
      }
  }

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