OSDN Git Service

2003-04-23 Benjamin Kosnik <bkoz@belmont.constant.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Apr 2003 19:30:33 +0000 (19:30 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Apr 2003 19:30:33 +0000 (19:30 +0000)
* config/locale/generic/c_locale.h (__convert_from_v): Use
attribute unused.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66009 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/config/locale/generic/c_locale.h

index f0474b5..62d0bc0 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-23  Benjamin Kosnik  <bkoz@belmont.constant.com>
+
+       * config/locale/generic/c_locale.h (__convert_from_v): Use
+       attribute unused.
+
 2003-04-23  Phil Edwards  <pme@gcc.gnu.org>
 
        * docs/html/ext/howto.html ('LWG Issues'):  Add issue 60, partial
index ccc1f25..0fa425c 100644 (file)
@@ -52,7 +52,9 @@ namespace std
   // be avoided.
   template<typename _Tv>
     int
-    __convert_from_v(char* __out, const int __size, const char* __fmt,
+    __convert_from_v(char* __out, 
+                    const int __size __attribute__ ((__unused__)),
+                    const char* __fmt,
                     _Tv __v, const __c_locale&, int __prec = -1)
     {
       char* __old = setlocale(LC_ALL, NULL);