[Boost-bugs] [Boost C++ Libraries] #1195: patch: boost/format/parsing.hpp does not compile if BOOST_NO_LOCALE_ISDIGIT is defined

Subject: [Boost-bugs] [Boost C++ Libraries] #1195: patch: boost/format/parsing.hpp does not compile if BOOST_NO_LOCALE_ISDIGIT is defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-08-21 11:56:46


#1195: patch: boost/format/parsing.hpp does not compile if BOOST_NO_LOCALE_ISDIGIT
is defined
-------------------------------+--------------------------------------------
 Reporter: andyc_at_[hidden] | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.34.1
 Severity: Problem | Keywords:
-------------------------------+--------------------------------------------
 When compiling with gcc, we get a warning about unused fac variable in
 boost/format/parsing.hpp.

 The following patch fixes it:
 {{{

 ===== boost/format/parsing.hpp 1.1 vs + =====
 --- 1.1/boost/format/parsing.hpp 2007-08-17 11:57:50 +01:00
 +++ +/boost/format/parsing.hpp 2007-08-17 13:28:25 +01:00
 @@ -47,6 +47,7 @@
  #if ! defined( BOOST_NO_LOCALE_ISDIGIT )
          return fac.is(std::ctype<Ch>::digit, c);
  # else
 + (void) fac;
          using namespace std;
          return isdigit(c);
  #endif
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1195>
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:49:56 UTC