]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/7219 (_GLIBCPP_DEPRECATED on (ios_base::streamoff and ios_base::strea...
authorBenjamin Kosnik <bkoz@redhat.com>
Tue, 5 Nov 2002 23:48:45 +0000 (23:48 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 5 Nov 2002 23:48:45 +0000 (23:48 +0000)
2002-11-05  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/7219
* include/bits/ios_base.h (ios_base::streampos): Add.
(ios_base::streamoff): Add.
* testsuite/27_io/ios_base_type.cc: New.

From-SVN: r58841

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/ios_base.h
libstdc++-v3/testsuite/27_io/ios_base_type.cc [new file with mode: 0644]

index 0762403736c1e24f755b5f11522320537137db8b..31a2e636d5a50a44ee808f5e9aa111d97bbdc357 100644 (file)
@@ -1,3 +1,10 @@
+2002-11-05  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/7219
+       * include/bits/ios_base.h (ios_base::streampos): Add.
+       (ios_base::streamoff): Add.
+       * testsuite/27_io/ios_base_type.cc: New.
+
 2002-11-05  Paolo Carlini  <pcarlini@unitus.it>
 
        PR libstdc++/8466
index f5b026900f60636829bef8ace3332a5cbc1c29ad..a56475ccef607b232fc5fb2b53b1b25945362c8c 100644 (file)
@@ -220,6 +220,9 @@ namespace std
     typedef int io_state;
     typedef int open_mode;
     typedef int seek_dir;
+    
+    typedef std::streampos streampos;
+    typedef std::streamoff streamoff;
 #endif
 
     // Callbacks;
diff --git a/libstdc++-v3/testsuite/27_io/ios_base_type.cc b/libstdc++-v3/testsuite/27_io/ios_base_type.cc
new file mode 100644 (file)
index 0000000..e69de29