Boost C++ Libraries: Ticket #1195: patch: boost/format/parsing.hpp does not compile if BOOST_NO_LOCALE_ISDIGIT is defined https://svn.boost.org/trac10/ticket/1195 <p> When compiling with gcc, we get a warning about unused fac variable in boost/format/parsing.hpp. </p> <p> The following patch fixes it: </p> <pre class="wiki"> ===== 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&lt;Ch&gt;::digit, c); # else + (void) fac; using namespace std; return isdigit(c); #endif </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1195 Trac 1.4.3 René Rivera Tue, 21 Aug 2007 15:19:42 GMT component changed; owner set https://svn.boost.org/trac10/ticket/1195#comment:1 https://svn.boost.org/trac10/ticket/1195#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Samuel Krempp</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">format</span> </li> </ul> Ticket John Maddock Tue, 20 Nov 2007 11:44:21 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/1195#comment:2 https://svn.boost.org/trac10/ticket/1195#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.35.0</span> </li> </ul> <p> This appears to have been fixed in SVN Trunk. Please reopen if it resurfaces. </p> Ticket