From 1a82cad7c5da0485c3f68231c34014ea6e4daaaf Mon Sep 17 00:00:00 2001 From: jason Date: Sun, 7 Dec 1997 10:33:36 +0000 Subject: [PATCH] * iosfwd: New header. * Makefile.in (HEADERS): Add it. Sun Dec 7 02:32:20 1997 Gregory L. Galloway (gregg@eoeml.gtri.gatech.edu) * Makefile.in (HEADERS): Modified list of headers to install to include all of SGI STL headers especially hash_set and hash_map, and added ANSI C++ style wrappers for fstream, iomanip, iostream, and strstream. * fstream, iomanip, iostream, strstream: New forwarding headers added. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16991 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++/ChangeLog | 15 +++++++++++++++ libstdc++/Makefile.in | 12 +++++------- libstdc++/fstream | 7 +++++++ libstdc++/iomanip | 7 +++++++ libstdc++/iosfwd | 15 +++++++++++++++ libstdc++/iostream | 7 +++++++ libstdc++/strstream | 7 +++++++ 7 files changed, 63 insertions(+), 7 deletions(-) create mode 100644 libstdc++/fstream create mode 100644 libstdc++/iomanip create mode 100644 libstdc++/iosfwd create mode 100644 libstdc++/iostream create mode 100644 libstdc++/strstream diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog index baf9aaafd96..6c82906db13 100644 --- a/libstdc++/ChangeLog +++ b/libstdc++/ChangeLog @@ -1,3 +1,18 @@ +Sun Dec 7 02:32:20 1997 Jason Merrill + + * iosfwd: New header. + * Makefile.in (HEADERS): Add it. + +Sun Dec 7 02:32:20 1997 Gregory L. Galloway (gregg@eoeml.gtri.gatech.edu) + + * Makefile.in (HEADERS): Modified list of headers to + install to include all of SGI STL headers especially hash_set and + hash_map, and added ANSI C++ style wrappers for fstream, iomanip, + iostream, and strstream. + + * fstream, iomanip, iostream, strstream: New forwarding headers + added. + Thu Nov 27 01:33:55 1997 Jeffrey A Law (law@cygnus.com) * Makefile.in (install): Change gxx_includedir to gxx_include_dir. diff --git a/libstdc++/Makefile.in b/libstdc++/Makefile.in index 298917860cd..dd06b9662aa 100644 --- a/libstdc++/Makefile.in +++ b/libstdc++/Makefile.in @@ -23,8 +23,9 @@ SUBLIBS = $(STAMP)-string $(STAMP)-complx HEADERS= cassert cctype cerrno cfloat ciso646 climits clocale cmath complex \ csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime \ cwchar cwctype string stdexcept \ - algorithm deque list map queue set stack vector utility functional \ - iterator memory numeric + algorithm deque functional hash_map hash_set iterator list map \ + memory numeric pthread_alloc queue rope set slist stack utility \ + vector fstream iomanip iostream strstream iosfwd ARLIB = libstdc++.a SHLIB = libstdc++.so.$(VERSION) @@ -303,16 +304,13 @@ stuff: $(MAKE) -C ../libg++ clean -$(MAKE) $(MAKEFLAGS) check -$(MAKE) -C ../libio check - -$(MAKE) -C ../libg++ check - -$(MAKE) -C ../gcc check-g++ + -$(MAKE) -C ../../gcc check-g++ stuff1: $(MAKE) clean $(MAKE) -C ../libio c++clean - $(MAKE) -C ../libg++ clean stuff2: -$(MAKE) check -$(MAKE) -C ../libio check - -$(MAKE) -C ../libg++ check - -$(MAKE) -C ../gcc check-g++ + -$(MAKE) -C ../../gcc check-g++ diff --git a/libstdc++/fstream b/libstdc++/fstream new file mode 100644 index 00000000000..2c35ca92b03 --- /dev/null +++ b/libstdc++/fstream @@ -0,0 +1,7 @@ +// -*- C++ -*- forwarding header. +// This file is part of the GNU ANSI C++ Library. + +#ifndef __FSTREAM__ +#define __FSTREAM__ +#include +#endif diff --git a/libstdc++/iomanip b/libstdc++/iomanip new file mode 100644 index 00000000000..817948579ce --- /dev/null +++ b/libstdc++/iomanip @@ -0,0 +1,7 @@ +// -*- C++ -*- forwarding header. +// This file is part of the GNU ANSI C++ Library. + +#ifndef __IOMANIP__ +#define __IOMANIP__ +#include +#endif diff --git a/libstdc++/iosfwd b/libstdc++/iosfwd new file mode 100644 index 00000000000..8314cf7b73f --- /dev/null +++ b/libstdc++/iosfwd @@ -0,0 +1,15 @@ +// -*- C++ -*- I/O forward declaration header. +// This file is part of the GNU ANSI C++ Library. + +#ifndef __IOSFWD__ +#define __IOSFWD__ +class ios; +class streambuf; +class istream; +class ostream; +class iostream; +class filebuf; +class ifstream; +class ofstream; +class fstream; +#endif diff --git a/libstdc++/iostream b/libstdc++/iostream new file mode 100644 index 00000000000..7ecba6e8daf --- /dev/null +++ b/libstdc++/iostream @@ -0,0 +1,7 @@ +// -*- C++ -*- forwarding header. +// This file is part of the GNU ANSI C++ Library. + +#ifndef __IOSTREAM__ +#define __IOSTREAM__ +#include +#endif diff --git a/libstdc++/strstream b/libstdc++/strstream new file mode 100644 index 00000000000..ee360e0b7e4 --- /dev/null +++ b/libstdc++/strstream @@ -0,0 +1,7 @@ +// -*- C++ -*- forwarding header. +// This file is part of the GNU ANSI C++ Library. + +#ifndef __STRSTREAM__ +#define __STRSTREAM__ +#include +#endif -- 2.11.0