This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] c++config cleanups


Wandering through this file with the latest debug patch I noticed some
bits...

Cleanups and removals for c++config.h. A bunch of stuff is no longer
used, or documented elsewhere. 

As part of this, _GLIBCXX_FULLY_COMPLIANT_HEADERS and
_GLIBCXX_NO_TEMPLATE_EXPORT have been coalesced into
_GLIBCXX_EXPORT_TEMPLATE. At some point, when g++ has implemented
export, we'll revisit the library strategy. In the meantime, I think
it makes the most sense to just separate out the bits for separate
compilation, and not undefine the keyword export. (Which had been done
only in one place.)

Also, some of the recent macro guard issues missed the include/c directory.

tested x86/linux

2003-07-30  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
	(_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
	(_GLIBCXX_AT_AT): Remove.
	(__USE_MALLOC): Remove.
	* include/std/std_fstream.h: Modify.
	* include/bits/basic_ios.h: Same.
	* include/bits/valarray_array.h: Same.
	* include/c_std/std_cmath.h: Same.
	* include/c_std/cmath.tcc: Same.
	* include/std/std_vector.h: Same.
	* include/std/std_string.h: Same.
	* include/std/std_stack.h: Same.
	* include/std/std_queue.h: Same.
	* include/std/std_list.h: Same.
	* include/std/std_deque.h: Same.
	* include/std/std_streambuf.h: Same.
	* include/std/std_sstream.h: Same.
	* include/std/std_ostream.h: Same.
	* include/std/std_istream.h: Same.
	* include/bits/valarray_array.tcc: Same, format.

	* include/c/std_cctype.h: Fix include guards.
	* include/c/std_cerrno.h: Same.
	* include/c/std_cfloat.h: Same.
	* include/c/std_climits.h: Same.
	* include/c/std_clocale.h: Same.
	* include/c/std_cmath.h: Same.
	* include/c/std_csetjmp.h: Same.
	* include/c/std_csignal.h: Same.
	* include/c/std_cstdarg.h: Same.
	* include/c/std_cstddef.h: Same.
	* include/c/std_cstdio.h: Same.
	* include/c/std_cstdlib.h: Same.
	* include/c/std_cstring.h: Same.
	* include/c/std_ctime.h: Same.
	* include/c/std_cwchar.h: Same.
	* include/c/std_cwctype.h: Same.
	* include/c_std/cmath.tcc: Same.
	* include/c_std/std_cmath.h: Same.

Index: include/bits/basic_ios.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/basic_ios.h,v
retrieving revision 1.23
diff -c -p -r1.23 basic_ios.h
*** include/bits/basic_ios.h	11 Jul 2003 14:25:09 -0000	1.23
--- include/bits/basic_ios.h	30 Jul 2003 16:46:04 -0000
*************** namespace std 
*** 449,456 ****
      };
  } // namespace std
  
! #ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
! # define export
  #include <bits/basic_ios.tcc>
  #endif
  
--- 449,455 ----
      };
  } // namespace std
  
! #ifndef _GLIBCXX_EXPORT_TEMPLATE
  #include <bits/basic_ios.tcc>
  #endif
  
Index: include/bits/c++config
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/c++config,v
retrieving revision 1.807
diff -c -p -r1.807 c++config
*** include/bits/c++config	30 Jul 2003 00:16:06 -0000	1.807
--- include/bits/c++config	30 Jul 2003 16:46:04 -0000
***************
*** 37,53 ****
  // The current version of the C++ library in compressed ISO date format.
  #define __GLIBCXX__ 20030730
  
! // This is necessary until GCC supports separate template compilation.
! #define _GLIBCXX_NO_TEMPLATE_EXPORT 1
! 
! // This is a hack around not having either pre-compiled headers or
! // export compilation. If defined, the io, string, and valarray
! // headers will include all the necessary bits. If not defined, the
! // implementation optimizes the headers for the most commonly-used
! // types. For the io library, this means that larger, out-of-line
! // member functions are only declared, and definitions are not parsed
! // by the compiler, but instead instantiated into the library binary.
! #define _GLIBCXX_FULLY_COMPLIANT_HEADERS 1
  
  // Allow use of the GNU syntax extension, "extern template." This
  // extension is fully documented in the g++ manual, but in a nutshell,
--- 37,45 ----
  // The current version of the C++ library in compressed ISO date format.
  #define __GLIBCXX__ 20030730
  
! // Allow use of "export template." This is currently not a feature
! // that g++ supports.
! // #define _GLIBCXX_EXPORT_TEMPLATE 1
  
  // Allow use of the GNU syntax extension, "extern template." This
  // extension is fully documented in the g++ manual, but in a nutshell,
***************
*** 65,95 ****
  // Use corrected code from the committee library group's issues list.
  #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1
  
- // Hopefully temporary workaround to autoconf/m4 issue with quoting '@'.
- #define _GLIBCXX_AT_AT "@@"
- 
- // In those parts of the standard C++ library that use a mutex instead
- // of a spin-lock, we now unconditionally use GCC's gthr.h mutex
- // abstraction layer.  All support to directly map to various
- // threading models has been removed.  Note: gthr.h may well map to
- // gthr-single.h which is a correct way to express no threads support
- // in gcc.  Support for the undocumented _NOTHREADS has been removed.
- 
- // Default to the typically high-speed, pool-based allocator (as
- // libstdc++-v2) instead of the malloc-based allocator (libstdc++-v3
- // snapshots).  See libstdc++-v3/docs/html/17_intro/howto.html for
- // details on why you don't want to override this setting.  Ensure
- // that threads are properly configured on your platform before
- // assigning blame to the STL container-memory allocator.  After doing
- // so, please report any possible issues to libstdc++@gcc.gnu.org .
- // Do not define __USE_MALLOC on the command line.  Enforce it here:
- #ifdef __USE_MALLOC
- # error __USE_MALLOC should never be defined.  Read the release notes.
- #endif
- 
- // The remainder of the prewritten config is mostly automatic; all the
- // user hooks are listed above.
- 
  // Create a boolean flag to be used to determine if --fast-math is set.
  #ifdef __FAST_MATH__
  # define _GLIBCXX_FAST_MATH 1
--- 57,62 ----
***************
*** 103,106 ****
  // for something else under certain OSes (see BADNAMES).
  #define __N(msgid)     (msgid)
  
! // End of prewritten config; the discovered settings follow.
--- 70,74 ----
  // for something else under certain OSes (see BADNAMES).
  #define __N(msgid)     (msgid)
  
! // The remainder of the prewritten config is mostly automatic; all the
! // user hooks are listed above: the discovered settings follow.
Index: include/bits/valarray_array.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/valarray_array.h,v
retrieving revision 1.11
diff -c -p -r1.11 valarray_array.h
*** include/bits/valarray_array.h	5 Jul 2003 04:05:36 -0000	1.11
--- include/bits/valarray_array.h	30 Jul 2003 16:46:04 -0000
***************
*** 1,6 ****
  // The template and inlines for the -*- C++ -*- internal _Array helper class.
  
! // Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,7 ----
  // The template and inlines for the -*- C++ -*- internal _Array helper class.
  
! // Copyright (C) 1997, 1998, 1999, 2000, 2003
! //  Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
*************** _Array_augmented_##_Name (_Array<_Tp> __
*** 615,630 ****
     _DEFINE_ARRAY_FUNCTION(>>, __shift_right)
  
  #undef _DEFINE_VALARRAY_FUNCTION    
  
! } // std::
! 
! #ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
! # define export 
  # include <bits/valarray_array.tcc>    
  #endif
             
  #endif /* _ARRAY_H */
- 
- // Local Variables:
- // mode:c++
- // End:
--- 616,625 ----
     _DEFINE_ARRAY_FUNCTION(>>, __shift_right)
  
  #undef _DEFINE_VALARRAY_FUNCTION    
+ } // namespace std
  
! #ifndef _GLIBCXX_EXPORT_TEMPLATE
  # include <bits/valarray_array.tcc>    
  #endif
             
  #endif /* _ARRAY_H */
Index: include/bits/valarray_array.tcc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/valarray_array.tcc,v
retrieving revision 1.3
diff -c -p -r1.3 valarray_array.tcc
*** include/bits/valarray_array.tcc	5 Jul 2003 04:05:36 -0000	1.3
--- include/bits/valarray_array.tcc	30 Jul 2003 16:46:04 -0000
***************
*** 1,6 ****
  // The template and inlines for the -*- C++ -*- internal _Array helper class.
  
! // Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // The template and inlines for the -*- C++ -*- internal _Array helper class.
  
! // Copyright (C) 1997, 1998, 1999, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 34,161 ****
  
  namespace std
  {
  
! export template<typename _Tp>
! void
! __valarray_fill (_Array<_Tp> __a, size_t __n, _Array<bool> __m, const _Tp& __t)
! {
!     _Tp* __p = __a._M_data;
!     bool* __ok (__m._M_data);
!     for (size_t __i=0; __i<__n; ++__i, ++__ok, ++__p) {
!         while (! *__ok) {
!             ++__ok;
!             ++__p;
!         }
!         *__p = __t;
!     }
! }
! 
! export template<typename _Tp>
! void
! __valarray_copy(_Array<_Tp> __a, _Array<bool> __m, _Array<_Tp> __b, size_t __n)
! {
!     _Tp* __p (__a._M_data);
!     bool* __ok (__m._M_data);
!     for (_Tp* __q=__b._M_data; __q<__b._M_data+__n; ++__q, ++__ok, ++__p) {
!         while (! *__ok) {
!             ++__ok;
!             ++__p;
!         }
!         *__q = *__p;
!     }
! }
! 
! export template<typename _Tp>
! void
! __valarray_copy (_Array<_Tp> __a, size_t __n, _Array<_Tp> __b, _Array<bool> __m)
! {
!     _Tp* __q (__b._M_data);
!     bool* __ok (__m._M_data);
!     for (_Tp* __p=__a._M_data; __p<__a._M_data+__n; ++__p, ++__ok, ++__q) {
!         while (! *__ok) {
!             ++__ok;
!             ++__q;
!         }
!         *__q = *__p;
!     }
! }
! 
! export template<typename _Tp, class _Dom>
! void
! __valarray_copy (const _Expr<_Dom, _Tp>& __e, size_t __n, _Array<_Tp> __a)
! {
!     _Tp* __p (__a._M_data);
!     for (size_t __i=0; __i<__n; ++__i, ++__p) *__p = __e[__i];
! }
! 
! export template<typename _Tp, class _Dom>
! void
! __valarray_copy (const _Expr<_Dom, _Tp>& __e, size_t __n, 
!                  _Array<_Tp> __a, size_t __s)
! {
!     _Tp* __p (__a._M_data);
!     for (size_t __i=0; __i<__n; ++__i, __p+=__s) *__p = __e[__i];
! }
! 
! export template<typename _Tp, class _Dom>
! void
! __valarray_copy (const _Expr<_Dom, _Tp>& __e, size_t __n, 
!                  _Array<_Tp> __a, _Array<size_t> __i)
! {
!     size_t* __j (__i._M_data);
!     for (size_t __k=0; __k<__n; ++__k, ++__j) __a._M_data[*__j] = __e[__k];
! }
! 
! export template<typename _Tp, class _Dom>
! void
! __valarray_copy (const _Expr<_Dom, _Tp>& __e, size_t __n, 
!                  _Array<_Tp> __a, _Array<bool> __m)
! {
!     bool* __ok (__m._M_data);
!     _Tp* __p (__a._M_data);
!     for (size_t __i=0; __i<__n; ++__i, ++__ok, ++__p) {
!         while (! *__ok) {
!             ++__ok;
!             ++__p;
!         }
!         *__p = __e[__i];
!     }
! }
! 
! 
! export template<typename _Tp, class _Dom>
! void
! __valarray_copy_construct (const _Expr<_Dom, _Tp>& __e, size_t __n,
!                            _Array<_Tp> __a)
! {
!     _Tp* __p (__a._M_data);
!     for (size_t __i=0; __i<__n; ++__i, ++__p) new (__p) _Tp(__e[__i]);
! }
  
  
! export template<typename _Tp>
! void
! __valarray_copy_construct (_Array<_Tp> __a, _Array<bool> __m,
!                            _Array<_Tp> __b, size_t __n)
! {
!     _Tp* __p (__a._M_data);
!     bool* __ok (__m._M_data);
!     for (_Tp* __q=__b._M_data; __q<__b._M_data+__n; ++__q, ++__ok, ++__p) {
!         while (! *__ok) {
!             ++__ok;
!             ++__p;
!         }
!         new (__q) _Tp(*__p);
      }
- }
  
  
  
  
- } // std::
  
! #endif /* _VALARRAY_ARRAY_TCC */
  
! // Local Variables:
! // mode:c++
! // End:
--- 34,171 ----
  
  namespace std
  {
+   template<typename _Tp>
+     void
+     __valarray_fill(_Array<_Tp> __a, size_t __n, _Array<bool> __m, 
+ 		    const _Tp& __t)
+     {
+       _Tp* __p = __a._M_data;
+       bool* __ok (__m._M_data);
+       for (size_t __i=0; __i < __n; ++__i, ++__ok, ++__p) 
+ 	{
+ 	  while (!*__ok) 
+ 	  {
+ 	    ++__ok;
+ 	    ++__p;
+ 	  }
+ 	  *__p = __t;
+ 	}
+     }
+   
+   template<typename _Tp>
+     void
+     __valarray_copy(_Array<_Tp> __a, _Array<bool> __m, _Array<_Tp> __b, 
+ 		    size_t __n)
+     {
+       _Tp* __p (__a._M_data);
+       bool* __ok (__m._M_data);
+       for (_Tp* __q = __b._M_data; __q < __b._M_data + __n; 
+ 	   ++__q, ++__ok, ++__p) 
+ 	{
+ 	  while (! *__ok) 
+ 	    {
+ 	      ++__ok;
+ 	      ++__p;
+ 	    }
+ 	  *__q = *__p;
+ 	}
+     }
  
!   template<typename _Tp>
!     void
!     __valarray_copy(_Array<_Tp> __a, size_t __n, _Array<_Tp> __b, 
! 		    _Array<bool> __m)
!     {
!       _Tp* __q (__b._M_data);
!       bool* __ok (__m._M_data);
!       for (_Tp* __p = __a._M_data; __p < __a._M_data+__n; 
! 	   ++__p, ++__ok, ++__q) 
! 	{
! 	  while (! *__ok) 
! 	    {
! 	      ++__ok;
! 	      ++__q;
! 	    }
! 	  *__q = *__p;
! 	}
!     }
  
+   template<typename _Tp, class _Dom>
+     void
+     __valarray_copy(const _Expr<_Dom, _Tp>& __e, size_t __n, _Array<_Tp> __a)
+     {
+       _Tp* __p (__a._M_data);
+       for (size_t __i = 0; __i < __n; ++__i, ++__p) 
+ 	*__p = __e[__i];
+     }
  
!   template<typename _Tp, class _Dom>
!     void
!     __valarray_copy(const _Expr<_Dom, _Tp>& __e, size_t __n, 
! 		     _Array<_Tp> __a, size_t __s)
!     {
!       _Tp* __p (__a._M_data);
!       for (size_t __i = 0; __i < __n; ++__i, __p += __s) 
! 	*__p = __e[__i];
      }
  
+   template<typename _Tp, class _Dom>
+     void
+     __valarray_copy(const _Expr<_Dom, _Tp>& __e, size_t __n, 
+ 		    _Array<_Tp> __a, _Array<size_t> __i)
+     {
+       size_t* __j (__i._M_data);
+       for (size_t __k = 0; __k < __n; ++__k, ++__j) 
+ 	__a._M_data[*__j] = __e[__k];
+     }
  
+   template<typename _Tp, class _Dom>
+     void
+     __valarray_copy(const _Expr<_Dom, _Tp>& __e, size_t __n, 
+ 		    _Array<_Tp> __a, _Array<bool> __m)
+     {
+       bool* __ok (__m._M_data);
+       _Tp* __p (__a._M_data);
+       for (size_t __i = 0; __i < __n; ++__i, ++__ok, ++__p) 
+ 	{
+ 	  while (! *__ok) 
+ 	    {
+ 	      ++__ok;
+ 	      ++__p;
+ 	    }
+ 	  *__p = __e[__i];
+ 	}
+     }
+   
  
+   template<typename _Tp, class _Dom>
+     void
+     __valarray_copy_construct(const _Expr<_Dom, _Tp>& __e, size_t __n,
+ 			      _Array<_Tp> __a)
+     {
+       _Tp* __p (__a._M_data);
+       for (size_t __i = 0; __i < __n; ++__i, ++__p) 
+ 	new (__p) _Tp(__e[__i]);
+     }
  
  
!   template<typename _Tp>
!     void
!     __valarray_copy_construct(_Array<_Tp> __a, _Array<bool> __m,
! 			      _Array<_Tp> __b, size_t __n)
!     {
!       _Tp* __p (__a._M_data);
!       bool* __ok (__m._M_data);
!       for (_Tp* __q = __b._M_data; __q < __b._M_data+__n; ++__q, ++__ok, ++__p)
! 	{
! 	  while (! *__ok) 
! 	    {
! 	      ++__ok;
! 	      ++__p;
! 	    }
! 	  new (__q) _Tp(*__p);
! 	}
!     }
! } // namespace std
  
! #endif /* _VALARRAY_ARRAY_TCC */
Index: include/c/std_cctype.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_cctype.h,v
retrieving revision 1.4
diff -c -p -r1.4 std_cctype.h
*** include/c/std_cctype.h	5 Jul 2003 04:05:36 -0000	1.4
--- include/c/std_cctype.h	30 Jul 2003 16:46:04 -0000
***************
*** 1,6 ****
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 31,38 ****
  // ISO C++ 14882: <ccytpe>
  //
  
! #ifndef _CCTYPE
! #define _CCTYPE 1
  
  #pragma GCC system_header
  
--- 31,38 ----
  // ISO C++ 14882: <ccytpe>
  //
  
! #ifndef _GLIBCXX_CCTYPE
! #define _GLIBCXX_CCTYPE 1
  
  #pragma GCC system_header
  
Index: include/c/std_cerrno.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_cerrno.h,v
retrieving revision 1.5
diff -c -p -r1.5 std_cerrno.h
*** include/c/std_cerrno.h	5 Jul 2003 04:05:36 -0000	1.5
--- include/c/std_cerrno.h	30 Jul 2003 16:46:04 -0000
***************
*** 1,6 ****
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 40,47 ****
   *  contained in the namespace @c std.
   */
  
! #ifndef _CERRNO
! #define _CERRNO 1
  
  #pragma GCC system_header
  
--- 40,47 ----
   *  contained in the namespace @c std.
   */
  
! #ifndef _GLIBCXX_CERRNO
! #define _GLIBCXX_CERRNO 1
  
  #pragma GCC system_header
  
Index: include/c/std_cfloat.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_cfloat.h,v
retrieving revision 1.4
diff -c -p -r1.4 std_cfloat.h
*** include/c/std_cfloat.h	5 Jul 2003 04:05:36 -0000	1.4
--- include/c/std_cfloat.h	30 Jul 2003 16:46:05 -0000
***************
*** 1,6 ****
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 31,38 ****
  // ISO C++ 14882: 18.2.2  Implementation properties: C library
  //
  
! #ifndef _CFLOAT
! #define _CFLOAT 1
  
  #pragma GCC system_header
  
--- 31,38 ----
  // ISO C++ 14882: 18.2.2  Implementation properties: C library
  //
  
! #ifndef _GLIBCXX_CFLOAT
! #define _GLIBCXX_CFLOAT 1
  
  #pragma GCC system_header
  
Index: include/c/std_climits.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_climits.h,v
retrieving revision 1.4
diff -c -p -r1.4 std_climits.h
*** include/c/std_climits.h	5 Jul 2003 04:05:36 -0000	1.4
--- include/c/std_climits.h	30 Jul 2003 16:46:05 -0000
***************
*** 1,6 ****
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 31,38 ****
  // ISO C++ 14882: 18.2.2  Implementation properties: C library
  //
  
! #ifndef _CLIMITS
! #define _CLIMITS 1
  
  #pragma GCC system_header
  
--- 31,38 ----
  // ISO C++ 14882: 18.2.2  Implementation properties: C library
  //
  
! #ifndef _GLIBCXX_CLIMITS
! #define _GLIBCXX_CLIMITS 1
  
  #pragma GCC system_header
  
Index: include/c/std_clocale.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_clocale.h,v
retrieving revision 1.4
diff -c -p -r1.4 std_clocale.h
*** include/c/std_clocale.h	5 Jul 2003 04:05:36 -0000	1.4
--- include/c/std_clocale.h	30 Jul 2003 16:46:05 -0000
***************
*** 1,6 ****
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 31,38 ****
  // ISO C++ 14882: 18.2.2  Implementation properties: C library
  //
  
! #ifndef _CLOCALE
! #define _CLOCALE 1
  
  #pragma GCC system_header
  
--- 31,38 ----
  // ISO C++ 14882: 18.2.2  Implementation properties: C library
  //
  
! #ifndef _GLIBCXX_CLOCALE
! #define _GLIBCXX_CLOCALE 1
  
  #pragma GCC system_header
  
Index: include/c/std_cmath.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_cmath.h,v
retrieving revision 1.5
diff -c -p -r1.5 std_cmath.h
*** include/c/std_cmath.h	5 Jul 2003 04:05:36 -0000	1.5
--- include/c/std_cmath.h	30 Jul 2003 16:46:05 -0000
***************
*** 1,6 ****
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 31,38 ****
  // ISO C++ 14882: 26.5  C library
  //
  
! #ifndef _CMATH
! #define _CMATH 1
   
  #pragma GCC system_header
  
--- 31,38 ----
  // ISO C++ 14882: 26.5  C library
  //
  
! #ifndef _GLIBCXX_CMATH
! #define _GLIBCXX_CMATH 1
   
  #pragma GCC system_header
  
Index: include/c/std_csetjmp.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_csetjmp.h,v
retrieving revision 1.5
diff -c -p -r1.5 std_csetjmp.h
*** include/c/std_csetjmp.h	5 Jul 2003 04:05:36 -0000	1.5
--- include/c/std_csetjmp.h	30 Jul 2003 16:46:06 -0000
***************
*** 1,6 ****
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 31,38 ****
  // ISO C++ 14882: 20.4.6  C library
  //
  
! #ifndef _CSETJMP
! #define _CSETJMP 1
  
  #pragma GCC system_header
  
--- 31,38 ----
  // ISO C++ 14882: 20.4.6  C library
  //
  
! #ifndef _GLIBCXX_CSETJMP
! #define _GLIBCXX_CSETJMP 1
  
  #pragma GCC system_header
  
Index: include/c/std_csignal.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_csignal.h,v
retrieving revision 1.4
diff -c -p -r1.4 std_csignal.h
*** include/c/std_csignal.h	5 Jul 2003 04:05:36 -0000	1.4
--- include/c/std_csignal.h	30 Jul 2003 16:46:06 -0000
***************
*** 1,6 ****
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 31,38 ****
  // ISO C++ 14882: 20.4.6  C library
  //
  
! #ifndef _CSIGNAL
! #define _CSIGNAL 1
  
  #pragma GCC system_header
  
--- 31,38 ----
  // ISO C++ 14882: 20.4.6  C library
  //
  
! #ifndef _GLIBCXX_CSIGNAL
! #define _GLIBCXX_CSIGNAL 1
  
  #pragma GCC system_header
  
Index: include/c/std_cstdarg.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_cstdarg.h,v
retrieving revision 1.5
diff -c -p -r1.5 std_cstdarg.h
*** include/c/std_cstdarg.h	5 Jul 2003 04:05:36 -0000	1.5
--- include/c/std_cstdarg.h	30 Jul 2003 16:46:06 -0000
***************
*** 1,6 ****
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 31,38 ****
  // ISO C++ 14882: 20.4.6  C library
  //
  
! #ifndef _CSTDARG
! #define _CSTDARG 1
  
  #pragma GCC system_header
  
--- 31,38 ----
  // ISO C++ 14882: 20.4.6  C library
  //
  
! #ifndef _GLIBCXX_CSTDARG
! #define _GLIBCXX_CSTDARG 1
  
  #pragma GCC system_header
  
Index: include/c/std_cstddef.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_cstddef.h,v
retrieving revision 1.5
diff -c -p -r1.5 std_cstddef.h
*** include/c/std_cstddef.h	5 Jul 2003 04:05:36 -0000	1.5
--- include/c/std_cstddef.h	30 Jul 2003 16:46:06 -0000
***************
*** 1,6 ****
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 31,38 ****
  // ISO C++ 14882: 18.1  Types
  //
  
! #ifndef _CSTDDEF
! #define _CSTDDEF 1
  
  #pragma GCC system_header
  
--- 31,38 ----
  // ISO C++ 14882: 18.1  Types
  //
  
! #ifndef _GLIBCXX_CSTDDEF
! #define _GLIBCXX_CSTDDEF 1
  
  #pragma GCC system_header
  
Index: include/c/std_cstdio.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_cstdio.h,v
retrieving revision 1.5
diff -c -p -r1.5 std_cstdio.h
*** include/c/std_cstdio.h	5 Jul 2003 04:05:36 -0000	1.5
--- include/c/std_cstdio.h	30 Jul 2003 16:46:06 -0000
***************
*** 1,6 ****
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 31,38 ****
  // ISO C++ 14882: 27.8.2  C Library files
  //
  
! #ifndef _CSTDIO
! #define _CSTDIO 1
  
  #pragma GCC system_header
  
--- 31,38 ----
  // ISO C++ 14882: 27.8.2  C Library files
  //
  
! #ifndef _GLIBCXX_CSTDIO
! #define _GLIBCXX_CSTDIO 1
  
  #pragma GCC system_header
  
Index: include/c/std_cstdlib.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_cstdlib.h,v
retrieving revision 1.4
diff -c -p -r1.4 std_cstdlib.h
*** include/c/std_cstdlib.h	5 Jul 2003 04:05:36 -0000	1.4
--- include/c/std_cstdlib.h	30 Jul 2003 16:46:06 -0000
***************
*** 1,6 ****
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 31,38 ****
  // ISO C++ 14882: 20.4.6  C library
  //
  
! #ifndef _CSTDLIB
! #define _CSTDLIB 1
  
  #pragma GCC system_header
  
--- 31,38 ----
  // ISO C++ 14882: 20.4.6  C library
  //
  
! #ifndef _GLIBCXX_CSTDLIB
! #define _GLIBCXX_CSTDLIB 1
  
  #pragma GCC system_header
  
Index: include/c/std_cstring.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_cstring.h,v
retrieving revision 1.4
diff -c -p -r1.4 std_cstring.h
*** include/c/std_cstring.h	5 Jul 2003 04:05:36 -0000	1.4
--- include/c/std_cstring.h	30 Jul 2003 16:46:06 -0000
***************
*** 31,38 ****
  // ISO C++ 14882: 20.4.6  C library
  //
  
! #ifndef _CSTRING
! #define _CSTRING 1
  
  #pragma GCC system_header
  
--- 31,38 ----
  // ISO C++ 14882: 20.4.6  C library
  //
  
! #ifndef _GLIBCXX_CSTRING
! #define _GLIBCXX_CSTRING 1
  
  #pragma GCC system_header
  
Index: include/c/std_ctime.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_ctime.h,v
retrieving revision 1.4
diff -c -p -r1.4 std_ctime.h
*** include/c/std_ctime.h	5 Jul 2003 04:05:36 -0000	1.4
--- include/c/std_ctime.h	30 Jul 2003 16:46:06 -0000
***************
*** 1,6 ****
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 31,38 ****
  // ISO C++ 14882: 20.5  Date and time
  //
  
! #ifndef _CTIME
! #define _CTIME 1
  
  #pragma GCC system_header
  
--- 31,38 ----
  // ISO C++ 14882: 20.5  Date and time
  //
  
! #ifndef _GLIBCXX_CTIME
! #define _GLIBCXX_CTIME 1
  
  #pragma GCC system_header
  
Index: include/c/std_cwchar.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_cwchar.h,v
retrieving revision 1.7
diff -c -p -r1.7 std_cwchar.h
*** include/c/std_cwchar.h	5 Jul 2003 04:05:36 -0000	1.7
--- include/c/std_cwchar.h	30 Jul 2003 16:46:06 -0000
***************
*** 1,6 ****
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 31,38 ****
  // ISO C++ 14882: 21.4
  //
  
! #ifndef _CWCHAR
! #define _CWCHAR 1
  
  #pragma GCC system_header
  
--- 31,38 ----
  // ISO C++ 14882: 21.4
  //
  
! #ifndef _GLIBCXX_CWCHAR
! #define _GLIBCXX_CWCHAR 1
  
  #pragma GCC system_header
  
Index: include/c/std_cwctype.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c/std_cwctype.h,v
retrieving revision 1.5
diff -c -p -r1.5 std_cwctype.h
*** include/c/std_cwctype.h	5 Jul 2003 04:05:36 -0000	1.5
--- include/c/std_cwctype.h	30 Jul 2003 16:46:06 -0000
***************
*** 1,6 ****
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- forwarding header.
  
! // Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 31,38 ****
  // ISO C++ 14882: <cwctype>
  //
  
! #ifndef _CWCTYPE
! #define _CWCTYPE 1
  
  #pragma GCC system_header
  
--- 31,38 ----
  // ISO C++ 14882: <cwctype>
  //
  
! #ifndef _GLIBCXX_CWCTYPE
! #define _GLIBCXX_CWCTYPE 1
  
  #pragma GCC system_header
  
Index: include/c_std/cmath.tcc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/cmath.tcc,v
retrieving revision 1.3
diff -c -p -r1.3 cmath.tcc
*** include/c_std/cmath.tcc	23 Jul 2003 15:28:44 -0000	1.3
--- include/c_std/cmath.tcc	30 Jul 2003 16:46:06 -0000
***************
*** 1,6 ****
  // -*- C++ -*- C math library.
  
! // Copyright (C) 2000 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // -*- C++ -*- C math library.
  
! // Copyright (C) 2000, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 34,40 ****
  
  namespace std 
  {
!   export template<typename _Tp>
      _Tp
      __cmath_power(_Tp __x, unsigned int __n)
      {
--- 34,40 ----
  
  namespace std 
  {
!   template<typename _Tp>
      _Tp
      __cmath_power(_Tp __x, unsigned int __n)
      {
Index: include/c_std/std_cmath.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/c_std/std_cmath.h,v
retrieving revision 1.11
diff -c -p -r1.11 std_cmath.h
*** include/c_std/std_cmath.h	23 Jul 2003 15:28:44 -0000	1.11
--- include/c_std/std_cmath.h	30 Jul 2003 16:46:07 -0000
*************** namespace std
*** 838,846 ****
  #endif /* _GLIBCXX_USE_C99_FP_MACROS_DYNAMIC */
  #endif
    
! #ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
! #  define export
! #  include <bits/cmath.tcc>
  #endif
  
  #endif
--- 838,845 ----
  #endif /* _GLIBCXX_USE_C99_FP_MACROS_DYNAMIC */
  #endif
    
! #ifndef _GLIBCXX_EXPORT_TEMPLATE
! # include <bits/cmath.tcc>
  #endif
  
  #endif
Index: include/std/std_deque.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/std_deque.h,v
retrieving revision 1.6
diff -c -p -r1.6 std_deque.h
*** include/std/std_deque.h	23 Jul 2003 15:28:43 -0000	1.6
--- include/std/std_deque.h	30 Jul 2003 16:46:07 -0000
***************
*** 1,6 ****
  // <deque> -*- C++ -*-
  
! // Copyright (C) 2001, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // <deque> -*- C++ -*-
  
! // Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 70,77 ****
  #include <bits/stl_uninitialized.h>
  #include <bits/stl_deque.h>
  
! #ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
! #  include <bits/deque.tcc>
  #endif
  
  #endif /* _GLIBCXX_DEQUE */
--- 70,77 ----
  #include <bits/stl_uninitialized.h>
  #include <bits/stl_deque.h>
  
! #ifndef _GLIBCXX_EXPORT_TEMPLATE
! # include <bits/deque.tcc>
  #endif
  
  #endif /* _GLIBCXX_DEQUE */
Index: include/std/std_fstream.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/std_fstream.h,v
retrieving revision 1.55
diff -c -p -r1.55 std_fstream.h
*** include/std/std_fstream.h	23 Jul 2003 15:28:43 -0000	1.55
--- include/std/std_fstream.h	30 Jul 2003 16:46:08 -0000
*************** namespace std
*** 820,829 ****
      };
  } // namespace std
  
! #ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
! # define export
! #endif
! #ifdef  _GLIBCXX_FULLY_COMPLIANT_HEADERS
  # include <bits/fstream.tcc>
  #endif
  
--- 820,826 ----
      };
  } // namespace std
  
! #ifndef _GLIBCXX_EXPORT_TEMPLATE
  # include <bits/fstream.tcc>
  #endif
  
Index: include/std/std_istream.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/std_istream.h,v
retrieving revision 1.12
diff -c -p -r1.12 std_istream.h
*** include/std/std_istream.h	23 Jul 2003 15:28:43 -0000	1.12
--- include/std/std_istream.h	30 Jul 2003 16:46:09 -0000
*************** namespace std
*** 768,777 ****
      ws(basic_istream<_CharT, _Traits>& __is);
  } // namespace std
  
! #ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
! # define export
! #endif
! #ifdef  _GLIBCXX_FULLY_COMPLIANT_HEADERS
  # include <bits/istream.tcc>
  #endif
  
--- 768,774 ----
      ws(basic_istream<_CharT, _Traits>& __is);
  } // namespace std
  
! #ifndef _GLIBCXX_EXPORT_TEMPLATE
  # include <bits/istream.tcc>
  #endif
  
Index: include/std/std_list.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/std_list.h,v
retrieving revision 1.6
diff -c -p -r1.6 std_list.h
*** include/std/std_list.h	23 Jul 2003 15:28:43 -0000	1.6
--- include/std/std_list.h	30 Jul 2003 16:46:09 -0000
***************
*** 1,6 ****
  // <list> -*- C++ -*-
  
! // Copyright (C) 2001, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // <list> -*- C++ -*-
  
! // Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 70,77 ****
  #include <bits/stl_uninitialized.h>
  #include <bits/stl_list.h>
  
! #ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
! #  include <bits/list.tcc>
  #endif
  
  #endif /* _GLIBCXX_LIST */
--- 70,77 ----
  #include <bits/stl_uninitialized.h>
  #include <bits/stl_list.h>
  
! #ifndef _GLIBCXX_EXPORT_TEMPLATE
! # include <bits/list.tcc>
  #endif
  
  #endif /* _GLIBCXX_LIST */
Index: include/std/std_ostream.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/std_ostream.h,v
retrieving revision 1.12
diff -c -p -r1.12 std_ostream.h
*** include/std/std_ostream.h	23 Jul 2003 15:28:43 -0000	1.12
--- include/std/std_ostream.h	30 Jul 2003 16:46:11 -0000
*************** namespace std
*** 541,550 ****
  
  } // namespace std
  
! #ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
! # define export
! #endif
! #ifdef  _GLIBCXX_FULLY_COMPLIANT_HEADERS
  # include <bits/ostream.tcc>
  #endif
  
--- 541,547 ----
  
  } // namespace std
  
! #ifndef _GLIBCXX_EXPORT_TEMPLATE
  # include <bits/ostream.tcc>
  #endif
  
Index: include/std/std_queue.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/std_queue.h,v
retrieving revision 1.6
diff -c -p -r1.6 std_queue.h
*** include/std/std_queue.h	23 Jul 2003 15:28:43 -0000	1.6
--- include/std/std_queue.h	30 Jul 2003 16:46:11 -0000
***************
*** 1,6 ****
  // <queue> -*- C++ -*-
  
! // Copyright (C) 2001, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // <queue> -*- C++ -*-
  
! // Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 74,80 ****
  #include <bits/stl_function.h>
  #include <bits/stl_queue.h>
  
! #ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
  #  include <bits/deque.tcc>
  #  include <bits/vector.tcc>
  #endif
--- 74,80 ----
  #include <bits/stl_function.h>
  #include <bits/stl_queue.h>
  
! #ifndef _GLIBCXX_EXPORT_TEMPLATE
  #  include <bits/deque.tcc>
  #  include <bits/vector.tcc>
  #endif
Index: include/std/std_sstream.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/std_sstream.h,v
retrieving revision 1.33
diff -c -p -r1.33 std_sstream.h
*** include/std/std_sstream.h	23 Jul 2003 15:28:43 -0000	1.33
--- include/std/std_sstream.h	30 Jul 2003 16:46:11 -0000
*************** namespace std
*** 641,650 ****
      };
  } // namespace std
  
! #ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
! # define export
! #endif
! #ifdef  _GLIBCXX_FULLY_COMPLIANT_HEADERS
  # include <bits/sstream.tcc>
  #endif
  
--- 641,647 ----
      };
  } // namespace std
  
! #ifndef _GLIBCXX_EXPORT_TEMPLATE
  # include <bits/sstream.tcc>
  #endif
  
Index: include/std/std_stack.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/std_stack.h,v
retrieving revision 1.6
diff -c -p -r1.6 std_stack.h
*** include/std/std_stack.h	23 Jul 2003 15:28:43 -0000	1.6
--- include/std/std_stack.h	30 Jul 2003 16:46:11 -0000
***************
*** 1,6 ****
  // <stack> -*- C++ -*-
  
! // Copyright (C) 2001, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // <stack> -*- C++ -*-
  
! // Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 70,77 ****
  #include <bits/stl_deque.h>
  #include <bits/stl_stack.h>
  
! #ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
! #  include <bits/deque.tcc>
  #endif
  
  #endif /* _GLIBCXX_STACK */
--- 70,77 ----
  #include <bits/stl_deque.h>
  #include <bits/stl_stack.h>
  
! #ifndef _GLIBCXX_EXPORT_TEMPLATE
! # include <bits/deque.tcc>
  #endif
  
  #endif /* _GLIBCXX_STACK */
Index: include/std/std_streambuf.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/std_streambuf.h,v
retrieving revision 1.41
diff -c -p -r1.41 std_streambuf.h
*** include/std/std_streambuf.h	23 Jul 2003 15:28:43 -0000	1.41
--- include/std/std_streambuf.h	30 Jul 2003 16:46:12 -0000
*************** namespace std
*** 777,787 ****
      };
  } // namespace std
  
! #ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
! # define export
! #endif
! #ifdef  _GLIBCXX_FULLY_COMPLIANT_HEADERS
! #include <bits/streambuf.tcc>
  #endif
  
  #endif /* _GLIBCXX_STREAMBUF */
--- 777,784 ----
      };
  } // namespace std
  
! #ifndef _GLIBCXX_EXPORT_TEMPLATE
! # include <bits/streambuf.tcc>
  #endif
  
  #endif /* _GLIBCXX_STREAMBUF */
Index: include/std/std_string.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/std_string.h,v
retrieving revision 1.4
diff -c -p -r1.4 std_string.h
*** include/std/std_string.h	23 Jul 2003 15:28:43 -0000	1.4
--- include/std/std_string.h	30 Jul 2003 16:46:12 -0000
***************
*** 1,6 ****
  // Components for manipulating sequences of characters -*- C++ -*-
  
! // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
  // Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
--- 1,6 ----
  // Components for manipulating sequences of characters -*- C++ -*-
  
! // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003
  // Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
***************
*** 52,58 ****
  #include <bits/stl_function.h>  // For less
  #include <bits/basic_string.h>
  
! #ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
  # include <algorithm> // for find_if
  # include <bits/basic_string.tcc> 
  #endif
--- 52,58 ----
  #include <bits/stl_function.h>  // For less
  #include <bits/basic_string.h>
  
! #ifndef _GLIBCXX_EXPORT_TEMPLATE
  # include <algorithm> // for find_if
  # include <bits/basic_string.tcc> 
  #endif
Index: include/std/std_vector.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/std/std_vector.h,v
retrieving revision 1.6
diff -c -p -r1.6 std_vector.h
*** include/std/std_vector.h	23 Jul 2003 15:28:43 -0000	1.6
--- include/std/std_vector.h	30 Jul 2003 16:46:12 -0000
***************
*** 1,6 ****
  // <vector> -*- C++ -*-
  
! // Copyright (C) 2001, 2002 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
--- 1,6 ----
  // <vector> -*- C++ -*-
  
! // Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
  // software; you can redistribute it and/or modify it under the
***************
*** 71,78 ****
  #include <bits/stl_vector.h>
  #include <bits/stl_bvector.h> 
  
! #ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
! #  include <bits/vector.tcc>
  #endif
  
  #endif /* _GLIBCXX_VECTOR */
--- 71,78 ----
  #include <bits/stl_vector.h>
  #include <bits/stl_bvector.h> 
  
! #ifndef _GLIBCXX_EXPORT_TEMPLATE
! # include <bits/vector.tcc>
  #endif
  
  #endif /* _GLIBCXX_VECTOR */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]