std_cerrno.h: Correct date format for copyright.
2001-02-05 Benjamin Kosnik <bkoz@redhat.com> * include/c_std/bits/std_cerrno.h: Correct date format for copyright. * include/c_std/bits/std_cctype.h: Same. * include/c_std/bits/std_cassert.h: Same. * include/c_std/bits/std_cstdarg.h: Same. * include/c_std/bits/std_cstddef.h: Same. * include/c_std/bits/std_cstdio.h: Undefine all names brought into namespace std. * include/c_std/bits/std_ctime.h: Same. * include/c_std/bits/std_clocale.h: Same. * include/c_std/bits/std_cmath.h: Same. * include/c_std/bits/std_csetjmp.h: Same. * include/c_std/bits/std_csignal.h: Same. * include/c_std/bits/std_cstring.h: Same. * include/c_std/bits/std_cstdlib.h: Same. * include/c_std/bits/std_cwchar.h: Same. From-SVN: r39468
This commit is contained in:
parent
2f4e8f2b10
commit
8089616e6a
|
@ -1,3 +1,22 @@
|
||||||
|
2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
|
* include/c_std/bits/std_cerrno.h: Correct date format for copyright.
|
||||||
|
* include/c_std/bits/std_cctype.h: Same.
|
||||||
|
* include/c_std/bits/std_cassert.h: Same.
|
||||||
|
* include/c_std/bits/std_cstdarg.h: Same.
|
||||||
|
* include/c_std/bits/std_cstddef.h: Same.
|
||||||
|
|
||||||
|
* include/c_std/bits/std_cstdio.h: Undefine all names brought into
|
||||||
|
namespace std.
|
||||||
|
* include/c_std/bits/std_ctime.h: Same.
|
||||||
|
* include/c_std/bits/std_clocale.h: Same.
|
||||||
|
* include/c_std/bits/std_cmath.h: Same.
|
||||||
|
* include/c_std/bits/std_csetjmp.h: Same.
|
||||||
|
* include/c_std/bits/std_csignal.h: Same.
|
||||||
|
* include/c_std/bits/std_cstring.h: Same.
|
||||||
|
* include/c_std/bits/std_cstdlib.h: Same.
|
||||||
|
* include/c_std/bits/std_cwchar.h: Same.
|
||||||
|
|
||||||
2001-02-05 Phil Edwards <pme@sources.redhat.com>
|
2001-02-05 Phil Edwards <pme@sources.redhat.com>
|
||||||
|
|
||||||
* testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
|
* testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- C++ -*- forwarding header.
|
// -*- C++ -*- forwarding header.
|
||||||
|
|
||||||
// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc.
|
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// 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
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
@ -31,8 +31,6 @@
|
||||||
// ISO C++ 14882: 19.2 Assertions
|
// ISO C++ 14882: 19.2 Assertions
|
||||||
//
|
//
|
||||||
|
|
||||||
// Note: This is not a conforming implementation.
|
|
||||||
|
|
||||||
// No include guards on this header...
|
// No include guards on this header...
|
||||||
|
|
||||||
#pragma GCC system_header
|
#pragma GCC system_header
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- C++ -*- forwarding header.
|
// -*- C++ -*- forwarding header.
|
||||||
|
|
||||||
// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc.
|
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// 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
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// The -*- C++ -*- error number header.
|
// The -*- C++ -*- error number header.
|
||||||
|
|
||||||
// Copyright (C) 1997-1999 Free Software Foundation, Inc.
|
// Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// 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
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- C++ -*- forwarding header.
|
// -*- C++ -*- forwarding header.
|
||||||
|
|
||||||
// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc.
|
// Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// 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
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- C++ -*- forwarding header.
|
// -*- C++ -*- forwarding header.
|
||||||
|
|
||||||
// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc.
|
// Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// 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
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
|
|
@ -41,6 +41,10 @@
|
||||||
#pragma GCC system_header
|
#pragma GCC system_header
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
|
|
||||||
|
// Get rid of those macros defined in <locale.h> in lieu of real functions.
|
||||||
|
#undef setlocale
|
||||||
|
#undef localeconv
|
||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
using ::lconv;
|
using ::lconv;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- C++ -*- C math library.
|
// -*- C++ -*- C math library.
|
||||||
|
|
||||||
// Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
|
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// 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
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
@ -42,6 +42,31 @@
|
||||||
#pragma GCC system_header
|
#pragma GCC system_header
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
// Get rid of those macros defined in <math.h> in lieu of real functions.
|
||||||
|
#undef abs
|
||||||
|
#undef div
|
||||||
|
#undef acos
|
||||||
|
#undef asin
|
||||||
|
#undef atan
|
||||||
|
#undef atan2
|
||||||
|
#undef ceil
|
||||||
|
#undef cos
|
||||||
|
#undef cosh
|
||||||
|
#undef exp
|
||||||
|
#undef fabs
|
||||||
|
#undef floor
|
||||||
|
#undef fmod
|
||||||
|
#undef frexp
|
||||||
|
#undef ldexp
|
||||||
|
#undef log
|
||||||
|
#undef log10
|
||||||
|
#undef modf
|
||||||
|
#undef pow
|
||||||
|
#undef sin
|
||||||
|
#undef sinh
|
||||||
|
#undef tan
|
||||||
|
#undef tanh
|
||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
// Forward declaration of a helper function. This really should be
|
// Forward declaration of a helper function. This really should be
|
||||||
|
@ -580,8 +605,6 @@ namespace std
|
||||||
inline long double
|
inline long double
|
||||||
tanh(long double __x) { return ::tanh(static_cast<double>(__x)); }
|
tanh(long double __x) { return ::tanh(static_cast<double>(__x)); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
} // std
|
} // std
|
||||||
|
|
||||||
#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
|
#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- C++ -*- forwarding header.
|
// -*- C++ -*- forwarding header.
|
||||||
|
|
||||||
// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc.
|
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// 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
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
@ -39,6 +39,9 @@
|
||||||
#pragma GCC system_header
|
#pragma GCC system_header
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
|
||||||
|
// Get rid of those macros defined in <setjmp.h> in lieu of real functions.
|
||||||
|
#undef longjmp
|
||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
using ::jmp_buf;
|
using ::jmp_buf;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- C++ -*- forwarding header.
|
// -*- C++ -*- forwarding header.
|
||||||
|
|
||||||
// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc.
|
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// 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
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
@ -39,6 +39,9 @@
|
||||||
#pragma GCC system_header
|
#pragma GCC system_header
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
|
// Get rid of those macros defined in <signal.h> in lieu of real functions.
|
||||||
|
#undef raise
|
||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
using ::sig_atomic_t;
|
using ::sig_atomic_t;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- C++ -*- forwarding header.
|
// -*- C++ -*- forwarding header.
|
||||||
|
|
||||||
// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc.
|
// Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// 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
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// -*- C++ -*- forwarding header.
|
// -*- C++ -*- forwarding header.
|
||||||
|
|
||||||
// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc.
|
// Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// 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
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
|
|
@ -44,15 +44,52 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
// Get rid of those macros defined in <stdio.h> in lieu of real functions.
|
// Get rid of those macros defined in <stdio.h> in lieu of real functions.
|
||||||
|
#undef remove
|
||||||
|
#undef rename
|
||||||
|
#undef tmpfile
|
||||||
|
#undef tmpnam
|
||||||
|
#undef fclose
|
||||||
|
#undef fflush
|
||||||
|
#undef fopen
|
||||||
|
#undef freopen
|
||||||
|
#undef setbuf
|
||||||
|
#undef setvbuf
|
||||||
|
#undef fprintf
|
||||||
|
#undef fscanf
|
||||||
|
#undef printf
|
||||||
|
#undef scanf
|
||||||
|
#undef snprintf
|
||||||
|
#undef sprintf
|
||||||
|
#undef sscanf
|
||||||
|
#undef vfprintf
|
||||||
|
#undef vfscanf
|
||||||
|
#undef vprintf
|
||||||
|
#undef vscanf
|
||||||
|
#undef vsnprintf
|
||||||
|
#undef vsprintf
|
||||||
|
#undef vsscanf
|
||||||
|
#undef fgetc
|
||||||
|
#undef fgets
|
||||||
|
#undef fputc
|
||||||
|
#undef fputs
|
||||||
|
#undef getc
|
||||||
|
#undef getchar
|
||||||
|
#undef gets
|
||||||
|
#undef putc
|
||||||
|
#undef putchar
|
||||||
|
#undef puts
|
||||||
|
#undef ungetc
|
||||||
|
#undef fread
|
||||||
|
#undef fwrite
|
||||||
|
#undef fgetpos
|
||||||
|
#undef fseek
|
||||||
|
#undef fsetpos
|
||||||
|
#undef ftell
|
||||||
|
#undef rewind
|
||||||
#undef clearerr
|
#undef clearerr
|
||||||
#undef feof
|
#undef feof
|
||||||
#undef ferror
|
#undef ferror
|
||||||
#undef fileno
|
#undef perror
|
||||||
#undef getc
|
|
||||||
#undef getchar
|
|
||||||
#undef putc
|
|
||||||
#undef putchar
|
|
||||||
#undef printf
|
|
||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
|
|
|
@ -42,8 +42,43 @@
|
||||||
#pragma GCC system_header
|
#pragma GCC system_header
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
// Get rid of those macros defined in <stdio.h> in lieu of real functions.
|
// Get rid of those macros defined in <stdlib.h> in lieu of real functions.
|
||||||
|
#undef atof
|
||||||
|
#undef atoi
|
||||||
|
#undef atol
|
||||||
|
#undef strtod
|
||||||
|
#undef strtof
|
||||||
|
#undef strtol
|
||||||
|
#undef strtoul
|
||||||
|
#undef rand
|
||||||
|
#undef srand
|
||||||
|
#undef calloc
|
||||||
|
#undef free
|
||||||
|
#undef malloc
|
||||||
|
#undef realloc
|
||||||
|
#undef abort
|
||||||
|
#undef atexit
|
||||||
|
#undef exit
|
||||||
|
#undef _Exit
|
||||||
|
#undef getenv
|
||||||
|
#undef system
|
||||||
|
#undef bsearch
|
||||||
|
#undef qsort
|
||||||
|
#undef abs
|
||||||
|
#undef labs
|
||||||
|
#undef llabs
|
||||||
|
#undef div
|
||||||
|
#undef ldiv
|
||||||
|
#undef lldiv
|
||||||
#undef mblen
|
#undef mblen
|
||||||
|
#undef mbtowc
|
||||||
|
#undef wctomb
|
||||||
|
#undef mbstowcs
|
||||||
|
#undef wcstombs
|
||||||
|
#undef atoll
|
||||||
|
#undef strtoll
|
||||||
|
#undef strtoull
|
||||||
|
#undef strtold
|
||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
|
|
|
@ -42,6 +42,30 @@
|
||||||
#pragma GCC system_header
|
#pragma GCC system_header
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
// Get rid of those macros defined in <string.h> in lieu of real functions.
|
||||||
|
#undef memcpy
|
||||||
|
#undef memmove
|
||||||
|
#undef strcpy
|
||||||
|
#undef strncpy
|
||||||
|
#undef strcat
|
||||||
|
#undef strncat
|
||||||
|
#undef memcmp
|
||||||
|
#undef strcmp
|
||||||
|
#undef strcoll
|
||||||
|
#undef strncmp
|
||||||
|
#undef strxfrm
|
||||||
|
#undef memchr
|
||||||
|
#undef strchr
|
||||||
|
#undef strcspn
|
||||||
|
#undef strpbrk
|
||||||
|
#undef strrchr
|
||||||
|
#undef strspn
|
||||||
|
#undef strstr
|
||||||
|
#undef strtok
|
||||||
|
#undef memset
|
||||||
|
#undef strerror
|
||||||
|
#undef strlen
|
||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
extern "C" void* memcpy(void*, const void*, size_t);
|
extern "C" void* memcpy(void*, const void*, size_t);
|
||||||
|
|
|
@ -42,7 +42,16 @@
|
||||||
#pragma GCC system_header
|
#pragma GCC system_header
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
// Get rid of those macros defined in <time.h> in lieu of real functions.
|
||||||
|
#undef clock
|
||||||
#undef difftime
|
#undef difftime
|
||||||
|
#undef mktime
|
||||||
|
#undef time
|
||||||
|
#undef asctime
|
||||||
|
#undef ctime
|
||||||
|
#undef gmtime
|
||||||
|
#undef localtime
|
||||||
|
#undef strftime
|
||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// Need to do a bit of trickery here with mbstate_t as char_traits
|
// 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.
|
// assumes it is in wchar.h, regardless of wchar_t specializations.
|
||||||
#ifndef _GLIBCPP_HAVE_MBSTATE_T
|
#ifndef _GLIBCPP_HAVE_MBSTATE_T
|
||||||
|
@ -64,7 +65,50 @@ namespace std
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get rid of those macros defined in <wchar.h> in lieu of real functions.
|
// Get rid of those macros defined in <wchar.h> in lieu of real functions.
|
||||||
|
#undef vwprintf
|
||||||
|
#undef vwscanf
|
||||||
|
#undef wprintf
|
||||||
|
#undef wscanf
|
||||||
|
#undef getwc
|
||||||
#undef getwchar
|
#undef getwchar
|
||||||
|
#undef mbsinit
|
||||||
|
#undef mbrlen
|
||||||
|
#undef mbrtowc
|
||||||
|
#undef mbsrtowcs
|
||||||
|
#undef wcsrtombs
|
||||||
|
#undef putwc
|
||||||
|
#undef putwchar
|
||||||
|
#undef ungetwc
|
||||||
|
#undef wcrtomb
|
||||||
|
#undef wcstod
|
||||||
|
#undef wcstof
|
||||||
|
#undef wcstol
|
||||||
|
#undef wcstoul
|
||||||
|
#undef wcscpy
|
||||||
|
#undef wcsncpy
|
||||||
|
#undef wcscat
|
||||||
|
#undef wcsncat
|
||||||
|
#undef wcscmp
|
||||||
|
#undef wcscoll
|
||||||
|
#undef wcsncmp
|
||||||
|
#undef wcsxfrm
|
||||||
|
#undef wcschr
|
||||||
|
#undef wcscspn
|
||||||
|
#undef wcslen
|
||||||
|
#undef wcspbrk
|
||||||
|
#undef wcsrchr
|
||||||
|
#undef wcsspn
|
||||||
|
#undef wcsstr
|
||||||
|
#undef wcstok
|
||||||
|
#undef wmemchr
|
||||||
|
#undef wmemcmp
|
||||||
|
#undef wmemcpy
|
||||||
|
#undef wmemmove
|
||||||
|
#undef wmemset
|
||||||
|
#undef wcsftime
|
||||||
|
#undef wcstold
|
||||||
|
#undef wcstoll
|
||||||
|
#undef wcstoull
|
||||||
|
|
||||||
#if _GLIBCPP_USE_WCHAR_T
|
#if _GLIBCPP_USE_WCHAR_T
|
||||||
namespace std
|
namespace std
|
||||||
|
|
Loading…
Reference in New Issue