Re: [Boost-bugs] [Boost C++ Libraries] #4649: token_functions.hpp (220) : fix for warning C4127 conditional expression is constant

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4649: token_functions.hpp (220) : fix for warning C4127 conditional expression is constant
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-17 21:25:07


#4649: token_functions.hpp (220) : fix for warning C4127 conditional expression
is constant
------------------------------------------------------------+---------------
  Reporter: Andrew Macgregor <aamacgregor@…> | Owner: jsiek
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: tokenizer
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords: isspace
------------------------------------------------------------+---------------

Comment (by marshall):

 I attempted to apply your patch; it did not apply cleanly.
 I merged it in by hand, and found that clang TOT complained about an extra
 'typename'.

 With that taken out, it compiles and passes the tests using gcc 4.2.1 and
 clang TOT.

 Adjusted patch attached.

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