Re: [Boost-bugs] [Boost C++ Libraries] #9893: patch for Clang -Wtautological-constant-out-of-range-compare in property_tree/detail/json_parser_write.hpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9893: patch for Clang -Wtautological-constant-out-of-range-compare in property_tree/detail/json_parser_write.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-22 11:12:01


#9893: patch for Clang -Wtautological-constant-out-of-range-compare in
property_tree/detail/json_parser_write.hpp
-----------------------------------+---------------------------
  Reporter: mstahl@… | Owner: cornedbee
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: property_tree
   Version: Boost Release Branch | Severity: Problem
Resolution: | Keywords:
-----------------------------------+---------------------------

Comment (by mstahl@…):

 so Adam found that GCC 4.7.3 with optimization enabled is too smart to be
 fooled by the cast in the first patch and still issues a warning about the
 comparison with 0xFF - the new patch should fix that.

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