Re: [Boost-bugs] [Boost C++ Libraries] #5598: boost/property_tree/detail/json_parser_write.hpp:35: warning: comparison is always true due to limited range of data type

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5598: boost/property_tree/detail/json_parser_write.hpp:35: warning: comparison is always true due to limited range of data type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-06-07 17:28:26


#5598: boost/property_tree/detail/json_parser_write.hpp:35: warning: comparison is
always true due to limited range of data type
--------------------------------+-------------------------------------------
  Reporter: benoit@… | Owner: cornedbee
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: property_tree
   Version: Boost 1.46.1 | Severity: Problem
Resolution: | Keywords:
--------------------------------+-------------------------------------------

Comment (by cornedbee):

 Ch might be wchar_t.

 The warning can be suppressed by casting to some large integer type first,
 but I feel that the warning here is overeager and a bug.

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