diff options
author | Loren J. Rittle <ljrittle@acm.org> | 2000-05-25 10:06:30 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2000-05-25 10:06:30 +0000 |
commit | 1601a6a08bc01cdd222c85d0d845f1ef6332f640 (patch) | |
tree | 4740569ea048d8f22112d966bff7c4f6054983c2 | |
parent | 53601625c57a9d281c55125c486bc8c2de1532dc (diff) | |
download | gcc-1601a6a08bc01cdd222c85d0d845f1ef6332f640.zip gcc-1601a6a08bc01cdd222c85d0d845f1ef6332f640.tar.gz gcc-1601a6a08bc01cdd222c85d0d845f1ef6332f640.tar.bz2 |
alloc.h (__default_alloc_template): Only expose implementation-specific symbol, if it exists in the configuration.
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
-rw-r--r-- | libstdc++-v3/backward/alloc.h | 2 | ||||
-rw-r--r-- | libstdc++-v3/backward/complex.h | 47 | ||||
-rw-r--r-- | libstdc++-v3/backward/fstream.h | 50 | ||||
-rw-r--r-- | libstdc++-v3/backward/iomanip.h | 48 | ||||
-rw-r--r-- | libstdc++-v3/backward/iostream.h | 3 | ||||
-rw-r--r-- | libstdc++-v3/backward/istream.h | 37 | ||||
-rw-r--r-- | libstdc++-v3/backward/ostream.h | 37 | ||||
-rw-r--r-- | libstdc++-v3/backward/stream.h | 37 | ||||
-rw-r--r-- | libstdc++-v3/backward/strstream.h | 44 |
9 files changed, 304 insertions, 1 deletions
diff --git a/libstdc++-v3/backward/alloc.h b/libstdc++-v3/backward/alloc.h index d0e4ba3..3ec1304 100644 --- a/libstdc++-v3/backward/alloc.h +++ b/libstdc++-v3/backward/alloc.h @@ -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 index 0000000..97e0852 --- /dev/null +++ b/libstdc++-v3/backward/complex.h @@ -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 index 0000000..a346faf --- /dev/null +++ b/libstdc++-v3/backward/fstream.h @@ -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 index 0000000..206a388 --- /dev/null +++ b/libstdc++-v3/backward/iomanip.h @@ -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: diff --git a/libstdc++-v3/backward/iostream.h b/libstdc++-v3/backward/iostream.h index aab2e8f..2caee39 100644 --- a/libstdc++-v3/backward/iostream.h +++ b/libstdc++-v3/backward/iostream.h @@ -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 index 0000000..f457092 --- /dev/null +++ b/libstdc++-v3/backward/istream.h @@ -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 index 0000000..740588a --- /dev/null +++ b/libstdc++-v3/backward/ostream.h @@ -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 index 0000000..f829b0d --- /dev/null +++ b/libstdc++-v3/backward/stream.h @@ -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 index 0000000..f693fcd --- /dev/null +++ b/libstdc++-v3/backward/strstream.h @@ -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: |