Re: [Boost-bugs] [Boost C++ Libraries] #8021: gcc: ptree_utils.hpp:76: warning: comparison is always false due to limited range of data type [-Wtype-limits]

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8021: gcc: ptree_utils.hpp:76: warning: comparison is always false due to limited range of data type [-Wtype-limits]
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-18 08:49:13


#8021: gcc: ptree_utils.hpp:76: warning: comparison is always false due to limited
range of data type [-Wtype-limits]
-------------------------------+---------------------------
  Reporter: anonymous | Owner: cornedbee
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: property_tree
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------------

Comment (by Gaurav Gupta <g.gupta@…>):

 I removed this warning as below:

 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
 # pragma once
 #else // for GCC compiler, treat as 'system header' to avoid compiler
 warnings in boost code
 # pragma GCC system_header
 #endif

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8021#comment:3>
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:13 UTC