OSDN Git Service

2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 27_io / basic_stringstream / 3.cc
index 036d7e5..896c35c 100644 (file)
@@ -59,7 +59,7 @@ struct gnu_char_traits
   typedef gnu_char_type        char_type;
   typedef long                 int_type;
   typedef long                 pos_type;
-  typedef unsigned long        off_type;
+  typedef long         off_type;
   typedef long                 state_type;
   
   static void 
@@ -117,7 +117,7 @@ struct gnu_char_traits
 
 void test07()
 {
-  bool test = true;
+  bool test __attribute__((unused)) = true;
   typedef std::basic_stringstream<gnu_char_type, gnu_char_traits> gnu_sstr;
 
   try