From 8358c2c297f9f1b8147da6805f8db757f66c95b3 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Thu, 21 Dec 2000 23:15:18 +0000 Subject: [PATCH] configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS. 2000-12-21 Benjamin Kosnik * configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS. * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c. * aclocal.m4: Regenerate. * configure: Regenerate. * include/c: Move to ... * include/c_std: ...here. * include/c_std: Move to ... * include/c_shadow: ...here. * include/c: Repopulate, with simple headers. * docs/html/configopts.html: Adjust docs. From-SVN: r38434 --- libstdc++-v3/include/c_std/assert.h | 55 -------- libstdc++-v3/include/c_std/bits/wrap_fcntl.h | 92 ------------ .../include/c_std/bits/wrap_features.h | 51 ------- libstdc++-v3/include/c_std/bits/wrap_iconv.h | 51 ------- .../include/c_std/bits/wrap_iolibio.h | 50 ------- .../include/c_std/bits/wrap_langinfo.h | 49 ------- libstdc++-v3/include/c_std/bits/wrap_libio.h | 50 ------- libstdc++-v3/include/c_std/bits/wrap_libioP.h | 50 ------- .../include/c_std/bits/wrap_pthread.h | 81 ----------- libstdc++-v3/include/c_std/bits/wrap_unistd.h | 47 ------- libstdc++-v3/include/c_std/ctype.h | 67 --------- libstdc++-v3/include/c_std/errno.h | 56 -------- libstdc++-v3/include/c_std/fcntl.h | 63 --------- libstdc++-v3/include/c_std/features.h | 58 -------- libstdc++-v3/include/c_std/float.h | 54 -------- libstdc++-v3/include/c_std/iconv.h | 66 --------- libstdc++-v3/include/c_std/iolibio.h | 58 -------- libstdc++-v3/include/c_std/langinfo.h | 55 -------- libstdc++-v3/include/c_std/libio.h | 81 ----------- libstdc++-v3/include/c_std/libioP.h | 64 --------- libstdc++-v3/include/c_std/limits.h | 54 -------- libstdc++-v3/include/c_std/locale.h | 57 -------- libstdc++-v3/include/c_std/math.h | 131 ------------------ libstdc++-v3/include/c_std/pthread.h | 86 ------------ libstdc++-v3/include/c_std/setjmp.h | 56 -------- libstdc++-v3/include/c_std/signal.h | 58 -------- libstdc++-v3/include/c_std/stdarg.h | 55 -------- libstdc++-v3/include/c_std/stddef.h | 60 -------- libstdc++-v3/include/c_std/stdio.h | 97 ------------- libstdc++-v3/include/c_std/stdlib.h | 101 -------------- libstdc++-v3/include/c_std/string.h | 76 ---------- libstdc++-v3/include/c_std/sys/cdefs.h | 49 ------- libstdc++-v3/include/c_std/time.h | 67 --------- libstdc++-v3/include/c_std/unistd.h | 101 -------------- libstdc++-v3/include/c_std/wchar.h | 131 ------------------ libstdc++-v3/include/c_std/wctype.h | 74 ---------- 36 files changed, 2451 deletions(-) delete mode 100644 libstdc++-v3/include/c_std/assert.h delete mode 100644 libstdc++-v3/include/c_std/bits/wrap_fcntl.h delete mode 100644 libstdc++-v3/include/c_std/bits/wrap_features.h delete mode 100644 libstdc++-v3/include/c_std/bits/wrap_iconv.h delete mode 100644 libstdc++-v3/include/c_std/bits/wrap_iolibio.h delete mode 100644 libstdc++-v3/include/c_std/bits/wrap_langinfo.h delete mode 100644 libstdc++-v3/include/c_std/bits/wrap_libio.h delete mode 100644 libstdc++-v3/include/c_std/bits/wrap_libioP.h delete mode 100644 libstdc++-v3/include/c_std/bits/wrap_pthread.h delete mode 100644 libstdc++-v3/include/c_std/bits/wrap_unistd.h delete mode 100644 libstdc++-v3/include/c_std/ctype.h delete mode 100644 libstdc++-v3/include/c_std/errno.h delete mode 100644 libstdc++-v3/include/c_std/fcntl.h delete mode 100644 libstdc++-v3/include/c_std/features.h delete mode 100644 libstdc++-v3/include/c_std/float.h delete mode 100644 libstdc++-v3/include/c_std/iconv.h delete mode 100644 libstdc++-v3/include/c_std/iolibio.h delete mode 100644 libstdc++-v3/include/c_std/langinfo.h delete mode 100644 libstdc++-v3/include/c_std/libio.h delete mode 100644 libstdc++-v3/include/c_std/libioP.h delete mode 100644 libstdc++-v3/include/c_std/limits.h delete mode 100644 libstdc++-v3/include/c_std/locale.h delete mode 100644 libstdc++-v3/include/c_std/math.h delete mode 100644 libstdc++-v3/include/c_std/pthread.h delete mode 100644 libstdc++-v3/include/c_std/setjmp.h delete mode 100644 libstdc++-v3/include/c_std/signal.h delete mode 100644 libstdc++-v3/include/c_std/stdarg.h delete mode 100644 libstdc++-v3/include/c_std/stddef.h delete mode 100644 libstdc++-v3/include/c_std/stdio.h delete mode 100644 libstdc++-v3/include/c_std/stdlib.h delete mode 100644 libstdc++-v3/include/c_std/string.h delete mode 100644 libstdc++-v3/include/c_std/sys/cdefs.h delete mode 100644 libstdc++-v3/include/c_std/time.h delete mode 100644 libstdc++-v3/include/c_std/unistd.h delete mode 100644 libstdc++-v3/include/c_std/wchar.h delete mode 100644 libstdc++-v3/include/c_std/wctype.h diff --git a/libstdc++-v3/include/c_std/assert.h b/libstdc++-v3/include/c_std/assert.h deleted file mode 100644 index 57e28db743c..00000000000 --- a/libstdc++-v3/include/c_std/assert.h +++ /dev/null @@ -1,55 +0,0 @@ -// -*- C++ -*- header wrapper. - -// Copyright (C) 1997-1999 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 _INCLUDED_CPP_ASSERT_H_ -# define _INCLUDED_CPP_ASSERT_H_ 1 - -#ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _ASSERT_NEED_C_LEGACY_ -#endif - -#include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - -#ifdef _ASSERT_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _ASSERT_NEED_C_LEGACY_ -#endif /* _ASSERT_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_ASSERT_H_ */ - diff --git a/libstdc++-v3/include/c_std/bits/wrap_fcntl.h b/libstdc++-v3/include/c_std/bits/wrap_fcntl.h deleted file mode 100644 index 0bed4bf1d4a..00000000000 --- a/libstdc++-v3/include/c_std/bits/wrap_fcntl.h +++ /dev/null @@ -1,92 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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. - -// -// ISO C++ 14882: 26.5 C library extensions -// - -#ifndef _CPP_FCNTL -#define _CPP_FCNTL 1 - -# include - -namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# pragma GCC system_header - // XXX -# undef SEEK_SET -# undef SEEK_CUR -# undef SEEK_END - -# include_next - } -} // namespace _C_legacy - -# undef SEEK_SET -# undef SEEK_CUR -# undef SEEK_END - -// NB: Don't bring elements from this non-standard header into namespace std. - -# undef _IN_C_LEGACY_ - -#endif - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/libstdc++-v3/include/c_std/bits/wrap_features.h b/libstdc++-v3/include/c_std/bits/wrap_features.h deleted file mode 100644 index 52402bf66bb..00000000000 --- a/libstdc++-v3/include/c_std/bits/wrap_features.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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. - -// -// ISO C++ 14882: 20.5 Extensions -// - -#ifndef _CPP_WRAP_FEATURES_H -#define _CPP_WRAP_FEATURES_H 1 - -#include - -namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# pragma GCC system_header -# include_next - } -} // namespace _C_legacy - -// NB: Don't bring elements from this non-standard header into namespace std. - -# undef _IN_C_LEGACY_ - -#endif diff --git a/libstdc++-v3/include/c_std/bits/wrap_iconv.h b/libstdc++-v3/include/c_std/bits/wrap_iconv.h deleted file mode 100644 index 3e72e2d46ee..00000000000 --- a/libstdc++-v3/include/c_std/bits/wrap_iconv.h +++ /dev/null @@ -1,51 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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. - -// -// ISO C++ 14882: 20.5 Extensions -// - -#ifndef _CPP_WRAP_ICONV_H -#define _CPP_WRAP_ICONV_H 1 - -namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# pragma GCC system_header -# include_next - } -} // namespace _C_legacy - -// NB: Don't bring elements from this non-standard header into namespace std. - -# undef _IN_C_LEGACY_ - -#endif - - diff --git a/libstdc++-v3/include/c_std/bits/wrap_iolibio.h b/libstdc++-v3/include/c_std/bits/wrap_iolibio.h deleted file mode 100644 index ddbabd7a424..00000000000 --- a/libstdc++-v3/include/c_std/bits/wrap_iolibio.h +++ /dev/null @@ -1,50 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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. - -// -// ISO C++ 14882: 20.5 Extensions -// - -#ifndef _CPP_WRAP_IOLIBIO_H -#define _CPP_WRAP_IOLIBIO_H 1 - -namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# pragma GCC system_header -# include_next - } -} // namespace _C_legacy - -// NB: Don't bring elements from this non-standard header into namespace std. - -# undef _IN_C_LEGACY_ - -#endif - diff --git a/libstdc++-v3/include/c_std/bits/wrap_langinfo.h b/libstdc++-v3/include/c_std/bits/wrap_langinfo.h deleted file mode 100644 index 138faa10d77..00000000000 --- a/libstdc++-v3/include/c_std/bits/wrap_langinfo.h +++ /dev/null @@ -1,49 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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. - -// -// ISO C++ 14882: 20.5 Extensions -// - -#ifndef _CPP_WRAP_LANGINFO_H -#define _CPP_WRAP_LANGINFO_H 1 - -namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# pragma GCC system_header -# include_next - } -} // namespace _C_legacy - -# undef _IN_C_LEGACY_ - -#endif - - diff --git a/libstdc++-v3/include/c_std/bits/wrap_libio.h b/libstdc++-v3/include/c_std/bits/wrap_libio.h deleted file mode 100644 index e5da6e3f382..00000000000 --- a/libstdc++-v3/include/c_std/bits/wrap_libio.h +++ /dev/null @@ -1,50 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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. - -// -// ISO C++ 14882: 20.5 Extensions -// - -#ifndef _CPP_WRAP_LIBIO_H -#define _CPP_WRAP_LIBIO_H 1 - -namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# pragma GCC system_header -# include_next - } -} // namespace _C_legacy - -// NB: Don't bring elements from this non-standard header into namespace std. - -# undef _IN_C_LEGACY_ - -#endif - diff --git a/libstdc++-v3/include/c_std/bits/wrap_libioP.h b/libstdc++-v3/include/c_std/bits/wrap_libioP.h deleted file mode 100644 index 32f8c2ebd10..00000000000 --- a/libstdc++-v3/include/c_std/bits/wrap_libioP.h +++ /dev/null @@ -1,50 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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. - -// -// ISO C++ 14882: 20.5 Extensions -// - -#ifndef _CPP_WRAP_LIBIOP_H -#define _CPP_WRAP_LIBIOP_H 1 - -namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# pragma GCC system_header -# include_next - } -} // namespace _C_legacy - -// NB: Don't bring elements from this non-standard header into namespace std. - -# undef _IN_C_LEGACY_ - -#endif - diff --git a/libstdc++-v3/include/c_std/bits/wrap_pthread.h b/libstdc++-v3/include/c_std/bits/wrap_pthread.h deleted file mode 100644 index d04eeba8a31..00000000000 --- a/libstdc++-v3/include/c_std/bits/wrap_pthread.h +++ /dev/null @@ -1,81 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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. - -// -// ISO C++ 14882: 26.5 C library extensions -// - -#ifndef _CPP_WRAP_PTHREAD_H -#define _CPP_WRAP_PTHREAD_H 1 - -# include - -namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# pragma GCC system_header -# include_next - } -} // namespace _C_legacy - -# undef _IN_C_LEGACY_ - -#endif - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/libstdc++-v3/include/c_std/bits/wrap_unistd.h b/libstdc++-v3/include/c_std/bits/wrap_unistd.h deleted file mode 100644 index 8e28b698c72..00000000000 --- a/libstdc++-v3/include/c_std/bits/wrap_unistd.h +++ /dev/null @@ -1,47 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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. - -// -// ISO C++ 14882: 26.5 C library extensions -// - -#ifndef _CPP_WRAP_UNISTD_H -#define _CPP_WRAP_UNISTD_H 1 - -namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# pragma GCC system_header -# include_next - } -} // namespace _C_legacy - -# undef _IN_C_LEGACY_ - -#endif diff --git a/libstdc++-v3/include/c_std/ctype.h b/libstdc++-v3/include/c_std/ctype.h deleted file mode 100644 index 199089c594c..00000000000 --- a/libstdc++-v3/include/c_std/ctype.h +++ /dev/null @@ -1,67 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_CTYPE_H_ -# define _INCLUDED_CPP_CTYPE_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _CTYPE_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using std::isalnum; - using std::isalpha; - using std::iscntrl; - using std::isdigit; - using std::isgraph; - using std::islower; - using std::isprint; - using std::ispunct; - using std::isspace; - using std::isupper; - using std::isxdigit; - using std::tolower; - using std::toupper; - -# ifdef _CTYPE_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _CTYPE_NEED_C_LEGACY_ -# endif /* _CTYPE_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_CTYPE_H_ */ diff --git a/libstdc++-v3/include/c_std/errno.h b/libstdc++-v3/include/c_std/errno.h deleted file mode 100644 index 4e2fc332e88..00000000000 --- a/libstdc++-v3/include/c_std/errno.h +++ /dev/null @@ -1,56 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_ERRNO_H_ -# define _INCLUDED_CPP_ERRNO_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _ERRNO_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - // using std::errno; - -# ifdef _ERRNO_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _ERRNO_NEED_C_LEGACY_ -# endif /* _ERRNO_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_ERRNO_H_ */ - diff --git a/libstdc++-v3/include/c_std/fcntl.h b/libstdc++-v3/include/c_std/fcntl.h deleted file mode 100644 index f19a1549274..00000000000 --- a/libstdc++-v3/include/c_std/fcntl.h +++ /dev/null @@ -1,63 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_FCNTL_H_ -# define _INCLUDED_CPP_FCNTL_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _FCNTL_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using _C_legacy::flock; - - using _C_legacy::creat; - using _C_legacy::open; - using _C_legacy::fcntl; - -# ifdef _FCNTL_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _FCNTL_NEED_C_LEGACY_ -# endif /* _FCNTL_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_FCNTL_H_ */ - - - - diff --git a/libstdc++-v3/include/c_std/features.h b/libstdc++-v3/include/c_std/features.h deleted file mode 100644 index eed4b0e803d..00000000000 --- a/libstdc++-v3/include/c_std/features.h +++ /dev/null @@ -1,58 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 _INCLUDED_CPP_FEATURES_H_ -# define _INCLUDED_CPP_FEATURES_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _FEATURES_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - -# ifdef _FEATURES_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _FEATURES_NEED_C_LEGACY_ -# endif /* _FEATURES_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_FEATURES_H_ */ - - - - diff --git a/libstdc++-v3/include/c_std/float.h b/libstdc++-v3/include/c_std/float.h deleted file mode 100644 index f52c5f5c9eb..00000000000 --- a/libstdc++-v3/include/c_std/float.h +++ /dev/null @@ -1,54 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_FLOAT_H_ -# define _INCLUDED_CPP_FLOAT_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _FLOAT_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - -# ifdef _FLOAT_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _FLOAT_NEED_C_LEGACY_ -# endif /* _FLOAT_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_FLOAT_H_ */ diff --git a/libstdc++-v3/include/c_std/iconv.h b/libstdc++-v3/include/c_std/iconv.h deleted file mode 100644 index 1ea5038c24a..00000000000 --- a/libstdc++-v3/include/c_std/iconv.h +++ /dev/null @@ -1,66 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 _INCLUDED_CPP_ICONV_H_ -# define _INCLUDED_CPP_ICONV_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _ICONV_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - - // NB: Cannot use typedefs here to inject the names as the "C" headers - // often include typedefs that include the keyword 'struct' - using _C_legacy::iconv_t; - - using _C_legacy::iconv_open; - using _C_legacy::iconv; - using _C_legacy::iconv_close; - -# ifdef _ICONV_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _ICONV_NEED_C_LEGACY_ -# endif /* _ICONV_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_ICONV_H_ */ - - - - diff --git a/libstdc++-v3/include/c_std/iolibio.h b/libstdc++-v3/include/c_std/iolibio.h deleted file mode 100644 index 845f6403594..00000000000 --- a/libstdc++-v3/include/c_std/iolibio.h +++ /dev/null @@ -1,58 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 _INCLUDED_CPP_IOLIBIO_H_ -# define _INCLUDED_CPP_IOLIBIO_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _IOLIBIO_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - -# ifdef _IOLIBIO_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _IOLIBIO_NEED_C_LEGACY_ -# endif /* _IOLIBIO_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_IOLIBIO_H_ */ - - - - diff --git a/libstdc++-v3/include/c_std/langinfo.h b/libstdc++-v3/include/c_std/langinfo.h deleted file mode 100644 index 3333ef15c81..00000000000 --- a/libstdc++-v3/include/c_std/langinfo.h +++ /dev/null @@ -1,55 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 _INCLUDED_CPP_LANGINFO_H_ -# define _INCLUDED_CPP_LANGINFO_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _LANGINFO_NEED_C_LEGACY_ -# endif - -# include - -# ifdef _LANGINFO_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _LANGINFO_NEED_C_LEGACY_ -# endif /* _LANGINFO_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_LANGINFO_H_ */ - - - - diff --git a/libstdc++-v3/include/c_std/libio.h b/libstdc++-v3/include/c_std/libio.h deleted file mode 100644 index 2cafc7d88eb..00000000000 --- a/libstdc++-v3/include/c_std/libio.h +++ /dev/null @@ -1,81 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 _INCLUDED_CPP_LIBIO_H_ -# define _INCLUDED_CPP_LIBIO_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _LIBIO_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - - // NB: Cannot use typedefs here to inject the names as the "C" headers - // often include typedefs that include the keyword 'struct' - using _C_legacy::_IO_pos_t; - using _C_legacy::_IO_fpos_t; - using _C_legacy::_IO_fpos64_t; - using _C_legacy::_IO_size_t; - using _C_legacy::_IO_ssize_t; - using _C_legacy::_IO_off_t; - using _C_legacy::_IO_off64_t; - using _C_legacy::_IO_pid_t; - using _C_legacy::_IO_uid_t; - using _C_legacy::_IO_iconv_t; - using _C_legacy::_IO_va_list; - using _C_legacy::_IO_wint_t; - using _C_legacy::_IO_lock_t; - - using _C_legacy::_IO_marker; - using _C_legacy::_IO_codecvt; - using _C_legacy::_IO_wide_data; - using _C_legacy::_IO_FILE; - using _C_legacy::_IO_cookie_io_functions_t; - using _C_legacy::_IO_cookie_file; - -# ifdef _LIBIO_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _LIBIO_NEED_C_LEGACY_ -# endif /* _LIBIO_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_LIBIO_H_ */ - - - - diff --git a/libstdc++-v3/include/c_std/libioP.h b/libstdc++-v3/include/c_std/libioP.h deleted file mode 100644 index da3e716768f..00000000000 --- a/libstdc++-v3/include/c_std/libioP.h +++ /dev/null @@ -1,64 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 _INCLUDED_CPP_LIBIOP_H_ -# define _INCLUDED_CPP_LIBIOP_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _LIBIOP_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using _C_legacy::_IO_jump_t; - using _C_legacy::_IO_FILE_plus; - using _C_legacy::_IO_cookie_file; - - using _C_legacy::_IO_file_jumps; - using _C_legacy::_IO_wfile_jumps; - -# ifdef _LIBIOP_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _LIBIOP_NEED_C_LEGACY_ -# endif /* _LIBIOP_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_LIBIOP_H_ */ - - - - diff --git a/libstdc++-v3/include/c_std/limits.h b/libstdc++-v3/include/c_std/limits.h deleted file mode 100644 index 26aa771f2d5..00000000000 --- a/libstdc++-v3/include/c_std/limits.h +++ /dev/null @@ -1,54 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_LIMITS_H_ -# define _INCLUDED_CPP_LIMITS_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _LIMITS_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - -# ifdef _LIMITS_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _LIMITS_NEED_C_LEGACY_ -# endif /* _LIMITS_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_LIMITS_H_ */ diff --git a/libstdc++-v3/include/c_std/locale.h b/libstdc++-v3/include/c_std/locale.h deleted file mode 100644 index 1d5f529ed89..00000000000 --- a/libstdc++-v3/include/c_std/locale.h +++ /dev/null @@ -1,57 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_LOCALE_H_ -# define _INCLUDED_CPP_LOCALE_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _LOCALE_NEED_C_LEGACY_ -#endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using std::lconv; - using std::setlocale; - using std::localeconv; - -# ifdef _LOCALE_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _LOCALE_NEED_C_LEGACY_ -# endif /* _LOCALE_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_LOCALE_H_ */ diff --git a/libstdc++-v3/include/c_std/math.h b/libstdc++-v3/include/c_std/math.h deleted file mode 100644 index f2ec04af671..00000000000 --- a/libstdc++-v3/include/c_std/math.h +++ /dev/null @@ -1,131 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_MATH_H_ -# define _INCLUDED_CPP_MATH_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _MATH_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using std::abs; - using std::acos; - using std::asin; - using std::atan; - using std::atan2; - using std::cos; - using std::sin; - using std::tan; - using std::cosh; - using std::sinh; - using std::tanh; - using std::exp; - using std::frexp; - using std::ldexp; - using std::log; - using std::log10; - using std::modf; - using std::pow; - using std::sqrt; - using std::ceil; - using std::fabs; - using std::floor; - using std::fmod; - - // From ISO/IEC 9899:1999 - using std::absf; - using std::acosf; - using std::asinf; - using std::atanf; - using std::atan2f; - using std::cosf; - using std::sinf; - using std::tanf; - using std::coshf; - using std::sinhf; - using std::tanhf; - using std::expf; - using std::frexpf; - using std::ldexpf; - using std::logf; - using std::log10f; - using std::modff; - using std::powf; - using std::sqrtf; - using std::ceilf; - using std::fabsf; - using std::floorf; - using std::fmodf; - - // From ISO/IEC 9899:1999 - using std::absl; - using std::acosl; - using std::asinl; - using std::atanl; - using std::atan2l; - using std::cosl; - using std::sinl; - using std::tanl; - using std::coshl; - using std::sinhl; - using std::tanhl; - using std::expl; - using std::frexpl; - using std::ldexpl; - using std::logl; - using std::log10l; - using std::modfl; - using std::powl; - using std::sqrtl; - using std::ceill; - using std::fabsl; - using std::floorl; - using std::fmodl; - -# ifdef _MATH_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _MATH_NEED_C_LEGACY_ -# endif /* _MATH_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_MATH_H_ */ - - - - diff --git a/libstdc++-v3/include/c_std/pthread.h b/libstdc++-v3/include/c_std/pthread.h deleted file mode 100644 index 8692d3e52d4..00000000000 --- a/libstdc++-v3/include/c_std/pthread.h +++ /dev/null @@ -1,86 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 _INCLUDED_CPP_PTHREAD_H_ -# define _INCLUDED_CPP_PTHREAD_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _PTHREAD_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using _C_legacy::__sched_param; - - using _C_legacy::pthread_attr_t; - using _C_legacy::pthread_cond_t; - using _C_legacy::pthread_condattr_t; - using _C_legacy::pthread_key_t; - using _C_legacy::pthread_mutex_t; - using _C_legacy::pthread_mutexattr_t; - using _C_legacy::pthread_once_t; - using _C_legacy::pthread_rwlock_t; - using _C_legacy::pthread_rwlockattr_t; - using _C_legacy::pthread_t; - - using _C_legacy::pthread_mutex_init; - using _C_legacy::pthread_mutex_destroy; - using _C_legacy::pthread_mutex_lock; - using _C_legacy::pthread_mutex_trylock; - using _C_legacy::pthread_mutex_unlock; - using _C_legacy::pthread_mutexattr_init; - using _C_legacy::pthread_mutexattr_destroy; - using _C_legacy::pthread_mutexattr_settype; - using _C_legacy::pthread_mutexattr_gettype; - using _C_legacy::pthread_key_create; - using _C_legacy::pthread_key_delete; - using _C_legacy::pthread_setspecific; - using _C_legacy::pthread_getspecific; - using _C_legacy::pthread_once; - using _C_legacy::pthread_atfork; - -# ifdef _PTHREAD_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _PTHREAD_NEED_C_LEGACY_ -# endif /* _PTHREAD_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_PTHREAD_H_ */ - - - - diff --git a/libstdc++-v3/include/c_std/setjmp.h b/libstdc++-v3/include/c_std/setjmp.h deleted file mode 100644 index c4061e871db..00000000000 --- a/libstdc++-v3/include/c_std/setjmp.h +++ /dev/null @@ -1,56 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_SETJMP_H_ -# define _INCLUDED_CPP_SETJMP_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _SETJMP_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using std::jmp_buf; - using std::longjmp; - -# ifdef _SETJMP_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _SETJMP_NEED_C_LEGACY_ -# endif /* _SETJMP_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_SETJMP_H_ */ diff --git a/libstdc++-v3/include/c_std/signal.h b/libstdc++-v3/include/c_std/signal.h deleted file mode 100644 index 819ddf22f32..00000000000 --- a/libstdc++-v3/include/c_std/signal.h +++ /dev/null @@ -1,58 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_SIGNAL_H_ -# define _INCLUDED_CPP_SIGNAL_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _SIGNAL_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using std::sig_atomic_t; - - using std::raise; - using std::signal; - -# ifdef _SIGNAL_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _SIGNAL_NEED_C_LEGACY_ -# endif /* _SIGNAL_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_SIGNAL_H_ */ diff --git a/libstdc++-v3/include/c_std/stdarg.h b/libstdc++-v3/include/c_std/stdarg.h deleted file mode 100644 index cb32feca7d6..00000000000 --- a/libstdc++-v3/include/c_std/stdarg.h +++ /dev/null @@ -1,55 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_STDARG_H_ -# define _INCLUDED_CPP_STDARG_H_ 1 - -#ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _STDARG_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using std::va_list; - -# ifdef _STDARG_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _STDARG_NEED_C_LEGACY_ -# endif /* _STDARG_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_STDARG_H_ */ diff --git a/libstdc++-v3/include/c_std/stddef.h b/libstdc++-v3/include/c_std/stddef.h deleted file mode 100644 index 03d5896779e..00000000000 --- a/libstdc++-v3/include/c_std/stddef.h +++ /dev/null @@ -1,60 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_STDDEF_H_ -# define _INCLUDED_CPP_STDDEF_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _STDDEF_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using std::ptrdiff_t; - using std::size_t; - -# ifdef _STDDEF_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _STDDEF_NEED_C_LEGACY_ -# endif /* _STDDEF_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_STDDEF_H_ */ - - - - diff --git a/libstdc++-v3/include/c_std/stdio.h b/libstdc++-v3/include/c_std/stdio.h deleted file mode 100644 index c3a43b736c2..00000000000 --- a/libstdc++-v3/include/c_std/stdio.h +++ /dev/null @@ -1,97 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_STDIO_H_ -# define _INCLUDED_CPP_STDIO_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _STDIO_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using std::FILE; - using std::fpos_t; - - using std::remove; - using std::rename; - using std::tmpfile; - using std::tmpnam; - using std::fclose; - using std::fflush; - using std::fopen; - using std::freopen; - using std::setbuf; - using std::setvbuf; - using std::fprintf; - using std::fscanf; - using std::printf; - using std::scanf; - using std::sprintf; - using std::sscanf; - using std::vfprintf; - using std::vprintf; - using std::vsprintf; - using std::fgetc; - using std::fgets; - using std::fputc; - using std::fputs; - using std::getc; - using std::getchar; - using std::gets; - using std::putc; - using std::putchar; - using std::puts; - using std::ungetc; - using std::fread; - using std::fwrite; - using std::fgetpos; - using std::fseek; - using std::fsetpos; - using std::ftell; - using std::rewind; - using std::clearerr; - using std::feof; - using std::ferror; - using std::perror; - -# ifdef _STDIO_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _STDIO_NEED_C_LEGACY_ -# endif /* _STDIO_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_STDIO_H_ */ diff --git a/libstdc++-v3/include/c_std/stdlib.h b/libstdc++-v3/include/c_std/stdlib.h deleted file mode 100644 index c75cc5c068f..00000000000 --- a/libstdc++-v3/include/c_std/stdlib.h +++ /dev/null @@ -1,101 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_STDLIB_H_ -# define _INCLUDED_CPP_STDLIB_H_ 1 - -# include - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _STDLIB_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using std::div_t; - using std::ldiv_t; -#ifdef _GLIBCPP_USE_LONG_LONG - using std::lldiv_t; -#endif - -// using std::abort; - using std::abs; - using std::atexit; - using std::atof; - using std::atoi; - using std::atol; - using std::bsearch; - using std::calloc; - using std::div; -// using std::exit; - using std::free; - using std::getenv; - using std::labs; - using std::ldiv; - using std::malloc; - using std::mblen; - using std::mbstowcs; - using std::mbtowc; - using std::qsort; - using std::rand; - using std::realloc; - using std::srand; - using std::strtod; - using std::strtol; - using std::strtoul; - using std::system; - using std::wcstombs; - using std::wctomb; - - using std::strtof; - -#ifdef _GLIBCPP_USE_LONG_LONG - using std::strtoll; - using std::strtoull; -#endif - -#ifdef _GLIBCPP_HAVE_STRTOLD - using std::strtold; -#endif - -# ifdef _STDLIB_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _STDLIB_NEED_C_LEGACY_ -# endif /* _STDLIB_NEED_C__LEGACY_ */ -#endif /* _INCLUDED_CPP_STDLIB_H_ */ diff --git a/libstdc++-v3/include/c_std/string.h b/libstdc++-v3/include/c_std/string.h deleted file mode 100644 index 6f9e6cc6372..00000000000 --- a/libstdc++-v3/include/c_std/string.h +++ /dev/null @@ -1,76 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_STRING_H_ -# define _INCLUDED_CPP_STRING_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _STRING_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using std::memcpy; - using std::memmove; - using std::strcpy; - using std::strncpy; - using std::strcat; - using std::strncat; - using std::memcmp; - using std::strcmp; - using std::strcoll; - using std::strncmp; - using std::strxfrm; - using std::memchr; - using std::strchr; - using std::strcspn; - using std::strpbrk; - using std::strrchr; - using std::strspn; - using std::strstr; - using std::strtok; - using std::memset; - using std::strerror; - using std::strlen; - -# ifdef _STRING_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _STRING_NEED_C_LEGACY_ -# endif /* _STRING_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_STRING_H_ */ diff --git a/libstdc++-v3/include/c_std/sys/cdefs.h b/libstdc++-v3/include/c_std/sys/cdefs.h deleted file mode 100644 index da377faadbc..00000000000 --- a/libstdc++-v3/include/c_std/sys/cdefs.h +++ /dev/null @@ -1,49 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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_SYS_CDEFS_H -# define _CPP_SYS_CDEFS_H 1 - -# pragma GCC system_header -# include_next - -// glibc-2 hackery. Other systems likely require other hacks. -#undef __BEGIN_DECLS -#define __BEGIN_DECLS -#undef __END_DECLS -#define __END_DECLS - -#endif /* _CPP_SYS_CDEFS_H_ */ - - - - - - diff --git a/libstdc++-v3/include/c_std/time.h b/libstdc++-v3/include/c_std/time.h deleted file mode 100644 index 31064aaa135..00000000000 --- a/libstdc++-v3/include/c_std/time.h +++ /dev/null @@ -1,67 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_TIME_H_ -# define _INCLUDED_CPP_TIME_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _TIME_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using std::clock_t; - using std::time_t; - using std::tm; - - using std::clock; - using std::difftime; - using std::mktime; - using std::time; - using std::asctime; - using std::ctime; - using std::gmtime; - using std::localtime; - using std::strftime; - -# ifdef _TIME_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _TIME_NEED_C_LEGACY_ -# endif /* _TIME_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_TIME_H_ */ diff --git a/libstdc++-v3/include/c_std/unistd.h b/libstdc++-v3/include/c_std/unistd.h deleted file mode 100644 index e05efe72f57..00000000000 --- a/libstdc++-v3/include/c_std/unistd.h +++ /dev/null @@ -1,101 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 _INCLUDED_CPP_UNISTD_H_ -# define _INCLUDED_CPP_UNISTD_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _TIME_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. -#ifdef __gid_t_defined - using _C_legacy::gid_t; -#endif -#ifdef __uid_t_defined - using _C_legacy::uid_t; -#endif -#ifdef __off_t_defined - using _C_legacy::off_t; -#endif -#ifdef __off64_t_defined - using _C_legacy::off64_t; -#endif -#ifdef __useconds_t_defined - using _C_legacy::useconds_t; -#endif -#ifdef __pid_t_defined - using _C_legacy::pid_t; -#endif - using _C_legacy::intptr_t; -#ifdef __socklen_t_defined - using _C_legacy::socklen_t; -#endif - - using _C_legacy::access; - using _C_legacy::euidaccess; - using _C_legacy::lseek; - using _C_legacy::close; - using _C_legacy::read; - using _C_legacy::write; - using _C_legacy::pread; - using _C_legacy::pwrite; - using _C_legacy::pipe; - using _C_legacy::alarm; - using _C_legacy::sleep; - using _C_legacy::ualarm; - using _C_legacy::usleep; - using _C_legacy::pause; - using _C_legacy::chown; - using _C_legacy::fchown; - using _C_legacy::lchown; - using _C_legacy::chdir; - using _C_legacy::fchdir; - using _C_legacy::getcwd; - using _C_legacy::get_current_dir_name; - using _C_legacy::getwd; - using _C_legacy::dup; - using _C_legacy::dup2; - -# ifdef _TIME_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _TIME_NEED_C_LEGACY_ -# endif /* _TIME_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_UNISTD_H_ */ diff --git a/libstdc++-v3/include/c_std/wchar.h b/libstdc++-v3/include/c_std/wchar.h deleted file mode 100644 index efabb1519a5..00000000000 --- a/libstdc++-v3/include/c_std/wchar.h +++ /dev/null @@ -1,131 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_WCHAR_H_ -# define _INCLUDED_CPP_WCHAR_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ /* sub-included by a C header */ -# define _WCHAR_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using std::wchar_t; - using std::wint_t; - using std::mbstate_t; - -#if 0 - using std::fwprintf; - using std::fwscanf; - using std::swprintf; - using std::swscanf; - using std::vfwprintf; - using std::vfwscanf; - using std::vswprintf; - using std::vswscanf; - using std::vwprintf; - using std::vwscanf; - using std::wprintf; - using std::wscanf; - using std::fgetwc; - using std::fgetws; - using std::fputwc; - using std::fputws; - using std::fwide; - using std::getwc; - using std::getwchar; - using std::putwc; - using std::putwchar; - using std::ungetwc; -#endif - - using std::wcstod; - using std::wcstof; - using std::wcstold; - using std::wcstol; - using std::wcstoll; - using std::wcstoul; - using std::wcstoull; - using std::wcscpy; - using std::wcsncpy; - using std::wcscat; - using std::wcsncat; - -#if 0 - using std::wcsmp; -#endif - - using std::wcscoll; - using std::wcsncmp; - using std::wcsxfrm; - using std::wcschr; - using std::wcscspn; - using std::wcslen; - using std::wcspbrk; - using std::wcsrchr; - using std::wcsspn; - using std::wcsstr; - using std::wcstok; - using std::wmemchr; - using std::wmemcmp; - using std::wmemcpy; - using std::wmemmove; - using std::wmemset; - -#if 0 - using std::wcsftime; -#endif - - using std::btowc; - using std::wctob; - using std::mbsinit; - using std::mbrlen; - using std::mbrtowc; - using std::wcrtomb; - using std::mbsrtowcs; - using std::wcsrtombs; - -# ifdef _WCHAR_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _WCHAR_NEED_C_LEGACY_ -# endif /* _WCHAR_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_WCHAR_H_ */ - - - diff --git a/libstdc++-v3/include/c_std/wctype.h b/libstdc++-v3/include/c_std/wctype.h deleted file mode 100644 index cae1aff43e1..00000000000 --- a/libstdc++-v3/include/c_std/wctype.h +++ /dev/null @@ -1,74 +0,0 @@ -// -*- C++ -*- header wrapper. - -// 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 -// 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 _INCLUDED_CPP_CWCTYPE_H_ -# define _INCLUDED_CPP_CWCTYPE_H_ 1 - -# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ - // get out of the "legacy" - } // close extern "C" - } // close namespace _C_legacy:: -# undef _IN_C_LEGACY_ -# define _CWCHAR_NEED_C_LEGACY_ -# endif - -# include - - // Expose global C names, including non-standard ones, but shadow - // some names and types with the std:: C++ version. - using std::wint_t; - using std::wctype_t; - using std::wctrans_t; - using std::iswalpha; - using std::iswupper; - using std::iswlower; - using std::iswdigit; - using std::iswxdigit; - using std::iswalnum; - using std::iswspace; - using std::iswpunct; - using std::iswprint; - using std::iswgraph; - using std::iswcntrl; - using std::iswctype; - using std::towctrans; - using std::towlower; - using std::towupper; - using std::wctrans; - using std::wctype; - -# ifdef _CWCHAR_NEED_C_LEGACY_ - // dive back into the "swamp" - namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# undef _CWCHAR_NEED_C_LEGACY_ -# endif /* _CWCHAR_NEED_C_LEGACY_ */ -#endif /* _INCLUDED_CPP_CWCTYPE_H_ */