]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
alloc.h (__default_alloc_template): Only expose implementation-specific symbol, if...
authorLoren J. Rittle <ljrittle@acm.org>
Thu, 25 May 2000 10:06:30 +0000 (10:06 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 25 May 2000 10:06:30 +0000 (10:06 +0000)
2000-05-24  Loren J. Rittle  <ljrittle@acm.org>

        * backward/alloc.h (__default_alloc_template): Only expose
          implementation-specific symbol, if it exists in the
          configuration.
        * backward/iostream.h (ends): Expose symbol.
        * backward/strstream.h: New file.
        * backward/stream.h: New file.
        * backward/ostream.h: New file.
        * backward/istream.h: New file.
        * backward/fstream.h: New file.
        * backward/complex.h: New file.
        * backward/iomanip.h: New file.

* mkcheck.in (LIB_PATH): Add -R bits.

* math/carg.c (carg): Replace __atan2 with atan2.

From-SVN: r34161

libstdc++-v3/backward/alloc.h
libstdc++-v3/backward/complex.h [new file with mode: 0644]
libstdc++-v3/backward/fstream.h [new file with mode: 0644]
libstdc++-v3/backward/iomanip.h [new file with mode: 0644]
libstdc++-v3/backward/iostream.h
libstdc++-v3/backward/istream.h [new file with mode: 0644]
libstdc++-v3/backward/ostream.h [new file with mode: 0644]
libstdc++-v3/backward/stream.h [new file with mode: 0644]
libstdc++-v3/backward/strstream.h [new file with mode: 0644]

index d0e4ba3766c1eb8964f057596d25663a6a946b51..3ec1304a8e7510306461acd9799e856175aa806b 100644 (file)
@@ -27,7 +27,9 @@ using __STD::__malloc_alloc_template;
 using __STD::malloc_alloc; 
 using __STD::simple_alloc; 
 using __STD::debug_alloc; 
+#ifndef __USE_MALLOC
 using __STD::__default_alloc_template; 
+#endif
 using __STD::alloc; 
 using __STD::single_client_alloc; 
 #ifdef __STL_STATIC_TEMPLATE_MEMBER_BUG
diff --git a/libstdc++-v3/backward/complex.h b/libstdc++-v3/backward/complex.h
new file mode 100644 (file)
index 0000000..97e0852
--- /dev/null
@@ -0,0 +1,47 @@
+
+// Copyright (C) 2000 Free Software Foundation, Inc.
+//
+// This file is part of the GNU ISO C++ Library.  This library is free
+// software; you can redistribute it and/or modify it under the
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING.  If not, write to the Free
+// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+// USA.
+
+// As a special exception, you may use this file as part of a free software
+// library without restriction.  Specifically, if other files instantiate
+// templates or use macros or inline functions from this file, or you compile
+// this file and link it with other files to produce an executable, this
+// file does not by itself cause the resulting executable to be covered by
+// the GNU General Public License.  This exception does not however
+// invalidate any other reasons why the executable file might be covered by
+// the GNU General Public License.
+
+#ifndef _CPP_BACKWARD_COMPLEX_H
+#define _CPP_BACKWARD_COMPLEX_H 1
+
+#include <bits/stl_config.h>
+#include <bits/std_complex.h>
+
+#ifdef __STL_USE_NAMESPACES
+using __STD::complex;
+#endif /* __STL_USE_NAMESPACES */
+
+typedef complex<float> float_complex;
+typedef complex<double> double_complex;
+typedef complex<long double> long_double_complex;
+
+#endif /* _CPP_BACKWARD_COMPLEX_H */
+
+// Local Variables:
+// mode:C++
+// End:
diff --git a/libstdc++-v3/backward/fstream.h b/libstdc++-v3/backward/fstream.h
new file mode 100644 (file)
index 0000000..a346faf
--- /dev/null
@@ -0,0 +1,50 @@
+// Copyright (C) 2000 Free Software Foundation, Inc.
+//
+// This file is part of the GNU ISO C++ Library.  This library is free
+// software; you can redistribute it and/or modify it under the
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING.  If not, write to the Free
+// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+// USA.
+
+// As a special exception, you may use this file as part of a free software
+// library without restriction.  Specifically, if other files instantiate
+// templates or use macros or inline functions from this file, or you compile
+// this file and link it with other files to produce an executable, this
+// file does not by itself cause the resulting executable to be covered by
+// the GNU General Public License.  This exception does not however
+// invalidate any other reasons why the executable file might be covered by
+// the GNU General Public License.
+
+#ifndef _CPP_BACKWARD_FSTREAM_H
+#define _CPP_BACKWARD_FSTREAM_H 1
+
+#include <bits/std_fstream.h>
+
+#ifdef __STL_USE_NAMESPACES
+using __STD::ifstream;
+using __STD::ofstream;
+using __STD::fstream;
+
+#ifdef _GLIBCPP_USE_WCHAR_T
+using __STD::wifstream;
+using __STD::wofstream;
+using __STD::wfstream;
+#endif
+
+#endif /* __STL_USE_NAMESPACES */
+
+#endif /* _CPP_BACKWARD_FSTREAM_H */
+
+// Local Variables:
+// mode:C++
+// End:
diff --git a/libstdc++-v3/backward/iomanip.h b/libstdc++-v3/backward/iomanip.h
new file mode 100644 (file)
index 0000000..206a388
--- /dev/null
@@ -0,0 +1,48 @@
+
+// Copyright (C) 2000 Free Software Foundation, Inc.
+//
+// This file is part of the GNU ISO C++ Library.  This library is free
+// software; you can redistribute it and/or modify it under the
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING.  If not, write to the Free
+// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+// USA.
+
+// As a special exception, you may use this file as part of a free software
+// library without restriction.  Specifically, if other files instantiate
+// templates or use macros or inline functions from this file, or you compile
+// this file and link it with other files to produce an executable, this
+// file does not by itself cause the resulting executable to be covered by
+// the GNU General Public License.  This exception does not however
+// invalidate any other reasons why the executable file might be covered by
+// the GNU General Public License.
+
+#ifndef _CPP_BACKWARD_IOMANIP_H
+#define _CPP_BACKWARD_IOMANIP_H 1
+
+#include <backward/iostream.h>
+#include <bits/std_iomanip.h>
+
+#ifdef __STL_USE_NAMESPACES
+using __STD::resetiosflags;
+using __STD::setiosflags;
+using __STD::setbase;
+using __STD::setfill;
+using __STD::setprecision;
+using __STD::setw;
+#endif /* __STL_USE_NAMESPACES */
+
+#endif /* _CPP_BACKWARD_IOMANIP_H */
+
+// Local Variables:
+// mode:C++
+// End:
index aab2e8f45802269ffc9edd45a7622ebb928ab080..2caee39adc4be1129aadeae84ad4a73786f55d2d 100644 (file)
@@ -1,5 +1,5 @@
 
-// Copyright (C) 1997-1999 Free Software Foundation, Inc.
+// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -50,6 +50,7 @@ using __STD::wclog;
 #endif
 
 using __STD::endl;
+using __STD::ends;
 #endif /* __STL_USE_NAMESPACES */
 
 #endif /* _CPP_BACKWARD_IOSTREAM_H */
diff --git a/libstdc++-v3/backward/istream.h b/libstdc++-v3/backward/istream.h
new file mode 100644 (file)
index 0000000..f457092
--- /dev/null
@@ -0,0 +1,37 @@
+// Copyright (C) 2000 Free Software Foundation, Inc.
+//
+// This file is part of the GNU ISO C++ Library.  This library is free
+// software; you can redistribute it and/or modify it under the
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING.  If not, write to the Free
+// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+// USA.
+
+// As a special exception, you may use this file as part of a free software
+// library without restriction.  Specifically, if other files instantiate
+// templates or use macros or inline functions from this file, or you compile
+// this file and link it with other files to produce an executable, this
+// file does not by itself cause the resulting executable to be covered by
+// the GNU General Public License.  This exception does not however
+// invalidate any other reasons why the executable file might be covered by
+// the GNU General Public License.
+
+#ifndef _CPP_BACKWARD_ISTREAM_H
+#define _CPP_BACKWARD_ISTREAM_H 1
+
+#include <backward/iostream.h>
+
+#endif /* _CPP_BACKWARD_ISTREAM_H */
+
+// Local Variables:
+// mode:C++
+// End:
diff --git a/libstdc++-v3/backward/ostream.h b/libstdc++-v3/backward/ostream.h
new file mode 100644 (file)
index 0000000..740588a
--- /dev/null
@@ -0,0 +1,37 @@
+// Copyright (C) 2000 Free Software Foundation, Inc.
+//
+// This file is part of the GNU ISO C++ Library.  This library is free
+// software; you can redistribute it and/or modify it under the
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING.  If not, write to the Free
+// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+// USA.
+
+// As a special exception, you may use this file as part of a free software
+// library without restriction.  Specifically, if other files instantiate
+// templates or use macros or inline functions from this file, or you compile
+// this file and link it with other files to produce an executable, this
+// file does not by itself cause the resulting executable to be covered by
+// the GNU General Public License.  This exception does not however
+// invalidate any other reasons why the executable file might be covered by
+// the GNU General Public License.
+
+#ifndef _CPP_BACKWARD_OSTREAM_H
+#define _CPP_BACKWARD_OSTREAM_H 1
+
+#include <backward/iostream.h>
+
+#endif /* _CPP_BACKWARD_OSTREAM_H */
+
+// Local Variables:
+// mode:C++
+// End:
diff --git a/libstdc++-v3/backward/stream.h b/libstdc++-v3/backward/stream.h
new file mode 100644 (file)
index 0000000..f829b0d
--- /dev/null
@@ -0,0 +1,37 @@
+// Copyright (C) 2000 Free Software Foundation, Inc.
+//
+// This file is part of the GNU ISO C++ Library.  This library is free
+// software; you can redistribute it and/or modify it under the
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING.  If not, write to the Free
+// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+// USA.
+
+// As a special exception, you may use this file as part of a free software
+// library without restriction.  Specifically, if other files instantiate
+// templates or use macros or inline functions from this file, or you compile
+// this file and link it with other files to produce an executable, this
+// file does not by itself cause the resulting executable to be covered by
+// the GNU General Public License.  This exception does not however
+// invalidate any other reasons why the executable file might be covered by
+// the GNU General Public License.
+
+#ifndef _CPP_BACKWARD_STREAM_H
+#define _CPP_BACKWARD_STREAM_H 1
+
+#include <backward/iostream.h>
+
+#endif /* _CPP_BACKWARD_STREAM_H */
+
+// Local Variables:
+// mode:C++
+// End:
diff --git a/libstdc++-v3/backward/strstream.h b/libstdc++-v3/backward/strstream.h
new file mode 100644 (file)
index 0000000..f693fcd
--- /dev/null
@@ -0,0 +1,44 @@
+// Copyright (C) 2000 Free Software Foundation, Inc.
+//
+// This file is part of the GNU ISO C++ Library.  This library is free
+// software; you can redistribute it and/or modify it under the
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING.  If not, write to the Free
+// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+// USA.
+
+// As a special exception, you may use this file as part of a free software
+// library without restriction.  Specifically, if other files instantiate
+// templates or use macros or inline functions from this file, or you compile
+// this file and link it with other files to produce an executable, this
+// file does not by itself cause the resulting executable to be covered by
+// the GNU General Public License.  This exception does not however
+// invalidate any other reasons why the executable file might be covered by
+// the GNU General Public License.
+
+#ifndef _CPP_BACKWARD_STRSTREAM_H
+#define _CPP_BACKWARD_STRSTREAM_H 1
+
+#include <bits/std_strstream.h>
+
+#ifdef __STL_USE_NAMESPACES
+using __STD::strstreambuf;
+using __STD::istrstream;
+using __STD::ostrstream;
+using __STD::strstream;
+#endif /* __STL_USE_NAMESPACES */
+
+#endif /* _CPP_BACKWARD_STRSTREAM_H */
+
+// Local Variables:
+// mode:C++
+// End: