[Boost-bugs] [Boost C++ Libraries] #11502: narrow_encoding: -Wtype-limits warning is reported

Subject: [Boost-bugs] [Boost C++ Libraries] #11502: narrow_encoding: -Wtype-limits warning is reported
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-07-26 12:28:26


#11502: narrow_encoding: -Wtype-limits warning is reported
------------------------------+---------------------------
 Reporter: davido | Owner: cornedbee
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: property_tree
  Version: Boost 1.59.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------
 -Wtype-limit is reported on this assert:

     char to_internal_trivial(char c) const {
         assert(c <= 0x7f); <=== Type limit
         return c;
     }

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11502>
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:18 UTC