Re: [Boost-bugs] [Boost C++ Libraries] #9879: compiler_status fails to compile in C++98 mode

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9879: compiler_status fails to compile in C++98 mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-13 12:20:37


#9879: compiler_status fails to compile in C++98 mode
-----------------------------+------------------------
  Reporter: Arfrever.FTA@… | Owner:
      Type: Bugs | Status: new
 Milestone: Boost 1.56.0 | Component: None
   Version: Boost 1.55.0 | Severity: Regression
Resolution: | Keywords:
-----------------------------+------------------------

Comment (by Arfrever.FTA@…):

 Potential fix:
 {{{
 --- tools/regression/src/compiler_status.cpp
 +++ tools/regression/src/compiler_status.cpp
 @@ -128,7 +128,7 @@
          string ln(line);
          if (ln.find("Revision: ") != string::npos)
          {
 - for(auto itr = ln.begin()+10; itr != ln.end() && isdigit(*itr);
 ++itr)
 + for(string::iterator itr = ln.begin()+10; itr != ln.end() &&
 isdigit(*itr); ++itr)
              rev += *itr;
          }
        }
 }}}

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