diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2002-03-23 03:19:03 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2002-03-23 03:19:03 +0000 |
commit | 34ff0b99c133cb87fc7e477050c61381fb6a55f4 (patch) | |
tree | 1c21dccc90687181fd59c47b43eb131f60f0eaa9 /libstdc++-v3/include/c | |
parent | ea9264e9a27d12c50efe395574e96b9c3dc54436 (diff) | |
download | gcc-34ff0b99c133cb87fc7e477050c61381fb6a55f4.tar.gz |
acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for signbit and __signbit directly.
2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
signbit and __signbit directly.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
* libmath/Makefile.am: Simplify.
* libmath/Makefile.in: Regenerate.
* include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
* include/Makefile.am: Clean up handling of extra "C" header files.
Add hooks for "C" compatibility headers.
* include/Makefile.in: Regenerate.
* include/c/*: Formatting tweaks, cleanups.
* include/c_std/*: Same.
From-SVN: r51220
Diffstat (limited to 'libstdc++-v3/include/c')
-rw-r--r-- | libstdc++-v3/include/c/std_cassert.h | 7 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_cctype.h | 11 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_cerrno.h | 13 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_cfloat.h | 11 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_ciso646.h | 7 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_climits.h | 11 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_clocale.h | 11 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_cmath.h | 13 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_csetjmp.h | 11 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_csignal.h | 11 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_cstdarg.h | 11 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_cstddef.h | 11 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_cstdio.h | 11 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_cstdlib.h | 11 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_cstring.h | 11 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_ctime.h | 11 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_cwchar.h | 13 | ||||
-rw-r--r-- | libstdc++-v3/include/c/std_cwctype.h | 11 |
18 files changed, 89 insertions, 107 deletions
diff --git a/libstdc++-v3/include/c/std_cassert.h b/libstdc++-v3/include/c/std_cassert.h index 32928380ba3..9b2bb72beab 100644 --- a/libstdc++-v3/include/c/std_cassert.h +++ b/libstdc++-v3/include/c/std_cassert.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,9 +31,8 @@ // ISO C++ 14882: 19.2 Assertions // -// Note: This is not a conforming implementation. - // No include guards on this header... #pragma GCC system_header -#include <assert.h> + +#include_next <assert.h> diff --git a/libstdc++-v3/include/c/std_cctype.h b/libstdc++-v3/include/c/std_cctype.h index 5a423a08b8f..1271e072a69 100644 --- a/libstdc++-v3/include/c/std_cctype.h +++ b/libstdc++-v3/include/c/std_cctype.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,12 +31,11 @@ // ISO C++ 14882: <ccytpe> // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CCTYPE -#define _CPP_CCTYPE 1 +#ifndef _CCTYPE +#define _CCTYPE 1 #pragma GCC system_header -#include <ctype.h> + +#include_next <ctype.h> #endif diff --git a/libstdc++-v3/include/c/std_cerrno.h b/libstdc++-v3/include/c/std_cerrno.h index 23a0060a884..dea3c0e9398 100644 --- a/libstdc++-v3/include/c/std_cerrno.h +++ b/libstdc++-v3/include/c/std_cerrno.h @@ -1,6 +1,6 @@ -// The -*- C++ -*- error number header. +// -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,12 +31,11 @@ // ISO C++ 14882: 19.3 Error numbers // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CERRNO -#define _CPP_CERRNO 1 +#ifndef _CERRNO +#define _CERRNO 1 #pragma GCC system_header -#include <errno.h> + +#include_next <errno.h> #endif diff --git a/libstdc++-v3/include/c/std_cfloat.h b/libstdc++-v3/include/c/std_cfloat.h index 744699709e5..bcdb5f7bc29 100644 --- a/libstdc++-v3/include/c/std_cfloat.h +++ b/libstdc++-v3/include/c/std_cfloat.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,12 +31,11 @@ // ISO C++ 14882: 18.2.2 Implementation properties: C library // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CFLOAT -#define _CPP_CFLOAT 1 +#ifndef _CFLOAT +#define _CFLOAT 1 #pragma GCC system_header -#include <float.h> + +#include_next <float.h> #endif diff --git a/libstdc++-v3/include/c/std_ciso646.h b/libstdc++-v3/include/c/std_ciso646.h index c9f49fb6fc3..ed9f72ec53f 100644 --- a/libstdc++-v3/include/c/std_ciso646.h +++ b/libstdc++-v3/include/c/std_ciso646.h @@ -1,6 +1,6 @@ -// -*- C++ -*- std header. +// -*- C++ -*- forwarding header. -// Copyright (C) 2001 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002 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 @@ -28,11 +28,10 @@ // the GNU General Public License. /** @file ciso646 - * This is a Standard C++ Library file. You should @c #include this file + * This is a Standard C++ Library file. You should @c #include_next this file * in your programs, rather than any of the "st[dl]_*.h" implementation files. * * This is the C++ version of the Standard C Library header @c iso646.h, * and its contents are (mostly) the same as that header, but are all * contained in the namespace @c std. */ - diff --git a/libstdc++-v3/include/c/std_climits.h b/libstdc++-v3/include/c/std_climits.h index 05795a6adb6..acfbe9b57bf 100644 --- a/libstdc++-v3/include/c/std_climits.h +++ b/libstdc++-v3/include/c/std_climits.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,12 +31,11 @@ // ISO C++ 14882: 18.2.2 Implementation properties: C library // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CLIMITS -#define _CPP_CLIMITS 1 +#ifndef _CLIMITS +#define _CLIMITS 1 #pragma GCC system_header -#include <limits.h> + +#include_next <limits.h> #endif diff --git a/libstdc++-v3/include/c/std_clocale.h b/libstdc++-v3/include/c/std_clocale.h index 69ea1f6912c..6ac30a77fd7 100644 --- a/libstdc++-v3/include/c/std_clocale.h +++ b/libstdc++-v3/include/c/std_clocale.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,12 +31,11 @@ // ISO C++ 14882: 18.2.2 Implementation properties: C library // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CLOCALE -#define _CPP_CLOCALE 1 +#ifndef _CLOCALE +#define _CLOCALE 1 #pragma GCC system_header -#include <locale.h> + +#include_next <locale.h> #endif diff --git a/libstdc++-v3/include/c/std_cmath.h b/libstdc++-v3/include/c/std_cmath.h index 2625eac91fb..fb53a2dafbf 100644 --- a/libstdc++-v3/include/c/std_cmath.h +++ b/libstdc++-v3/include/c/std_cmath.h @@ -1,6 +1,6 @@ -// -*- C++ -*- C math library. +// -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,12 +31,11 @@ // ISO C++ 14882: 26.5 C library // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CMATH -#define _CPP_CMATH 1 +#ifndef _CMATH +#define _CMATH 1 #pragma GCC system_header -#include <math.h> + +#include_next <math.h> #endif diff --git a/libstdc++-v3/include/c/std_csetjmp.h b/libstdc++-v3/include/c/std_csetjmp.h index 45e3da5d693..77616608495 100644 --- a/libstdc++-v3/include/c/std_csetjmp.h +++ b/libstdc++-v3/include/c/std_csetjmp.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,12 +31,11 @@ // ISO C++ 14882: 20.4.6 C library // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CSETJMP -#define _CPP_CSETJMP 1 +#ifndef _CSETJMP +#define _CSETJMP 1 #pragma GCC system_header -#include <setjmp.h> + +#include_next <setjmp.h> #endif diff --git a/libstdc++-v3/include/c/std_csignal.h b/libstdc++-v3/include/c/std_csignal.h index da585dd0ae1..6f2790c5b31 100644 --- a/libstdc++-v3/include/c/std_csignal.h +++ b/libstdc++-v3/include/c/std_csignal.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,12 +31,11 @@ // ISO C++ 14882: 20.4.6 C library // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CSIGNAL -#define _CPP_CSIGNAL 1 +#ifndef _CSIGNAL +#define _CSIGNAL 1 #pragma GCC system_header -#include <signal.h> + +#include_next <signal.h> #endif diff --git a/libstdc++-v3/include/c/std_cstdarg.h b/libstdc++-v3/include/c/std_cstdarg.h index 5d2a2d88c54..b91c3c00a26 100644 --- a/libstdc++-v3/include/c/std_cstdarg.h +++ b/libstdc++-v3/include/c/std_cstdarg.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,12 +31,11 @@ // ISO C++ 14882: 20.4.6 C library // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CSTDARG -#define _CPP_CSTDARG 1 +#ifndef _CSTDARG +#define _CSTDARG 1 #pragma GCC system_header -#include <stdarg.h> + +#include_next <stdarg.h> #endif diff --git a/libstdc++-v3/include/c/std_cstddef.h b/libstdc++-v3/include/c/std_cstddef.h index 456f6ca9db1..7502c04e18a 100644 --- a/libstdc++-v3/include/c/std_cstddef.h +++ b/libstdc++-v3/include/c/std_cstddef.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,12 +31,11 @@ // ISO C++ 14882: 18.1 Types // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CSTDDEF -#define _CPP_CSTDDEF 1 +#ifndef _CSTDDEF +#define _CSTDDEF 1 #pragma GCC system_header -#include <stddef.h> + +#include_next <stddef.h> #endif diff --git a/libstdc++-v3/include/c/std_cstdio.h b/libstdc++-v3/include/c/std_cstdio.h index b7b29703d1f..32d1488f554 100644 --- a/libstdc++-v3/include/c/std_cstdio.h +++ b/libstdc++-v3/include/c/std_cstdio.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,12 +31,11 @@ // ISO C++ 14882: 27.8.2 C Library files // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CSTDIO -#define _CPP_CSTDIO 1 +#ifndef _CSTDIO +#define _CSTDIO 1 #pragma GCC system_header -#include <stdio.h> + +#include_next <stdio.h> #endif diff --git a/libstdc++-v3/include/c/std_cstdlib.h b/libstdc++-v3/include/c/std_cstdlib.h index 75402e4aad0..1c34b36b601 100644 --- a/libstdc++-v3/include/c/std_cstdlib.h +++ b/libstdc++-v3/include/c/std_cstdlib.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,12 +31,11 @@ // ISO C++ 14882: 20.4.6 C library // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CSTDLIB -#define _CPP_CSTDLIB 1 +#ifndef _CSTDLIB +#define _CSTDLIB 1 #pragma GCC system_header -#include <stdlib.h> + +#include_next <stdlib.h> #endif diff --git a/libstdc++-v3/include/c/std_cstring.h b/libstdc++-v3/include/c/std_cstring.h index 6a176559ce4..e5c786d2973 100644 --- a/libstdc++-v3/include/c/std_cstring.h +++ b/libstdc++-v3/include/c/std_cstring.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,12 +31,11 @@ // ISO C++ 14882: 20.4.6 C library // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CSTRING -#define _CPP_CSTRING 1 +#ifndef _CSTRING +#define _CSTRING 1 #pragma GCC system_header -#include <string.h> + +#include_next <string.h> #endif diff --git a/libstdc++-v3/include/c/std_ctime.h b/libstdc++-v3/include/c/std_ctime.h index bf53c50347c..17d965afa90 100644 --- a/libstdc++-v3/include/c/std_ctime.h +++ b/libstdc++-v3/include/c/std_ctime.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,12 +31,11 @@ // ISO C++ 14882: 20.5 Date and time // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CTIME -#define _CPP_CTIME 1 +#ifndef _CTIME +#define _CTIME 1 #pragma GCC system_header -#include <time.h> + +#include_next <time.h> #endif diff --git a/libstdc++-v3/include/c/std_cwchar.h b/libstdc++-v3/include/c/std_cwchar.h index 713f4445773..92b53b0379a 100644 --- a/libstdc++-v3/include/c/std_cwchar.h +++ b/libstdc++-v3/include/c/std_cwchar.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -28,15 +28,14 @@ // the GNU General Public License. // -// ISO C++ 14882: ??? +// ISO C++ 14882: 21.4 // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CWCHAR -#define _CPP_CWCHAR 1 +#ifndef _CWCHAR +#define _CWCHAR 1 #pragma GCC system_header -#include <wchar.h> + +#include_next <wchar.h> #endif diff --git a/libstdc++-v3/include/c/std_cwctype.h b/libstdc++-v3/include/c/std_cwctype.h index 6f8a7c8f28b..53aa0d0f91b 100644 --- a/libstdc++-v3/include/c/std_cwctype.h +++ b/libstdc++-v3/include/c/std_cwctype.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002 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 @@ -31,12 +31,11 @@ // ISO C++ 14882: <cwctype> // -// Note: This is not a conforming implementation. - -#ifndef _CPP_CWCTYPE -#define _CPP_CWCTYPE 1 +#ifndef _CWCTYPE +#define _CWCTYPE 1 #pragma GCC system_header -#include <wctype.h> + +#include_next <wctype.h> #endif |