From ffeaf689a248da869b6bc8d4fd2233dfe513c060 Mon Sep 17 00:00:00 2001 From: Alexander Kabaev Date: Wed, 28 Jul 2004 03:12:05 +0000 Subject: Gcc 3.4.2 20040728 C++ support bits. --- contrib/libstdc++/include/c/std_cctype.h | 8 ++++---- contrib/libstdc++/include/c/std_cerrno.h | 6 +++--- contrib/libstdc++/include/c/std_cfloat.h | 6 +++--- contrib/libstdc++/include/c/std_climits.h | 6 +++--- contrib/libstdc++/include/c/std_clocale.h | 6 +++--- contrib/libstdc++/include/c/std_cmath.h | 26 +++++++++++++------------- contrib/libstdc++/include/c/std_csetjmp.h | 6 +++--- contrib/libstdc++/include/c/std_csignal.h | 6 +++--- contrib/libstdc++/include/c/std_cstdarg.h | 6 +++--- contrib/libstdc++/include/c/std_cstddef.h | 6 +++--- contrib/libstdc++/include/c/std_cstdio.h | 6 +++--- contrib/libstdc++/include/c/std_cstdlib.h | 8 ++++---- contrib/libstdc++/include/c/std_cstring.h | 4 ++-- contrib/libstdc++/include/c/std_ctime.h | 6 +++--- contrib/libstdc++/include/c/std_cwchar.h | 16 ++++++++-------- contrib/libstdc++/include/c/std_cwctype.h | 10 +++++----- 16 files changed, 66 insertions(+), 66 deletions(-) (limited to 'contrib/libstdc++/include/c') diff --git a/contrib/libstdc++/include/c/std_cctype.h b/contrib/libstdc++/include/c/std_cctype.h index 9d84a3d68b72..3231f481fcfa 100644 --- a/contrib/libstdc++/include/c/std_cctype.h +++ b/contrib/libstdc++/include/c/std_cctype.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2003 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,11 +31,11 @@ // ISO C++ 14882: // -#ifndef _CPP_CCTYPE -#define _CPP_CCTYPE 1 +#ifndef _GLIBCXX_CCTYPE +#define _GLIBCXX_CCTYPE 1 #pragma GCC system_header #include_next -#endif +#endif diff --git a/contrib/libstdc++/include/c/std_cerrno.h b/contrib/libstdc++/include/c/std_cerrno.h index 646d60965740..84e0e534337a 100644 --- a/contrib/libstdc++/include/c/std_cerrno.h +++ b/contrib/libstdc++/include/c/std_cerrno.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2003 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 @@ -40,8 +40,8 @@ * contained in the namespace @c std. */ -#ifndef _CPP_CERRNO -#define _CPP_CERRNO 1 +#ifndef _GLIBCXX_CERRNO +#define _GLIBCXX_CERRNO 1 #pragma GCC system_header diff --git a/contrib/libstdc++/include/c/std_cfloat.h b/contrib/libstdc++/include/c/std_cfloat.h index 9c95760b38bf..e9319d302ad9 100644 --- a/contrib/libstdc++/include/c/std_cfloat.h +++ b/contrib/libstdc++/include/c/std_cfloat.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2003 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,8 +31,8 @@ // ISO C++ 14882: 18.2.2 Implementation properties: C library // -#ifndef _CPP_CFLOAT -#define _CPP_CFLOAT 1 +#ifndef _GLIBCXX_CFLOAT +#define _GLIBCXX_CFLOAT 1 #pragma GCC system_header diff --git a/contrib/libstdc++/include/c/std_climits.h b/contrib/libstdc++/include/c/std_climits.h index 9194cb9adf76..e1986f25a95b 100644 --- a/contrib/libstdc++/include/c/std_climits.h +++ b/contrib/libstdc++/include/c/std_climits.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2003 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,8 +31,8 @@ // ISO C++ 14882: 18.2.2 Implementation properties: C library // -#ifndef _CPP_CLIMITS -#define _CPP_CLIMITS 1 +#ifndef _GLIBCXX_CLIMITS +#define _GLIBCXX_CLIMITS 1 #pragma GCC system_header diff --git a/contrib/libstdc++/include/c/std_clocale.h b/contrib/libstdc++/include/c/std_clocale.h index b6b3c22268ad..6aa937baf71d 100644 --- a/contrib/libstdc++/include/c/std_clocale.h +++ b/contrib/libstdc++/include/c/std_clocale.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2003 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,8 +31,8 @@ // ISO C++ 14882: 18.2.2 Implementation properties: C library // -#ifndef _CPP_CLOCALE -#define _CPP_CLOCALE 1 +#ifndef _GLIBCXX_CLOCALE +#define _GLIBCXX_CLOCALE 1 #pragma GCC system_header diff --git a/contrib/libstdc++/include/c/std_cmath.h b/contrib/libstdc++/include/c/std_cmath.h index beb7141625ce..fcaa7594c973 100644 --- a/contrib/libstdc++/include/c/std_cmath.h +++ b/contrib/libstdc++/include/c/std_cmath.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2003 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,9 @@ // ISO C++ 14882: 26.5 C library // -#ifndef _CPP_CMATH -#define _CPP_CMATH 1 - +#ifndef _GLIBCXX_CMATH +#define _GLIBCXX_CMATH 1 + #pragma GCC system_header #include @@ -79,7 +79,7 @@ #undef islessgreater #undef isunordered -namespace std +namespace std { inline double abs(double __x) @@ -93,11 +93,11 @@ namespace std abs(long double __x) { return __builtin_fabsl(__x); } -#if _GLIBCPP_HAVE_MODFF - inline float +#if _GLIBCXX_HAVE_MODFF + inline float modf(float __x, float* __iptr) { return modff(__x, __iptr); } #else - inline float + inline float modf(float __x, float* __iptr) { double __tmp; @@ -107,13 +107,13 @@ namespace std } #endif -#if _GLIBCPP_HAVE_MODFL - inline long double +#if _GLIBCXX_HAVE_MODFL + inline long double modf(long double __x, long double* __iptr) { return modfl(__x, __iptr); } #else - inline long double - modf(long double __x, long double* __iptr) - { + inline long double + modf(long double __x, long double* __iptr) + { double __tmp; double __res = modf(static_cast(__x), &__tmp); * __iptr = static_cast(__tmp); diff --git a/contrib/libstdc++/include/c/std_csetjmp.h b/contrib/libstdc++/include/c/std_csetjmp.h index fe3f9c70bcdd..022753f46560 100644 --- a/contrib/libstdc++/include/c/std_csetjmp.h +++ b/contrib/libstdc++/include/c/std_csetjmp.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2003 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,8 +31,8 @@ // ISO C++ 14882: 20.4.6 C library // -#ifndef _CPP_CSETJMP -#define _CPP_CSETJMP 1 +#ifndef _GLIBCXX_CSETJMP +#define _GLIBCXX_CSETJMP 1 #pragma GCC system_header diff --git a/contrib/libstdc++/include/c/std_csignal.h b/contrib/libstdc++/include/c/std_csignal.h index 09614e7ea019..6fa96071d92e 100644 --- a/contrib/libstdc++/include/c/std_csignal.h +++ b/contrib/libstdc++/include/c/std_csignal.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2003 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,8 +31,8 @@ // ISO C++ 14882: 20.4.6 C library // -#ifndef _CPP_CSIGNAL -#define _CPP_CSIGNAL 1 +#ifndef _GLIBCXX_CSIGNAL +#define _GLIBCXX_CSIGNAL 1 #pragma GCC system_header diff --git a/contrib/libstdc++/include/c/std_cstdarg.h b/contrib/libstdc++/include/c/std_cstdarg.h index 39d019bc1c28..0c236344ed8d 100644 --- a/contrib/libstdc++/include/c/std_cstdarg.h +++ b/contrib/libstdc++/include/c/std_cstdarg.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2003 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,8 +31,8 @@ // ISO C++ 14882: 20.4.6 C library // -#ifndef _CPP_CSTDARG -#define _CPP_CSTDARG 1 +#ifndef _GLIBCXX_CSTDARG +#define _GLIBCXX_CSTDARG 1 #pragma GCC system_header diff --git a/contrib/libstdc++/include/c/std_cstddef.h b/contrib/libstdc++/include/c/std_cstddef.h index 82561cdac7bc..4178ecf37eec 100644 --- a/contrib/libstdc++/include/c/std_cstddef.h +++ b/contrib/libstdc++/include/c/std_cstddef.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2003 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,8 +31,8 @@ // ISO C++ 14882: 18.1 Types // -#ifndef _CPP_CSTDDEF -#define _CPP_CSTDDEF 1 +#ifndef _GLIBCXX_CSTDDEF +#define _GLIBCXX_CSTDDEF 1 #pragma GCC system_header diff --git a/contrib/libstdc++/include/c/std_cstdio.h b/contrib/libstdc++/include/c/std_cstdio.h index 3d6272aa62e3..fa04bc4518d2 100644 --- a/contrib/libstdc++/include/c/std_cstdio.h +++ b/contrib/libstdc++/include/c/std_cstdio.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2003 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,8 +31,8 @@ // ISO C++ 14882: 27.8.2 C Library files // -#ifndef _CPP_CSTDIO -#define _CPP_CSTDIO 1 +#ifndef _GLIBCXX_CSTDIO +#define _GLIBCXX_CSTDIO 1 #pragma GCC system_header diff --git a/contrib/libstdc++/include/c/std_cstdlib.h b/contrib/libstdc++/include/c/std_cstdlib.h index 57ade0dfb363..90b2f1065760 100644 --- a/contrib/libstdc++/include/c/std_cstdlib.h +++ b/contrib/libstdc++/include/c/std_cstdlib.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2003 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,11 +31,11 @@ // ISO C++ 14882: 20.4.6 C library // -#ifndef _CPP_CSTDLIB -#define _CPP_CSTDLIB 1 +#ifndef _GLIBCXX_CSTDLIB +#define _GLIBCXX_CSTDLIB 1 #pragma GCC system_header #include_next -#endif +#endif diff --git a/contrib/libstdc++/include/c/std_cstring.h b/contrib/libstdc++/include/c/std_cstring.h index 656ff52be341..72ee44f9255e 100644 --- a/contrib/libstdc++/include/c/std_cstring.h +++ b/contrib/libstdc++/include/c/std_cstring.h @@ -31,8 +31,8 @@ // ISO C++ 14882: 20.4.6 C library // -#ifndef _CPP_CSTRING -#define _CPP_CSTRING 1 +#ifndef _GLIBCXX_CSTRING +#define _GLIBCXX_CSTRING 1 #pragma GCC system_header diff --git a/contrib/libstdc++/include/c/std_ctime.h b/contrib/libstdc++/include/c/std_ctime.h index ba9103ee054f..197a1f8b8641 100644 --- a/contrib/libstdc++/include/c/std_ctime.h +++ b/contrib/libstdc++/include/c/std_ctime.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2003 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,8 +31,8 @@ // ISO C++ 14882: 20.5 Date and time // -#ifndef _CPP_CTIME -#define _CPP_CTIME 1 +#ifndef _GLIBCXX_CTIME +#define _GLIBCXX_CTIME 1 #pragma GCC system_header diff --git a/contrib/libstdc++/include/c/std_cwchar.h b/contrib/libstdc++/include/c/std_cwchar.h index d06f5e4efcd7..0d2f6be54916 100644 --- a/contrib/libstdc++/include/c/std_cwchar.h +++ b/contrib/libstdc++/include/c/std_cwchar.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2003 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,8 +31,8 @@ // ISO C++ 14882: 21.4 // -#ifndef _CPP_CWCHAR -#define _CPP_CWCHAR 1 +#ifndef _GLIBCXX_CWCHAR +#define _GLIBCXX_CWCHAR 1 #pragma GCC system_header @@ -40,18 +40,18 @@ #include #include -#if _GLIBCPP_HAVE_WCHAR_H +#if _GLIBCXX_HAVE_WCHAR_H #include_next #endif // Need to do a bit of trickery here with mbstate_t as char_traits // assumes it is in wchar.h, regardless of wchar_t specializations. -#ifndef _GLIBCPP_HAVE_MBSTATE_T +#ifndef _GLIBCXX_HAVE_MBSTATE_T namespace std { - extern "C" + extern "C" { - typedef struct + typedef struct { int __fill[6]; } mbstate_t; @@ -59,4 +59,4 @@ namespace std } #endif -#endif +#endif diff --git a/contrib/libstdc++/include/c/std_cwctype.h b/contrib/libstdc++/include/c/std_cwctype.h index d51569843a67..9302864828ce 100644 --- a/contrib/libstdc++/include/c/std_cwctype.h +++ b/contrib/libstdc++/include/c/std_cwctype.h @@ -1,6 +1,6 @@ // -*- C++ -*- forwarding header. -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2003 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,15 +31,15 @@ // ISO C++ 14882: // -#ifndef _CPP_CWCTYPE -#define _CPP_CWCTYPE 1 +#ifndef _GLIBCXX_CWCTYPE +#define _GLIBCXX_CWCTYPE 1 #pragma GCC system_header #include -#if _GLIBCPP_HAVE_WCTYPE_H +#if _GLIBCXX_HAVE_WCTYPE_H #include_next #endif -#endif +#endif -- cgit v1.3