This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[v3] "C" header fixes
- To: gcc-patches at gcc dot gnu dot org
- Subject: [v3] "C" header fixes
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Fri, 8 Jun 2001 07:34:09 -0700
Resolves remaining testsuite failure, plus ongoing problems with string.h.
tested on x86/linux with a compiler that still bootstraps
-benjamin
2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
* include/std/*: Add copyright notice.
* include/c_std/bits/*: Use using statements instead of extern "C".
* include/c_std/bits/std_cmath.h: Don't overload double versions
of math functions with __buitin versions, use global version to
prevent ambiguities. Remove define hacks.
* include/c_std/bits/std_cwchar.h: Add ising declarations for "C"
functions that have changed signatures and std::
declarations. Remove define hacks.
* include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
__builtins in std::. Remove define hacks.
Index: include/c_std/bits/std_cassert.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_cassert.h,v
retrieving revision 1.5
diff -c -p -r1.5 std_cassert.h
*** std_cassert.h 2001/02/05 22:27:40 1.5
--- std_cassert.h 2001/06/08 13:05:04
***************
*** 34,40 ****
// No include guards on this header...
#pragma GCC system_header
! #include <assert.h>
--- 34,40 ----
// No include guards on this header...
#pragma GCC system_header
! #include_next <assert.h>
Index: include/c_std/bits/std_cctype.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_cctype.h,v
retrieving revision 1.4
diff -c -p -r1.4 std_cctype.h
*** std_cctype.h 2001/02/05 22:27:40 1.4
--- std_cctype.h 2001/06/08 13:05:04
***************
*** 31,45 ****
// ISO C++ 14882: <ccytpe>
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CCTYPE
#define _CPP_CCTYPE 1
#include <bits/c++config.h>
#pragma GCC system_header
! #include <ctype.h>
// Get rid of those macros defined in <ctype.h> in lieu of real functions.
#undef isalnum
--- 31,43 ----
// ISO C++ 14882: <ccytpe>
//
#ifndef _CPP_CCTYPE
#define _CPP_CCTYPE 1
#include <bits/c++config.h>
#pragma GCC system_header
! #include_next <ctype.h>
// Get rid of those macros defined in <ctype.h> in lieu of real functions.
#undef isalnum
***************
*** 59,90 ****
namespace std
{
! extern "C" int isalnum(int __c);
! extern "C" int isalpha(int __c);
! extern "C" int isblank(int __c);
! extern "C" int iscntrl(int __c);
! extern "C" int isdigit(int __c);
! extern "C" int isgraph(int __c);
! extern "C" int islower(int __c);
! extern "C" int isprint(int __c);
! extern "C" int ispunct(int __c);
! extern "C" int isspace(int __c);
! extern "C" int isupper(int __c);
! extern "C" int isxdigit(int __c);
! extern "C" int tolower(int __c);
! extern "C" int toupper(int __c);
}
#endif
-
-
-
-
-
-
-
-
-
-
-
-
--- 57,76 ----
namespace std
{
! using ::isalnum;
! using ::isalpha;
! using ::isblank;
! using ::iscntrl;
! using ::isdigit;
! using ::isgraph;
! using ::islower;
! using ::isprint;
! using ::ispunct;
! using ::isspace;
! using ::isupper;
! using ::isxdigit;
! using ::tolower;
! using ::toupper;
}
#endif
Index: include/c_std/bits/std_cerrno.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_cerrno.h,v
retrieving revision 1.7
diff -c -p -r1.7 std_cerrno.h
*** std_cerrno.h 2001/04/23 19:54:34 1.7
--- std_cerrno.h 2001/06/08 13:05:04
***************
*** 31,43 ****
// ISO C++ 14882: 19.3 Error numbers
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CERRNO
#define _CPP_CERRNO 1
#pragma GCC system_header
! #include <errno.h>
// Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
#ifndef errno
--- 31,41 ----
// ISO C++ 14882: 19.3 Error numbers
//
#ifndef _CPP_CERRNO
#define _CPP_CERRNO 1
#pragma GCC system_header
! #include_next <errno.h>
// Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
#ifndef errno
Index: include/c_std/bits/std_cfloat.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_cfloat.h,v
retrieving revision 1.4
diff -c -p -r1.4 std_cfloat.h
*** std_cfloat.h 2001/02/05 22:27:40 1.4
--- std_cfloat.h 2001/06/08 13:05:04
***************
*** 31,43 ****
// ISO C++ 14882: 18.2.2 Implementation properties: C library
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CFLOAT
#define _CPP_CFLOAT 1
#pragma GCC system_header
! #include <float.h>
#endif
-
--- 31,40 ----
// ISO C++ 14882: 18.2.2 Implementation properties: C library
//
#ifndef _CPP_CFLOAT
#define _CPP_CFLOAT 1
#pragma GCC system_header
! #include_next <float.h>
#endif
Index: include/c_std/bits/std_climits.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_climits.h,v
retrieving revision 1.5
diff -c -p -r1.5 std_climits.h
*** std_climits.h 2001/02/05 22:27:40 1.5
--- std_climits.h 2001/06/08 13:05:04
***************
*** 31,47 ****
// ISO C++ 14882: 18.2.2 Implementation properties: C library
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CLIMITS
#define _CPP_CLIMITS 1
#pragma GCC system_header
! #include <limits.h>
#endif
-
-
-
-
-
--- 31,40 ----
// ISO C++ 14882: 18.2.2 Implementation properties: C library
//
#ifndef _CPP_CLIMITS
#define _CPP_CLIMITS 1
#pragma GCC system_header
! #include_next <limits.h>
#endif
Index: include/c_std/bits/std_clocale.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_clocale.h,v
retrieving revision 1.5
diff -c -p -r1.5 std_clocale.h
*** std_clocale.h 2001/02/05 22:27:40 1.5
--- std_clocale.h 2001/06/08 13:05:04
***************
*** 31,45 ****
// ISO C++ 14882: 18.2.2 Implementation properties: C library
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CLOCALE
#define _CPP_CLOCALE 1
#include <bits/c++config.h>
#pragma GCC system_header
! #include <locale.h>
// Get rid of those macros defined in <locale.h> in lieu of real functions.
#undef setlocale
--- 31,43 ----
// ISO C++ 14882: 18.2.2 Implementation properties: C library
//
#ifndef _CPP_CLOCALE
#define _CPP_CLOCALE 1
#include <bits/c++config.h>
#pragma GCC system_header
! #include_next <locale.h>
// Get rid of those macros defined in <locale.h> in lieu of real functions.
#undef setlocale
***************
*** 48,58 ****
namespace std
{
using ::lconv;
! extern "C" char* setlocale(int, const char*);
! extern "C" struct lconv* localeconv(void);
}
#endif
-
-
-
--- 46,53 ----
namespace std
{
using ::lconv;
! using ::setlocale;
! using ::localeconv;
}
#endif
Index: include/c_std/bits/std_cmath.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_cmath.h,v
retrieving revision 1.13
diff -c -p -r1.13 std_cmath.h
*** std_cmath.h 2001/05/30 11:34:26 1.13
--- std_cmath.h 2001/06/08 13:05:06
***************
*** 31,56 ****
// ISO C++ 14882: 26.5 C library
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CMATH
#define _CPP_CMATH 1
#include <bits/c++config.h>
- #include <bits/std_cstdlib.h>
-
- #pragma GCC system_header
-
- // Need to mangle these "C" functions. Ideally, we could like to do the
- // same for the remaining of the "C" functions but they do not have
- // builtin implementations. So, they are still of nuisance.
- #define abs __glibcpp_abs
- #define cos __glibcpp_cos
- #define fabs __glibcpp_fabs
- #define sin __glibcpp_sin
- #define sqrt __glibcpp_sqrt
! #include <math.h>
// Get rid of those macros defined in <math.h> in lieu of real functions.
#undef abs
--- 31,43 ----
// ISO C++ 14882: 26.5 C library
//
#ifndef _CPP_CMATH
#define _CPP_CMATH 1
#include <bits/c++config.h>
! #pragma GCC system_header
! #include_next <math.h>
// Get rid of those macros defined in <math.h> in lieu of real functions.
#undef abs
*************** namespace std
*** 91,97 ****
return __x < _Tp() ? -__x : __x;
}
- // abs.
inline float
abs(float __x)
{ return __builtin_fabsf(__x); }
--- 78,83 ----
*************** namespace std
*** 104,111 ****
abs(long double __x)
{ return __builtin_fabsl(__x); }
-
- // acos.
#if _GLIBCPP_HAVE_ACOSF
inline float
acos(float __x) { return ::acosf(__x); }
--- 90,95 ----
*************** namespace std
*** 114,120 ****
acos(float __x) { return ::acos(static_cast<double>(__x)); }
#endif
! extern "C" double acos(double __x);
#if _GLIBCPP_HAVE_ACOSL
inline long double
--- 98,104 ----
acos(float __x) { return ::acos(static_cast<double>(__x)); }
#endif
! using ::acos;
#if _GLIBCPP_HAVE_ACOSL
inline long double
*************** namespace std
*** 124,131 ****
acos(long double __x) { return ::acos(static_cast<double>(__x)); }
#endif
-
- // asin.
#if _GLIBCPP_HAVE_ASINF
inline float
asin(float __x) { return ::asinf(__x); }
--- 108,113 ----
*************** namespace std
*** 134,140 ****
asin(float __x) { return ::asin(static_cast<double>(__x)); }
#endif
! extern "C" double asin(double __x);
#if _GLIBCPP_HAVE_ASINL
inline long double
--- 116,122 ----
asin(float __x) { return ::asin(static_cast<double>(__x)); }
#endif
! using ::asin;
#if _GLIBCPP_HAVE_ASINL
inline long double
*************** namespace std
*** 144,151 ****
asin(long double __x) { return ::asin(static_cast<double>(__x)); }
#endif
-
- // atan.
#if _GLIBCPP_HAVE_ATANF
inline float
atan(float __x) { return ::atanf(__x); }
--- 126,131 ----
*************** namespace std
*** 154,160 ****
atan(float __x) { return ::atan(static_cast<double>(__x)); }
#endif
! extern "C" double atan(double __x);
#if _GLIBCPP_HAVE_ATANL
inline long double
--- 134,140 ----
atan(float __x) { return ::atan(static_cast<double>(__x)); }
#endif
! using ::atan;
#if _GLIBCPP_HAVE_ATANL
inline long double
*************** namespace std
*** 164,171 ****
atan(long double __x) { return ::atan(static_cast<double>(__x)); }
#endif
-
- // atan2.
#if _GLIBCPP_HAVE_ATAN2F
inline float
atan2(float __y, float __x) { return ::atan2f(__y, __x); }
--- 144,149 ----
*************** namespace std
*** 175,181 ****
{ return ::atan2(static_cast<double>(__y), static_cast<double>(__x)); }
#endif
! extern "C" double atan2(double __y, double __x);
#if _GLIBCPP_HAVE_ATAN2L
inline long double
--- 153,159 ----
{ return ::atan2(static_cast<double>(__y), static_cast<double>(__x)); }
#endif
! using ::atan2;
#if _GLIBCPP_HAVE_ATAN2L
inline long double
*************** namespace std
*** 186,193 ****
{ return ::atan2(static_cast<double>(__y), static_cast<double>(__x)); }
#endif
-
- // ceil.
#if _GLIBCPP_HAVE_CEILF
inline float
ceil(float __x) { return ::ceilf(__x); }
--- 164,169 ----
*************** namespace std
*** 196,202 ****
ceil(float __x) { return ::ceil(static_cast<double>(__x)); }
#endif
! extern "C" double ceil(double __x);
#if _GLIBCPP_HAVE_CEILL
inline long double
--- 172,178 ----
ceil(float __x) { return ::ceil(static_cast<double>(__x)); }
#endif
! using ::ceil;
#if _GLIBCPP_HAVE_CEILL
inline long double
*************** namespace std
*** 206,227 ****
ceil(long double __x) { return ::ceil(static_cast<double>(__x)); }
#endif
-
- // cos.
inline float
cos(float __x)
{ return __builtin_cosf(__x); }
! inline double
! cos(double __x)
! { return __builtin_cos(__x); }
inline long double
cos(long double __x)
{ return __builtin_cosl(__x); }
-
- // cosh.
#if _GLIBCPP_HAVE_COSHF
inline float
cosh(float __x) { return ::coshf(__x); }
--- 182,197 ----
ceil(long double __x) { return ::ceil(static_cast<double>(__x)); }
#endif
inline float
cos(float __x)
{ return __builtin_cosf(__x); }
! using ::cos;
inline long double
cos(long double __x)
{ return __builtin_cosl(__x); }
#if _GLIBCPP_HAVE_COSHF
inline float
cosh(float __x) { return ::coshf(__x); }
*************** namespace std
*** 230,236 ****
cosh(float __x) { return ::cosh(static_cast<double>(__x)); }
#endif
! extern "C" double cosh(double __x);
#if _GLIBCPP_HAVE_COSHL
inline long double
--- 200,206 ----
cosh(float __x) { return ::cosh(static_cast<double>(__x)); }
#endif
! using ::cosh;
#if _GLIBCPP_HAVE_COSHL
inline long double
*************** namespace std
*** 240,247 ****
cosh(long double __x) { return ::cosh(static_cast<double>(__x)); }
#endif
-
- // exp.
#if _GLIBCPP_HAVE_EXPF
inline float
exp(float __x) { return ::expf(__x); }
--- 210,215 ----
*************** namespace std
*** 250,256 ****
exp(float __x) { return ::exp(static_cast<double>(__x)); }
#endif
! extern "C" double exp(double __x);
#if _GLIBCPP_HAVE_EXPL
inline long double
--- 218,224 ----
exp(float __x) { return ::exp(static_cast<double>(__x)); }
#endif
! using ::exp;
#if _GLIBCPP_HAVE_EXPL
inline long double
*************** namespace std
*** 260,281 ****
exp(long double __x) { return ::exp(static_cast<double>(__x)); }
#endif
-
- // fabs.
inline float
fabs(float __x)
{ return __builtin_fabsf(__x); }
! inline double
! fabs(double __x)
! { return __builtin_fabs(__x); }
inline long double
fabs(long double __x)
{ return __builtin_fabsl(__x); }
-
- // floor.
#if _GLIBCPP_HAVE_FLOORF
inline float
floor(float __x) { return ::floorf(__x); }
--- 228,243 ----
exp(long double __x) { return ::exp(static_cast<double>(__x)); }
#endif
inline float
fabs(float __x)
{ return __builtin_fabsf(__x); }
! using ::fabs;
inline long double
fabs(long double __x)
{ return __builtin_fabsl(__x); }
#if _GLIBCPP_HAVE_FLOORF
inline float
floor(float __x) { return ::floorf(__x); }
*************** namespace std
*** 284,290 ****
floor(float __x) { return ::floor(static_cast<double>(__x)); }
#endif
! extern "C" double floor(double __x);
#if _GLIBCPP_HAVE_FLOORL
inline long double
--- 246,252 ----
floor(float __x) { return ::floor(static_cast<double>(__x)); }
#endif
! using ::floor;
#if _GLIBCPP_HAVE_FLOORL
inline long double
*************** namespace std
*** 294,301 ****
floor(long double __x) { return ::floor(static_cast<double>(__x)); }
#endif
-
- // fmod.
#if _GLIBCPP_HAVE_FMODF
inline float
fmod(float __x, float __y) { return ::fmodf(__x, __y); }
--- 256,261 ----
*************** namespace std
*** 305,311 ****
{ return ::fmod(static_cast<double>(__x), static_cast<double>(__y)); }
#endif
! extern "C" double fmod(double __x, double __y);
#if _GLIBCPP_HAVE_FMODL
inline long double
--- 265,271 ----
{ return ::fmod(static_cast<double>(__x), static_cast<double>(__y)); }
#endif
! using ::fmod;
#if _GLIBCPP_HAVE_FMODL
inline long double
*************** namespace std
*** 316,323 ****
{ return ::fmod(static_cast<double>(__x), static_cast<double>(__y)); }
#endif
-
- // frexp.
#if _GLIBCPP_HAVE_FREXPF
inline float
frexp(float __x, int* __exp) { return ::frexpf(__x, __exp); }
--- 276,281 ----
*************** namespace std
*** 326,332 ****
frexp(float __x, int* __exp) { return ::frexp(__x, __exp); }
#endif
! extern "C" double frexp(double __x, int* __exp);
#if _GLIBCPP_HAVE_FREXPL
inline long double
--- 284,290 ----
frexp(float __x, int* __exp) { return ::frexp(__x, __exp); }
#endif
! using ::frexp;
#if _GLIBCPP_HAVE_FREXPL
inline long double
*************** namespace std
*** 337,344 ****
{ return ::frexp(static_cast<double>(__x), __exp); }
#endif
-
- // ldexp.
#if _GLIBCPP_HAVE_LDEXPF
inline float
ldexp(float __x, int __exp) { return ::ldexpf(__x, __exp); }
--- 295,300 ----
*************** namespace std
*** 348,354 ****
{ return ::ldexp(static_cast<double>(__x), __exp); }
#endif
! extern "C" double ldexp(double __x, int __exp);
#if _GLIBCPP_HAVE_LDEXPL
inline long double
--- 304,310 ----
{ return ::ldexp(static_cast<double>(__x), __exp); }
#endif
! using ::ldexp;
#if _GLIBCPP_HAVE_LDEXPL
inline long double
*************** namespace std
*** 359,366 ****
{ return ::ldexp(static_cast<double>(__x), __exp); }
#endif
-
- // log.
#if _GLIBCPP_HAVE_LOGF
inline float
log(float __x) { return ::logf(__x); }
--- 315,320 ----
*************** namespace std
*** 369,375 ****
{ return ::log(static_cast<double>(__x)); }
#endif
! extern "C" double log(double __x);
#if _GLIBCPP_HAVE_LOGL
inline long double
--- 323,329 ----
{ return ::log(static_cast<double>(__x)); }
#endif
! using ::log;
#if _GLIBCPP_HAVE_LOGL
inline long double
*************** namespace std
*** 379,386 ****
log(long double __x) { return ::log(static_cast<double>(__x)); }
#endif
-
- // log10.
#if _GLIBCPP_HAVE_LOG10F
inline float
log10(float __x) { return ::log10f(__x); }
--- 333,338 ----
*************** namespace std
*** 389,395 ****
log10(float __x) { return ::log10(static_cast<double>(__x)); }
#endif
! extern "C" double log10(double __x);
#if _GLIBCPP_HAVE_LOG10L
inline long double
--- 341,347 ----
log10(float __x) { return ::log10(static_cast<double>(__x)); }
#endif
! using ::log10;
#if _GLIBCPP_HAVE_LOG10L
inline long double
*************** namespace std
*** 399,406 ****
log10(long double __x) { return ::log10(static_cast<double>(__x)); }
#endif
-
- // modf.
#if _GLIBCPP_HAVE_MODFF
inline float
modf(float __x, float* __iptr) { return ::modff(__x, __iptr); }
--- 351,356 ----
*************** namespace std
*** 415,421 ****
}
#endif
! extern "C" double modf(double __x, double* __iptr);
#if _GLIBCPP_HAVE_MODFL
inline long double
--- 365,371 ----
}
#endif
! using ::modf;
#if _GLIBCPP_HAVE_MODFL
inline long double
*************** namespace std
*** 431,438 ****
}
#endif
-
- // pow.
template<typename _Tp>
inline _Tp
__pow_helper(_Tp __x, int __n)
--- 381,386 ----
*************** namespace std
*** 451,457 ****
{ return ::pow(static_cast<double>(__x), static_cast<double>(__y)); }
#endif
! extern "C" double pow(double __x, double __y);
#if _GLIBCPP_HAVE_POWL
inline long double
--- 399,405 ----
{ return ::pow(static_cast<double>(__x), static_cast<double>(__y)); }
#endif
! using ::pow;
#if _GLIBCPP_HAVE_POWL
inline long double
*************** namespace std
*** 464,501 ****
inline float
pow(float __x, int __n)
! {
! return __pow_helper(__x, __n);
! }
inline double
pow(double __x, int __i)
! {
! return __pow_helper(__x, __i);
! }
inline long double
pow(long double __x, int __n)
! {
! return __pow_helper(__x, __n);
! }
!
- // sin.
inline float
sin(float __x)
{ return __builtin_sinf(__x); }
! inline double
! sin(double __x)
! { return __builtin_sin(__x); }
inline long double
sin(long double __x)
{ return __builtin_sinl(__x); }
-
- // sinh.
#if _GLIBCPP_HAVE_SINHF
inline float
sinh(float __x) { return ::sinhf(__x); }
--- 412,437 ----
inline float
pow(float __x, int __n)
! { return __pow_helper(__x, __n); }
inline double
pow(double __x, int __i)
! { return __pow_helper(__x, __i); }
inline long double
pow(long double __x, int __n)
! { return __pow_helper(__x, __n); }
inline float
sin(float __x)
{ return __builtin_sinf(__x); }
! using ::sin;
inline long double
sin(long double __x)
{ return __builtin_sinl(__x); }
#if _GLIBCPP_HAVE_SINHF
inline float
sinh(float __x) { return ::sinhf(__x); }
*************** namespace std
*** 504,510 ****
sinh(float __x) { return ::sinh(static_cast<double>(__x)); }
#endif
! extern "C" double sinh(double __x);
#if _GLIBCPP_HAVE_SINHL
inline long double
--- 440,446 ----
sinh(float __x) { return ::sinh(static_cast<double>(__x)); }
#endif
! using ::sinh;
#if _GLIBCPP_HAVE_SINHL
inline long double
*************** namespace std
*** 514,535 ****
sinh(long double __x) { return ::sinh(static_cast<double>(__x)); }
#endif
-
- // sqrt.
inline float
sqrt(float __x)
{ return __builtin_sqrtf(__x); }
! inline double
! sqrt(double __x)
! { return __builtin_fsqrt(__x); }
inline long double
sqrt(long double __x)
{ return __builtin_sqrtl(__x); }
-
- // tan.
#if _GLIBCPP_HAVE_TANF
inline float
tan(float __x) { return ::tanf(__x); }
--- 450,465 ----
sinh(long double __x) { return ::sinh(static_cast<double>(__x)); }
#endif
inline float
sqrt(float __x)
{ return __builtin_sqrtf(__x); }
! using ::sqrt;
inline long double
sqrt(long double __x)
{ return __builtin_sqrtl(__x); }
#if _GLIBCPP_HAVE_TANF
inline float
tan(float __x) { return ::tanf(__x); }
*************** namespace std
*** 538,544 ****
tan(float __x) { return ::tan(static_cast<double>(__x)); }
#endif
! extern "C" double tan(double __x);
#if _GLIBCPP_HAVE_TANL
inline long double
--- 468,474 ----
tan(float __x) { return ::tan(static_cast<double>(__x)); }
#endif
! using ::tan;
#if _GLIBCPP_HAVE_TANL
inline long double
*************** namespace std
*** 548,555 ****
tan(long double __x) { return ::tan(static_cast<double>(__x)); }
#endif
-
- // tanh.
#if _GLIBCPP_HAVE_TANHF
inline float
tanh(float __x) { return ::tanhf(__x); }
--- 478,483 ----
*************** namespace std
*** 558,564 ****
tanh(float __x) { return ::tanh(static_cast<double>(__x)); }
#endif
! extern "C" double tanh(double __x);
#if _GLIBCPP_HAVE_TANHL
inline long double
--- 486,492 ----
tanh(float __x) { return ::tanh(static_cast<double>(__x)); }
#endif
! using ::tanh;
#if _GLIBCPP_HAVE_TANHL
inline long double
Index: include/c_std/bits/std_csetjmp.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_csetjmp.h,v
retrieving revision 1.6
diff -c -p -r1.6 std_csetjmp.h
*** std_csetjmp.h 2001/04/23 19:54:34 1.6
--- std_csetjmp.h 2001/06/08 13:05:06
***************
*** 31,43 ****
// ISO C++ 14882: 20.4.6 C library
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CSETJMP
#define _CPP_CSETJMP 1
#pragma GCC system_header
! #include <setjmp.h>
// Get rid of those macros defined in <setjmp.h> in lieu of real functions.
#undef longjmp
--- 31,41 ----
// ISO C++ 14882: 20.4.6 C library
//
#ifndef _CPP_CSETJMP
#define _CPP_CSETJMP 1
#pragma GCC system_header
! #include_next <setjmp.h>
// Get rid of those macros defined in <setjmp.h> in lieu of real functions.
#undef longjmp
***************
*** 50,56 ****
namespace std
{
using ::jmp_buf;
! extern "C" void longjmp(jmp_buf, int);
}
#endif
--- 48,54 ----
namespace std
{
using ::jmp_buf;
! using ::longjmp;
}
#endif
Index: include/c_std/bits/std_csignal.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_csignal.h,v
retrieving revision 1.4
diff -c -p -r1.4 std_csignal.h
*** std_csignal.h 2001/02/05 22:27:40 1.4
--- std_csignal.h 2001/06/08 13:05:06
***************
*** 31,43 ****
// ISO C++ 14882: 20.4.6 C library
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CSIGNAL
#define _CPP_CSIGNAL 1
#pragma GCC system_header
! #include <signal.h>
// Get rid of those macros defined in <signal.h> in lieu of real functions.
#undef raise
--- 31,41 ----
// ISO C++ 14882: 20.4.6 C library
//
#ifndef _CPP_CSIGNAL
#define _CPP_CSIGNAL 1
#pragma GCC system_header
! #include_next <signal.h>
// Get rid of those macros defined in <signal.h> in lieu of real functions.
#undef raise
***************
*** 45,52 ****
namespace std
{
using ::sig_atomic_t;
! extern "C" void (*signal(int, void (*__func)(int)))(int);
! extern "C" int raise(int);
}
#endif
--- 43,50 ----
namespace std
{
using ::sig_atomic_t;
! using ::signal;
! using ::raise;
}
#endif
Index: include/c_std/bits/std_cstdarg.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_cstdarg.h,v
retrieving revision 1.5
diff -c -p -r1.5 std_cstdarg.h
*** std_cstdarg.h 2001/04/23 19:54:34 1.5
--- std_cstdarg.h 2001/06/08 13:05:06
***************
*** 31,43 ****
// ISO C++ 14882: 20.4.6 C library
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CSTDARG
#define _CPP_CSTDARG 1
#pragma GCC system_header
! #include <stdarg.h>
// Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
#ifndef va_end
--- 31,41 ----
// ISO C++ 14882: 20.4.6 C library
//
#ifndef _CPP_CSTDARG
#define _CPP_CSTDARG 1
#pragma GCC system_header
! #include_next <stdarg.h>
// Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998
#ifndef va_end
Index: include/c_std/bits/std_cstddef.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_cstddef.h,v
retrieving revision 1.6
diff -c -p -r1.6 std_cstddef.h
*** std_cstddef.h 2001/02/05 22:27:40 1.6
--- std_cstddef.h 2001/06/08 13:05:06
***************
*** 31,43 ****
// ISO C++ 14882: 18.1 Types
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CSTDDEF
#define _CPP_CSTDDEF 1
#pragma GCC system_header
! #include <stddef.h>
namespace std
{
--- 31,41 ----
// ISO C++ 14882: 18.1 Types
//
#ifndef _CPP_CSTDDEF
#define _CPP_CSTDDEF 1
#pragma GCC system_header
! #include_next <stddef.h>
namespace std
{
Index: include/c_std/bits/std_cstdio.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_cstdio.h,v
retrieving revision 1.8
diff -c -p -r1.8 std_cstdio.h
*** std_cstdio.h 2001/02/05 22:27:40 1.8
--- std_cstdio.h 2001/06/08 13:05:06
***************
*** 31,38 ****
// ISO C++ 14882: 27.8.2 C Library files
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CSTDIO
#define _CPP_CSTDIO 1
--- 31,36 ----
***************
*** 41,47 ****
#include <bits/std_cstddef.h>
#pragma GCC system_header
! #include <stdio.h>
// Get rid of those macros defined in <stdio.h> in lieu of real functions.
#undef remove
--- 39,45 ----
#include <bits/std_cstddef.h>
#pragma GCC system_header
! #include_next <stdio.h>
// Get rid of those macros defined in <stdio.h> in lieu of real functions.
#undef remove
*************** namespace std
*** 96,155 ****
using ::FILE;
using ::fpos_t;
! extern "C" int remove(const char*);
! extern "C" int rename(const char*, const char*);
! extern "C" FILE* tmpfile(void);
! extern "C" char* tmpnam(char*);
! extern "C" int fclose(FILE*);
! extern "C" int fflush(FILE*);
! extern "C" FILE* fopen(const char*, const char*);
! extern "C" FILE* freopen(const char*, const char*, FILE*);
! extern "C" void setbuf(FILE*, char*);
! extern "C" int setvbuf(FILE*, char*, int, size_t);
! extern "C" int fprintf(FILE*, const char*, ...);
! extern "C" int fscanf(FILE*, const char*, ...);
! extern "C" int printf(const char*, ...);
! extern "C" int scanf(const char*, ...);
! extern "C" int snprintf(char *, size_t, const char*, ...);
! extern "C" int sprintf(char *, const char*, ...);
! extern "C" int sscanf(const char*, const char*, ...);
! extern "C" int vfprintf(FILE*, const char*, va_list);
! extern "C" int vfscanf(FILE*, const char*, va_list);
! extern "C" int vprintf(const char*, va_list);
! extern "C" int vscanf(const char*, va_list);
! extern "C" int vsnprintf(char*, size_t, const char*, va_list);
! extern "C" int vsprintf(char*, const char*, va_list);
! extern "C" int vsscanf(const char*, const char*, va_list);
! extern "C" int fgetc(FILE *);
! extern "C" char *fgets(char*, int, FILE*);
! extern "C" int fputc(int, FILE*);
! extern "C" int fputs(const char*, FILE*);
! extern "C" int getc(FILE*);
! extern "C" int getchar(void);
! extern "C" char *gets(char*);
! extern "C" int putc(int, FILE*);
! extern "C" int putchar(int);
! extern "C" int puts(const char*);
! extern "C" int ungetc(int, FILE*);
! extern "C" size_t fread(void*, size_t, size_t, FILE*);
! extern "C" size_t fwrite(const void*, size_t, size_t, FILE*);
! extern "C" int fgetpos(FILE*, fpos_t*);
! extern "C" int fseek(FILE*, long int, int);
! extern "C" int fsetpos(FILE*, const fpos_t*);
! extern "C" long int ftell(FILE*);
! extern "C" void rewind(FILE*);
! extern "C" void clearerr(FILE*);
! extern "C" int feof(FILE*);
! extern "C" int ferror(FILE*);
! extern "C" void perror(const char*);
}
#endif
-
-
-
-
-
-
-
-
--- 94,145 ----
using ::FILE;
using ::fpos_t;
! using ::remove;
! using ::rename;
! using ::tmpfile;
! using ::tmpnam;
! using ::fclose;
! using ::fflush;
! using ::fopen;
! using ::freopen;
! using ::setbuf;
! using ::setvbuf;
! using ::fprintf;
! using ::fscanf;
! using ::printf;
! using ::scanf;
! using ::snprintf;
! using ::sprintf;
! using ::sscanf;
! using ::vfprintf;
! using ::vfscanf;
! using ::vprintf;
! using ::vscanf;
! using ::vsnprintf;
! using ::vsprintf;
! using ::vsscanf;
! using ::fgetc;
! using ::fgets;
! using ::fputc;
! using ::fputs;
! using ::getc;
! using ::getchar;
! using ::gets;
! using ::putc;
! using ::putchar;
! using ::puts;
! using ::ungetc;
! using ::fread;
! using ::fwrite;
! using ::fgetpos;
! using ::fseek;
! using ::fsetpos;
! using ::ftell;
! using ::rewind;
! using ::clearerr;
! using ::feof;
! using ::ferror;
! using ::perror;
}
#endif
Index: include/c_std/bits/std_cstdlib.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_cstdlib.h,v
retrieving revision 1.11
diff -c -p -r1.11 std_cstdlib.h
*** std_cstdlib.h 2001/05/30 11:34:26 1.11
--- std_cstdlib.h 2001/06/08 13:05:07
***************
*** 31,46 ****
// ISO C++ 14882: 20.4.6 C library
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CSTDLIB
#define _CPP_CSTDLIB 1
#include <bits/c++config.h>
- #include <bits/std_cstddef.h>
#pragma GCC system_header
! #include <stdlib.h>
// Get rid of those macros defined in <stdlib.h> in lieu of real functions.
#undef atof
--- 31,43 ----
// ISO C++ 14882: 20.4.6 C library
//
#ifndef _CPP_CSTDLIB
#define _CPP_CSTDLIB 1
#include <bits/c++config.h>
#pragma GCC system_header
! #include_next <stdlib.h>
// Get rid of those macros defined in <stdlib.h> in lieu of real functions.
#undef atof
***************
*** 82,128 ****
namespace std
{
using ::div_t;
using ::ldiv_t;
! extern "C" double atof(const char*);
! extern "C" int atoi(const char*);
! extern "C" long int atol(const char*);
! extern "C" double strtod(const char*, char**);
! extern "C" float strtof(const char*, char**);
! extern "C" long int strtol(const char*, char**, int);
! extern "C" unsigned long int strtoul(const char*, char**, int);
! extern "C" int rand(void);
! extern "C" void srand(unsigned int);
! extern "C" void* calloc(size_t, size_t);
! extern "C" void free(void*);
! extern "C" void* malloc(size_t);
! extern "C" void* realloc(void*, size_t);
! extern "C" void abort(void);
! extern "C" int atexit(void (*func)(void));
! extern "C" void exit(int);
! extern "C" void _Exit(int);
! extern "C" char*getenv(const char*);
! extern "C" int system(const char*);
! extern "C" void* bsearch(const void*, const void*, size_t, size_t,
! int (*comp)(const void *, const void *));
! extern "C" void qsort(void*, size_t, size_t,
! int (*comp)(const void *, const void *));
! extern "C" int abs(int);
! extern "C" long int labs(long int);
! extern "C" div_t div(int, int);
! extern "C" ldiv_t ldiv(long int, long int);
! extern "C" int mblen(const char*, size_t);
! extern "C" int mbtowc(wchar_t*, const char*, size_t);
! extern "C" int wctomb(char*, wchar_t);
! extern "C" size_t mbstowcs(wchar_t*, const char*, size_t);
! extern "C" size_t wcstombs(char*, const wchar_t*, size_t);
inline long
! abs(long __i) { return ::labs(__i); }
inline ldiv_t
! div(long __i, long __j) { return ::ldiv(__i, __j); }
} // namespace std
#if _GLIBCPP_USE_C99
--- 79,125 ----
namespace std
{
+ using ::size_t; // cstddef
+
using ::div_t;
using ::ldiv_t;
! using ::atof;
! using ::atoi;
! using ::atol;
! using ::strtod;
! using ::strtof;
! using ::strtol;
! using ::strtoul;
! using ::rand;
! using ::srand;
! using ::calloc;
! using ::free;
! using ::malloc;
! using ::realloc;
! using ::abort;
! using ::atexit;
! using ::exit;
! using ::_Exit;
! using ::getenv;
! using ::system;
! using ::bsearch;
! using ::qsort;
! using ::abs;
! using ::labs;
! using ::div;
! using ::ldiv;
! using ::mblen;
! using ::mbtowc;
! using ::wctomb;
! using ::mbstowcs;
! using ::wcstombs;
inline long
! abs(long __i) { return labs(__i); }
inline ldiv_t
! div(long __i, long __j) { return ldiv(__i, __j); }
} // namespace std
#if _GLIBCPP_USE_C99
*************** namespace __gnu_cxx
*** 144,155 ****
lldiv(long long __n, long long __d)
{ lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; }
! extern "C" long long int atoll(const char*);
! extern "C" long long int strtoll(const char*, char**, int);
! extern "C" unsigned long long int strtoull(const char*, char**, int);
#ifdef _GLIBCPP_HAVE_STRTOLD
! extern "C" long double strtold(const char*, char**);
#endif
} // namespace __gnu_cxx
--- 141,152 ----
lldiv(long long __n, long long __d)
{ lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; }
! using ::atoll;
! using ::strtoll;
! using ::strtoull;
#ifdef _GLIBCPP_HAVE_STRTOLD
! using ::strtold;
#endif
} // namespace __gnu_cxx
*************** namespace std
*** 157,163 ****
{
using __gnu_cxx::lldiv_t;
using __gnu_cxx::abs;
! //using __gnu_cxx::llabs; // XXX ???
using __gnu_cxx::div;
using __gnu_cxx::lldiv;
using __gnu_cxx::atoll;
--- 154,160 ----
{
using __gnu_cxx::lldiv_t;
using __gnu_cxx::abs;
! using __gnu_cxx::llabs;
using __gnu_cxx::div;
using __gnu_cxx::lldiv;
using __gnu_cxx::atoll;
Index: include/c_std/bits/std_cstring.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_cstring.h,v
retrieving revision 1.9
diff -c -p -r1.9 std_cstring.h
*** std_cstring.h 2001/05/25 01:33:21 1.9
--- std_cstring.h 2001/06/08 13:05:07
***************
*** 31,71 ****
// ISO C++ 14882: 20.4.6 C library
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CSTRING
#define _CPP_CSTRING 1
- #include <bits/c++config.h>
- #include <bits/std_cstddef.h>
-
-
- // Need to mangle these "C" functions because C++ modifies their signature.
- #define memcpy __glibcpp_memcpy
- #define memmove __glibcpp_memmove
- #define strcpy __glibcpp_strcpy
- #define strncpy __glibcpp_strncpy
- #define strcat __glibcpp_strcat
- #define strncat __glibcpp_strncat
- #define memcmp __glibcpp_memcmp
- #define strcmp __glibcpp_strcmp
- #define strcoll __glibcpp_strcoll
- #define strncmp __glibcpp_strncmp
- #define strxfrm __glibcpp_strxfrm
- #define memchr __glibcpp_memchr
- #define strchr __glibcpp_strchr
- #define strcspn __glibcpp_strcspn
- #define strpbrk __glibcpp_strpbrk
- #define strrchr __glibcpp_strrchr
- #define strspn __glibcpp_strspn
- #define strstr __glibcpp_strstr
- #define strtok __glibcpp_strtok
- #define memset __glibcpp_memset
- #define strerror __glibcpp_strerror
- #define strlen __glibcpp_strlen
-
#pragma GCC system_header
! #include <string.h>
// Get rid of those macros defined in <string.h> in lieu of real functions.
#undef memcpy
--- 31,41 ----
// ISO C++ 14882: 20.4.6 C library
//
#ifndef _CPP_CSTRING
#define _CPP_CSTRING 1
#pragma GCC system_header
! #include_next <string.h>
// Get rid of those macros defined in <string.h> in lieu of real functions.
#undef memcpy
***************
*** 93,206 ****
namespace std
{
! inline void*
! memcpy(void* __p1, const void* __p2, size_t __n)
! { return __builtin_memcpy(__p1, __p2, __n); }
!
! extern "C" void* memmove(void*, const void*, size_t);
!
! inline char*
! strcpy(char* __s1, const char* __s2)
! { return __builtin_strcpy(__s1, __s2); }
!
! inline char*
! strncpy(char* __s1, const char* __s2, size_t __n)
! { return __builtin_strncpy(__s1, __s2, __n); }
!
! inline char*
! strcat(char* __s1, const char* __s2)
! { return __builtin_strcat(__s1, __s2); }
!
! inline char*
! strncat(char* __s1, const char* __s2, size_t __n)
! { return __builtin_strncat(__s1, __s2, __n); }
! inline int
! memcmp(const void* __p1, const void* __p2, size_t __n)
! { return __builtin_memcmp(__p1, __p2, __n); }
! inline int
! strcmp(const char* __s1, const char* __s2)
! { return __builtin_strcmp(__s1, __s2); }
- extern "C" int strcoll(const char*, const char*);
-
- inline int
- strncmp(const char* __s1, const char* __s2, size_t __n)
- { return __builtin_strncmp(__s1, __s2, __n); }
-
- extern "C" size_t strxfrm(char*, const char*, size_t);
- extern "C" const void* memchr(const void*, int, size_t);
-
inline void*
memchr(void* __p, int __c, size_t __n)
! {
! return const_cast<void*>(memchr(const_cast<const void*>(__p), __c, __n));
! }
!
! inline const char*
! strchr(const char* __s1, int __n)
! { return const_cast<const char*>(__builtin_strchr(__s1, __n)); }
inline char*
strchr(char* __s1, int __n)
! {
! return
! const_cast<char*>(__builtin_strchr(const_cast<const char*>(__s1), __n));
! }
!
! inline size_t
! strcspn(const char* __s1, const char* __s2)
! { return __builtin_strcspn(__s1, __s2); }
!
! inline const char*
! strpbrk(const char* __s1, const char* __s2)
! { return const_cast<char*>(__builtin_strpbrk(__s1, __s2)); }
inline char*
strpbrk(char* __s1, const char* __s2)
! {
! return const_cast<char*>
! (__builtin_strpbrk(const_cast<const char*>(__s1), __s2));
! }
!
! inline const char*
! strrchr(const char* __s1, int __n)
! { return const_cast<char*>(__builtin_strrchr(__s1, __n)); }
inline char*
strrchr(char* __s1, int __n)
{ return __builtin_strrchr(const_cast<const char*>(__s1), __n); }
! inline size_t
! strspn(const char* __s1, const char* __s2)
! { return __builtin_strspn(__s1, __s2); }
!
! inline const char*
! strstr(const char* __s1, const char* __s2)
! { return const_cast<char*>(__builtin_strstr (__s1, __s2)); }
inline char*
strstr(char* __s1, const char* __s2)
! {
! return (const_cast<char*>
! (__builtin_strstr(const_cast<const char*>(__s1), __s2)));
! }
!
! extern "C" char* strtok(char*, const char*);
!
! inline void*
! memset(void* __p, int __c, size_t __n)
! { return __builtin_memset(__p, __c, __n); }
!
! extern "C" char* strerror(int);
!
! inline size_t
! strlen(const char* __s)
! { return __builtin_strlen(__s); }
}
#endif
-
-
-
--- 63,117 ----
namespace std
{
! using ::size_t; // cstddef
! using ::memcpy;
! using ::memmove;
! using ::strcpy;
! using ::strncpy;
! using ::strcat;
! using ::strncat;
! using ::memcmp;
! using ::strcmp;
! using ::strcoll;
! using ::strncmp;
! using ::strxfrm;
! using ::strcspn;
! using ::strspn;
! using ::strtok;
! using ::memset;
! using ::strerror;
! using ::strlen;
! using ::memchr;
inline void*
memchr(void* __p, int __c, size_t __n)
! { return memchr(const_cast<const void*>(__p), __c, __n); }
!
! using ::strchr;
inline char*
strchr(char* __s1, int __n)
! { return __builtin_strchr(const_cast<const char*>(__s1), __n); }
+ using ::strpbrk;
+
inline char*
strpbrk(char* __s1, const char* __s2)
! { return __builtin_strpbrk(const_cast<const char*>(__s1), __s2); }
!
! using ::strrchr;
inline char*
strrchr(char* __s1, int __n)
{ return __builtin_strrchr(const_cast<const char*>(__s1), __n); }
! using ::strstr;
inline char*
strstr(char* __s1, const char* __s2)
! { return __builtin_strstr(const_cast<const char*>(__s1), __s2); }
}
#endif
Index: include/c_std/bits/std_ctime.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_ctime.h,v
retrieving revision 1.6
diff -c -p -r1.6 std_ctime.h
*** std_ctime.h 2001/02/05 22:27:40 1.6
--- std_ctime.h 2001/06/08 13:05:07
***************
*** 31,46 ****
// ISO C++ 14882: 20.5 Date and time
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CTIME
#define _CPP_CTIME 1
- #include <bits/c++config.h>
- #include <bits/std_cstddef.h>
-
#pragma GCC system_header
! #include <time.h>
// Get rid of those macros defined in <time.h> in lieu of real functions.
#undef clock
--- 31,41 ----
// ISO C++ 14882: 20.5 Date and time
//
#ifndef _CPP_CTIME
#define _CPP_CTIME 1
#pragma GCC system_header
! #include_next <time.h>
// Get rid of those macros defined in <time.h> in lieu of real functions.
#undef clock
***************
*** 55,73 ****
namespace std
{
using ::clock_t;
using ::time_t;
using ::tm;
! extern "C" clock_t clock(void);
! extern "C" double difftime(time_t, time_t);
! extern "C" time_t mktime(struct tm*);
! extern "C" time_t time(time_t*);
! extern "C" char* asctime(const struct tm*);
! extern "C" char* ctime(const time_t*);
! extern "C" struct tm* gmtime(const time_t*);
! extern "C" struct tm* localtime(const time_t*);
! extern "C" size_t strftime(char*, size_t, const char*, const struct tm*);
}
#endif
--- 50,70 ----
namespace std
{
+ using ::size_t; // cstddef
+
using ::clock_t;
using ::time_t;
using ::tm;
! using ::clock;
! using ::difftime;
! using ::mktime;
! using ::time;
! using ::asctime;
! using ::ctime;
! using ::gmtime;
! using ::localtime;
! using ::strftime;
}
#endif
Index: include/c_std/bits/std_cwchar.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_cwchar.h,v
retrieving revision 1.11
diff -c -p -r1.11 std_cwchar.h
*** std_cwchar.h 2001/05/30 11:34:26 1.11
--- std_cwchar.h 2001/06/08 13:05:07
***************
*** 31,56 ****
// ISO C++ 14882: ???
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CWCHAR
#define _CPP_CWCHAR 1
#include <bits/c++config.h>
- #include <bits/std_cstddef.h>
- #include <bits/std_cstdio.h>
- #include <bits/std_cstdarg.h>
#if _GLIBCPP_HAVE_WCHAR_H
- // Need to mangle these "C" functions because C++ modifies their signature.
- #define wcschr __glibcpp_wcschr
- #define wcsbrk __glibcpp_wcspbrk
- #define wcsrchr __glibcpp_wcsrchr
- #define wcsstr __glibcpp_wcsstr
- #define wmemchr __glibcpp_wmemchr
-
#pragma GCC system_header
! #include <wchar.h>
#endif
// Need to do a bit of trickery here with mbstate_t as char_traits
--- 31,44 ----
// ISO C++ 14882: ???
//
#ifndef _CPP_CWCHAR
#define _CPP_CWCHAR 1
#include <bits/c++config.h>
#if _GLIBCPP_HAVE_WCHAR_H
#pragma GCC system_header
! #include_next <wchar.h>
#endif
// Need to do a bit of trickery here with mbstate_t as char_traits
*************** namespace std
*** 71,76 ****
--- 59,80 ----
}
// Get rid of those macros defined in <wchar.h> in lieu of real functions.
+ #undef btowc
+ #undef wctob
+ #undef fgetwc
+ #undef fgetwc
+ #undef fgetws
+ #undef fputwc
+ #undef fputws
+ #undef fwide
+ #undef fwprintf
+ #undef fwscanf
+ #undef swprintf
+ #undef swscanf
+ #undef vfwprintf
+ #undef vfwscanf
+ #undef vswprintf
+ #undef vswscanf
#undef vwprintf
#undef vwscanf
#undef wprintf
*************** namespace std
*** 98,215 ****
#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
namespace std
{
using ::wint_t;
! extern "C" wint_t btowc(int);
! extern "C" int wctob(wint_t);
! extern "C" wint_t fgetwc(FILE*);
! extern "C" wchar_t* fgetws(wchar_t*, int, FILE*);
! extern "C" wint_t fputwc(wchar_t, FILE*);
! extern "C" int fputws(const wchar_t*, FILE*);
! extern "C" int fwide(FILE*, int);
! extern "C" int fwprintf(FILE*, const wchar_t*, ...);
! extern "C" int fwscanf(FILE*, const wchar_t*, ...);
! extern "C" int swprintf(wchar_t*, size_t, const wchar_t*, ...);
! extern "C" int swscanf(const wchar_t*, const wchar_t*, ...);
! extern "C" int vfwprintf(FILE*, const wchar_t*, va_list);
! extern "C" int vfwscanf(FILE*, const wchar_t*, va_list);
! extern "C" int vswprintf(wchar_t*, size_t, const wchar_t*, va_list);
! extern "C" int vswscanf(const wchar_t*, const wchar_t*, va_list);
! extern "C" int vwprintf(const wchar_t*, va_list);
! extern "C" int vwscanf(const wchar_t*, va_list);
! extern "C" int wprintf(const wchar_t*, ...);
! extern "C" int wscanf(const wchar_t*, ...);
! extern "C" wint_t getwc(FILE* stream);
! extern "C" wint_t getwchar(void);
! extern "C" int mbsinit(const mbstate_t*);
! extern "C" size_t mbrlen(const char*, size_t, mbstate_t*);
! extern "C" size_t mbrtowc(wchar_t*, const char*, size_t, mbstate_t*);
! extern "C" size_t mbsrtowcs(wchar_t*, const char**, size_t, mbstate_t*);
! extern "C" size_t wcsrtombs(char*, const wchar_t **, size_t, mbstate_t*);
! extern "C" wint_t putwc(wchar_t, FILE*);
! extern "C" wint_t putwchar(wchar_t);
! extern "C" wint_t ungetwc(wint_t, FILE*);
! extern "C" size_t wcrtomb(char*, wchar_t, mbstate_t*);
! extern "C" double wcstod(const wchar_t*, wchar_t**);
! extern "C" float wcstof(const wchar_t*, wchar_t**);
! extern "C" long int wcstol(const wchar_t*, wchar_t**, int);
! extern "C" unsigned long int wcstoul(const wchar_t*, wchar_t**, int);
! extern "C" wchar_t* wcscpy(wchar_t* s1, const wchar_t*);
! extern "C" wchar_t* wcsncpy(wchar_t*, const wchar_t*, size_t);
! extern "C" wchar_t* wcscat(wchar_t*, const wchar_t*);
! extern "C" wchar_t* wcsncat(wchar_t*, const wchar_t*, size_t);
! extern "C" int wcscmp(const wchar_t*, const wchar_t*);
! extern "C" int wcscoll(const wchar_t*, const wchar_t*);
! extern "C" int wcsncmp(const wchar_t*, const wchar_t*, size_t);
! extern "C" size_t wcsxfrm(wchar_t*, const wchar_t*, size_t);
! extern "C" const wchar_t* wcschr(const wchar_t*, wchar_t);
inline wchar_t*
wcschr(wchar_t* __p, wchar_t __c)
! {
! return const_cast<wchar_t*>(wcschr(const_cast<const wchar_t*>(__p), __c));
! }
! extern "C" size_t wcscspn(const wchar_t*, const wchar_t*);
! extern "C" size_t wcslen(const wchar_t*);
! extern "C" const wchar_t* wcspbrk(const wchar_t*, const wchar_t*);
inline wchar_t*
wcspbrk(wchar_t* __s1, wchar_t* __s2)
! {
! return const_cast<wchar_t*>(wcspbrk(const_cast<const wchar_t*>(__s1), __s2));
! }
! extern "C" const wchar_t* wcsrchr(const wchar_t*, wchar_t);
inline wchar_t*
wcsrchr(wchar_t* __p, wchar_t __c)
! {
! return const_cast<wchar_t*>(wcsrchr(const_cast<const wchar_t*>(__p), __c));
! }
! extern "C" size_t wcsspn(const wchar_t*, const wchar_t*);
! extern "C" const wchar_t* wcsstr(const wchar_t*, const wchar_t*);
inline wchar_t*
wcsstr(wchar_t* __s1, wchar_t* __s2)
! {
! return const_cast<wchar_t*>(wcsstr(const_cast<const wchar_t*>(__s1), __s2));
! }
! extern "C" wchar_t* wcstok(wchar_t*, const wchar_t*, wchar_t**);
! extern "C" const wchar_t* wmemchr(const wchar_t*, wchar_t, size_t);
inline wchar_t*
wmemchr(wchar_t* __p, wchar_t __c, size_t __n)
! {
! return const_cast<wchar_t*>(wmemchr(const_cast<const wchar_t*>(__p), __c, __n));
! }
! extern "C" int wmemcmp(const wchar_t*, const wchar_t*, size_t);
! extern "C" wchar_t* wmemcpy(wchar_t*, const wchar_t*, size_t);
! extern "C" wchar_t* wmemmove(wchar_t*, const wchar_t*, size_t);
! extern "C" wchar_t* wmemset(wchar_t*, wchar_t, size_t);
! extern "C" size_t wcsftime(wchar_t*, size_t, const wchar_t*, const struct tm*);
}
#if _GLIBCPP_USE_C99
namespace __gnu_cxx
{
! extern "C" long double wcstold(const wchar_t*, wchar_t**);
! extern "C" long long int wcstoll(const wchar_t*, wchar_t**, int);
! extern "C" unsigned long long int wcstoull(const wchar_t*, wchar_t**, int);
}
namespace std
--- 102,220 ----
#undef wcscoll
#undef wcsncmp
#undef wcsxfrm
#undef wcscspn
#undef wcslen
#undef wcsspn
#undef wcstok
#undef wmemcmp
#undef wmemcpy
#undef wmemmove
#undef wmemset
#undef wcsftime
+ #undef wcschr
+ #undef wcspbrk
+ #undef wcsrchr
+ #undef wcsstr
+ #undef wmemchr
+
#if _GLIBCPP_USE_WCHAR_T
namespace std
{
+ using ::size_t; // cstddef
+
using ::wint_t;
+
+ using ::btowc;
+ using ::wctob;
+ using ::fgetwc;
+ using ::fgetwc;
+ using ::fgetws;
+ using ::fputwc;
+ using ::fputws;
+ using ::fwide;
+ using ::fwprintf;
+ using ::fwscanf;
+ using ::swprintf;
+ using ::swscanf;
+ using ::vfwprintf;
+ using ::vfwscanf;
+ using ::vswprintf;
+ using ::vswscanf;
+ using ::vwprintf;
+ using ::vwscanf;
+ using ::wprintf;
+ using ::wscanf;
+ using ::getwc;
+ using ::getwchar;
+ using ::mbsinit;
+ using ::mbrlen;
+ using ::mbrtowc;
+ using ::mbsrtowcs;
+ using ::wcsrtombs;
+ using ::putwc;
+ using ::putwchar;
+ using ::ungetwc;
+ using ::wcrtomb;
+ using ::wcstod;
+ using ::wcstof;
+ using ::wcstol;
+ using ::wcstoul;
+ using ::wcscpy;
+ using ::wcsncpy;
+ using ::wcscat;
+ using ::wcsncat;
+ using ::wcscmp;
+ using ::wcscoll;
+ using ::wcsncmp;
+ using ::wcsxfrm;
+ using ::wcscspn;
+ using ::wcslen;
+ using ::wcsspn;
+ using ::wcstok;
+ using ::wmemcmp;
+ using ::wmemcpy;
+ using ::wmemmove;
+ using ::wmemset;
+ using ::wcsftime;
! using ::wcschr;
!
inline wchar_t*
wcschr(wchar_t* __p, wchar_t __c)
! { return wcschr(const_cast<const wchar_t*>(__p), __c); }
!
! using ::wcspbrk;
!
inline wchar_t*
wcspbrk(wchar_t* __s1, wchar_t* __s2)
! { return wcspbrk(const_cast<const wchar_t*>(__s1), __s2); }
!
! using ::wcsrchr;
!
inline wchar_t*
wcsrchr(wchar_t* __p, wchar_t __c)
! { return wcsrchr(const_cast<const wchar_t*>(__p), __c); }
!
! using ::wcsstr;
!
inline wchar_t*
wcsstr(wchar_t* __s1, wchar_t* __s2)
! { return wcsstr(const_cast<const wchar_t*>(__s1), __s2); }
!
! using ::wmemchr;
!
inline wchar_t*
wmemchr(wchar_t* __p, wchar_t __c, size_t __n)
! { return wmemchr(const_cast<const wchar_t*>(__p), __c, __n); }
}
#if _GLIBCPP_USE_C99
namespace __gnu_cxx
{
! using ::wcstold;
! using ::wcstoll;
! using ::wcstoull;
}
namespace std
Index: include/c_std/bits/std_cwctype.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/bits/std_cwctype.h,v
retrieving revision 1.4
diff -c -p -r1.4 std_cwctype.h
*** std_cwctype.h 2001/01/04 04:21:42 1.4
--- std_cwctype.h 2001/06/08 13:05:07
***************
*** 31,45 ****
// ISO C++ 14882: <cwctype>
//
- // Note: This is not a conforming implementation.
-
#ifndef _CPP_CWCTYPE
#define _CPP_CWCTYPE 1
- #include <bits/std_cwchar.h>
-
#pragma GCC system_header
! #include <wctype.h>
// Get rid of those macros defined in <wctype.h> in lieu of real functions.
#undef iswalnum
--- 31,41 ----
// ISO C++ 14882: <cwctype>
//
#ifndef _CPP_CWCTYPE
#define _CPP_CWCTYPE 1
#pragma GCC system_header
! #include_next <wctype.h>
// Get rid of those macros defined in <wctype.h> in lieu of real functions.
#undef iswalnum
***************
*** 63,96 ****
namespace std
{
using ::wctype_t;
using ::wctrans_t;
! extern "C" int iswalnum(wint_t);
! extern "C" int iswalpha(wint_t);
! extern "C" int iswblank(wint_t);
! extern "C" int iswcntrl(wint_t);
! extern "C" int iswdigit(wint_t);
! extern "C" int iswgraph(wint_t);
! extern "C" int iswlower(wint_t);
! extern "C" int iswprint(wint_t);
! extern "C" int iswpunct(wint_t);
! extern "C" int iswspace(wint_t);
! extern "C" int iswupper(wint_t);
! extern "C" int iswxdigit(wint_t);
! extern "C" int iswctype(wint_t, wctype_t);
! extern "C" wctype_t wctype(const char *);
! extern "C" wint_t towlower(wint_t);
! extern "C" wint_t towupper(wint_t);
! extern "C" wint_t towctrans(wint_t, wctrans_t);
! extern "C" wctrans_t wctrans(const char*);
}
#endif
-
-
-
-
-
-
-
--- 59,87 ----
namespace std
{
+ using ::wint_t; // cwchar
+
using ::wctype_t;
using ::wctrans_t;
! using ::iswalnum;
! using ::iswalpha;
! using ::iswblank;
! using ::iswcntrl;
! using ::iswdigit;
! using ::iswgraph;
! using ::iswlower;
! using ::iswprint;
! using ::iswprint;
! using ::iswpunct;
! using ::iswspace;
! using ::iswupper;
! using ::iswxdigit;
! using ::iswctype;
! using ::towlower;
! using ::towupper;
! using ::towctrans;
! using ::wctrans;
}
#endif
Index: include/std/algorithm
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/algorithm,v
retrieving revision 1.1
diff -c -p -r1.1 algorithm
*** algorithm 2000/10/05 11:27:02 1.1
--- algorithm 2001/06/08 13:05:08
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_ALGORITHM
#include <bits/std_algorithm.h>
#endif
Index: include/std/bitset
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/bitset,v
retrieving revision 1.1
diff -c -p -r1.1 bitset
*** bitset 2000/10/05 11:27:02 1.1
--- bitset 2001/06/08 13:05:08
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_BITSET
#include <bits/std_bitset.h>
#endif
Index: include/std/cassert
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/cassert,v
retrieving revision 1.1
diff -c -p -r1.1 cassert
*** cassert 2000/10/05 11:27:02 1.1
--- cassert 2001/06/08 13:05:08
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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.
+
// This one should not have include guards.
#include <bits/std_cassert.h>
Index: include/std/cctype
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/cctype,v
retrieving revision 1.1
diff -c -p -r1.1 cctype
*** cctype 2000/10/05 11:27:02 1.1
--- cctype 2001/06/08 13:05:08
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CCTYPE
#include <bits/std_cctype.h>
#endif
Index: include/std/cerrno
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/cerrno,v
retrieving revision 1.1
diff -c -p -r1.1 cerrno
*** cerrno 2000/10/05 11:27:02 1.1
--- cerrno 2001/06/08 13:05:08
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CERRNO
#include <bits/std_cerrno.h>
#endif
Index: include/std/cfloat
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/cfloat,v
retrieving revision 1.1
diff -c -p -r1.1 cfloat
*** cfloat 2000/10/05 11:27:02 1.1
--- cfloat 2001/06/08 13:05:08
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CFLOAT
#include <bits/std_cfloat.h>
#endif
Index: include/std/ciso646
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/ciso646,v
retrieving revision 1.1
diff -c -p -r1.1 ciso646
*** ciso646 2000/10/05 11:27:02 1.1
--- ciso646 2001/06/08 13:05:08
***************
*** 0 ****
--- 1,28 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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.
Index: include/std/climits
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/climits,v
retrieving revision 1.1
diff -c -p -r1.1 climits
*** climits 2000/10/05 11:27:02 1.1
--- climits 2001/06/08 13:05:09
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CLIMITS
#include <bits/std_climits.h>
#endif
Index: include/std/clocale
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/clocale,v
retrieving revision 1.1
diff -c -p -r1.1 clocale
*** clocale 2000/10/05 11:27:02 1.1
--- clocale 2001/06/08 13:05:09
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CLOCALE
#include <bits/std_clocale.h>
#endif
Index: include/std/cmath
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/cmath,v
retrieving revision 1.1
diff -c -p -r1.1 cmath
*** cmath 2000/10/05 11:27:02 1.1
--- cmath 2001/06/08 13:05:09
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CMATH
#include <bits/std_cmath.h>
#endif
Index: include/std/complex
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/complex,v
retrieving revision 1.1
diff -c -p -r1.1 complex
*** complex 2000/10/05 11:27:02 1.1
--- complex 2001/06/08 13:05:09
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_COMPLEX
#include <bits/std_complex.h>
#endif
Index: include/std/csetjmp
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/csetjmp,v
retrieving revision 1.1
diff -c -p -r1.1 csetjmp
*** csetjmp 2000/10/05 11:27:02 1.1
--- csetjmp 2001/06/08 13:05:09
***************
*** 1,3 ****
--- 1,31 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CSETJMP
#include <bits/std_csetjmp.h>
Index: include/std/csignal
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/csignal,v
retrieving revision 1.1
diff -c -p -r1.1 csignal
*** csignal 2000/10/05 11:27:02 1.1
--- csignal 2001/06/08 13:05:09
***************
*** 1,3 ****
--- 1,31 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CSIGNAL
#include <bits/std_csignal.h>
Index: include/std/cstdarg
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/cstdarg,v
retrieving revision 1.1
diff -c -p -r1.1 cstdarg
*** cstdarg 2000/10/05 11:27:02 1.1
--- cstdarg 2001/06/08 13:05:09
***************
*** 1,3 ****
--- 1,31 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CSTDARG
#include <bits/std_cstdarg.h>
Index: include/std/cstddef
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/cstddef,v
retrieving revision 1.1
diff -c -p -r1.1 cstddef
*** cstddef 2000/10/05 11:27:02 1.1
--- cstddef 2001/06/08 13:05:09
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CSTDDEF
#include <bits/std_cstddef.h>
#endif
Index: include/std/cstdio
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/cstdio,v
retrieving revision 1.1
diff -c -p -r1.1 cstdio
*** cstdio 2000/10/05 11:27:02 1.1
--- cstdio 2001/06/08 13:05:10
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CSTDIO
#include <bits/std_cstdio.h>
#endif
Index: include/std/cstdlib
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/cstdlib,v
retrieving revision 1.1
diff -c -p -r1.1 cstdlib
*** cstdlib 2000/10/05 11:27:02 1.1
--- cstdlib 2001/06/08 13:05:10
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CSTDLIB
#include <bits/std_cstdlib.h>
#endif
Index: include/std/cstring
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/cstring,v
retrieving revision 1.1
diff -c -p -r1.1 cstring
*** cstring 2000/10/05 11:27:02 1.1
--- cstring 2001/06/08 13:05:10
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CSTRING
#include <bits/std_cstring.h>
#endif
Index: include/std/ctime
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/ctime,v
retrieving revision 1.1
diff -c -p -r1.1 ctime
*** ctime 2000/10/05 11:27:02 1.1
--- ctime 2001/06/08 13:05:10
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CTIME
#include <bits/std_ctime.h>
#endif
Index: include/std/cwchar
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/cwchar,v
retrieving revision 1.1
diff -c -p -r1.1 cwchar
*** cwchar 2000/10/05 11:27:02 1.1
--- cwchar 2001/06/08 13:05:10
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CWCHAR
#include <bits/std_cwchar.h>
#endif
Index: include/std/cwctype
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/cwctype,v
retrieving revision 1.1
diff -c -p -r1.1 cwctype
*** cwctype 2000/10/05 11:27:02 1.1
--- cwctype 2001/06/08 13:05:10
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_CWCTYPE
#include <bits/std_cwctype.h>
#endif
Index: include/std/deque
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/deque,v
retrieving revision 1.1
diff -c -p -r1.1 deque
*** deque 2000/10/05 11:27:02 1.1
--- deque 2001/06/08 13:05:10
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_DEQUE
#include <bits/std_deque.h>
#endif
Index: include/std/fstream
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/fstream,v
retrieving revision 1.1
diff -c -p -r1.1 fstream
*** fstream 2000/10/05 11:27:02 1.1
--- fstream 2001/06/08 13:05:10
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_FSTREAM
#include <bits/std_fstream.h>
#endif
Index: include/std/functional
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/functional,v
retrieving revision 1.1
diff -c -p -r1.1 functional
*** functional 2000/10/05 11:27:02 1.1
--- functional 2001/06/08 13:05:10
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_FUNCTIONAL
#include <bits/std_functional.h>
#endif
Index: include/std/iomanip
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/iomanip,v
retrieving revision 1.1
diff -c -p -r1.1 iomanip
*** iomanip 2000/10/05 11:27:02 1.1
--- iomanip 2001/06/08 13:05:11
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_IOMANIP
#include <bits/std_iomanip.h>
#endif
Index: include/std/ios
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/ios,v
retrieving revision 1.1
diff -c -p -r1.1 ios
*** ios 2000/10/05 11:27:02 1.1
--- ios 2001/06/08 13:05:11
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_IOS
#include <bits/std_ios.h>
#endif
Index: include/std/iosfwd
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/iosfwd,v
retrieving revision 1.1
diff -c -p -r1.1 iosfwd
*** iosfwd 2000/10/05 11:27:02 1.1
--- iosfwd 2001/06/08 13:05:11
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_IOSFWD
#include <bits/std_iosfwd.h>
#endif
Index: include/std/iostream
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/iostream,v
retrieving revision 1.1
diff -c -p -r1.1 iostream
*** iostream 2000/10/05 11:27:02 1.1
--- iostream 2001/06/08 13:05:11
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_IOSTREAM
#include <bits/std_iostream.h>
#endif
Index: include/std/istream
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/istream,v
retrieving revision 1.1
diff -c -p -r1.1 istream
*** istream 2000/10/05 11:27:02 1.1
--- istream 2001/06/08 13:05:11
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_ISTREAM
#include <bits/std_istream.h>
#endif
Index: include/std/iterator
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/iterator,v
retrieving revision 1.1
diff -c -p -r1.1 iterator
*** iterator 2000/10/05 11:27:02 1.1
--- iterator 2001/06/08 13:05:11
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_ITERATOR
#include <bits/std_iterator.h>
#endif
Index: include/std/limits
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/limits,v
retrieving revision 1.1
diff -c -p -r1.1 limits
*** limits 2000/10/05 11:27:02 1.1
--- limits 2001/06/08 13:05:11
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_LIMITS
#include <bits/std_limits.h>
#endif
Index: include/std/list
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/list,v
retrieving revision 1.1
diff -c -p -r1.1 list
*** list 2000/10/05 11:27:02 1.1
--- list 2001/06/08 13:05:11
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_LIST
#include <bits/std_list.h>
#endif
Index: include/std/locale
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/locale,v
retrieving revision 1.1
diff -c -p -r1.1 locale
*** locale 2000/10/05 11:27:02 1.1
--- locale 2001/06/08 13:05:11
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_LOCALE
#include <bits/std_locale.h>
#endif
Index: include/std/map
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/map,v
retrieving revision 1.1
diff -c -p -r1.1 map
*** map 2000/10/05 11:27:02 1.1
--- map 2001/06/08 13:05:11
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_MAP
#include <bits/std_map.h>
#endif
Index: include/std/memory
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/memory,v
retrieving revision 1.1
diff -c -p -r1.1 memory
*** memory 2000/10/05 11:27:02 1.1
--- memory 2001/06/08 13:05:12
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_MEMORY
#include <bits/std_memory.h>
#endif
Index: include/std/numeric
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/numeric,v
retrieving revision 1.1
diff -c -p -r1.1 numeric
*** numeric 2000/10/05 11:27:02 1.1
--- numeric 2001/06/08 13:05:12
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_NUMERIC
#include <bits/std_numeric.h>
#endif
Index: include/std/ostream
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/ostream,v
retrieving revision 1.1
diff -c -p -r1.1 ostream
*** ostream 2000/10/05 11:27:02 1.1
--- ostream 2001/06/08 13:05:12
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_OSTREAM
#include <bits/std_ostream.h>
#endif
Index: include/std/queue
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/queue,v
retrieving revision 1.1
diff -c -p -r1.1 queue
*** queue 2000/10/05 11:27:02 1.1
--- queue 2001/06/08 13:05:12
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_QUEUE
#include <bits/std_queue.h>
#endif
Index: include/std/set
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/set,v
retrieving revision 1.1
diff -c -p -r1.1 set
*** set 2000/10/05 11:27:02 1.1
--- set 2001/06/08 13:05:12
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_SET
#include <bits/std_set.h>
#endif
Index: include/std/sstream
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/sstream,v
retrieving revision 1.1
diff -c -p -r1.1 sstream
*** sstream 2000/10/05 11:27:02 1.1
--- sstream 2001/06/08 13:05:12
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_SSTREAM
#include <bits/std_sstream.h>
#endif
Index: include/std/stack
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/stack,v
retrieving revision 1.1
diff -c -p -r1.1 stack
*** stack 2000/10/05 11:27:02 1.1
--- stack 2001/06/08 13:05:12
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_STACK
#include <bits/std_stack.h>
#endif
Index: include/std/stdexcept
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/stdexcept,v
retrieving revision 1.1
diff -c -p -r1.1 stdexcept
*** stdexcept 2000/10/05 11:27:02 1.1
--- stdexcept 2001/06/08 13:05:12
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_STDEXCEPT
#include <bits/std_stdexcept.h>
#endif
Index: include/std/streambuf
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/streambuf,v
retrieving revision 1.1
diff -c -p -r1.1 streambuf
*** streambuf 2000/10/05 11:27:02 1.1
--- streambuf 2001/06/08 13:05:13
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_STREAMBUF
#include <bits/std_streambuf.h>
#endif
Index: include/std/string
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/string,v
retrieving revision 1.1
diff -c -p -r1.1 string
*** string 2000/10/05 11:27:02 1.1
--- string 2001/06/08 13:05:13
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_STRING
#include <bits/std_string.h>
#endif
Index: include/std/utility
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/utility,v
retrieving revision 1.1
diff -c -p -r1.1 utility
*** utility 2000/10/05 11:27:02 1.1
--- utility 2001/06/08 13:05:13
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_UTILITY
#include <bits/std_utility.h>
#endif
Index: include/std/valarray
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/valarray,v
retrieving revision 1.1
diff -c -p -r1.1 valarray
*** valarray 2000/10/05 11:27:02 1.1
--- valarray 2001/06/08 13:05:13
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_VALARRAY
#include <bits/std_valarray.h>
#endif
Index: include/std/vector
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/vector,v
retrieving revision 1.1
diff -c -p -r1.1 vector
*** vector 2000/10/05 11:27:02 1.1
--- vector 2001/06/08 13:05:13
***************
*** 1,3 ****
--- 1,32 ----
+ // -*- C++ -*- std header.
+
+ // Copyright (C) 2001 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_VECTOR
#include <bits/std_vector.h>
#endif