Opened 15 years ago
Closed 15 years ago
#1195 closed Bugs (fixed)
patch: boost/format/parsing.hpp does not compile if BOOST_NO_LOCALE_ISDIGIT is defined
| Reported by: | Owned by: | Samuel Krempp | |
|---|---|---|---|
| Milestone: | Boost 1.35.0 | Component: | format |
| Version: | Boost 1.34.1 | Severity: | Problem |
| Keywords: | Cc: |
Description
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
Change History (2)
comment:1 by , 15 years ago
| Component: | None → format |
|---|---|
| Owner: | set to |
comment:2 by , 15 years ago
| Milestone: | To Be Determined → Boost 1.35.0 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

This appears to have been fixed in SVN Trunk. Please reopen if it resurfaces.