Commit ee3ee948 by Benjamin Kosnik Committed by Benjamin Kosnik

c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.

2011-01-21  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
	* include/debug/safe_sequence.h: Same.
	* include/debug/safe_iterator.h: Same.
	* include/std/forward_list: Same.
	* include/std/deque: Same.
	* include/std/list: Same.
	* include/std/random: Same.
	* include/std/streambuf: Same.
	* include/std/fstream: Same.
	* include/std/istream: Same.
	* include/std/string: Same.
	* include/std/ostream: Same.
	* include/std/sstream: Same.
	* include/ext/vstring.h: Same.
	* include/bits/basic_ios.h: Same.
	* include/bits/locale_classes.h: Same.
	* include/bits/locale_facets.h: Same.
	* include/bits/valarray_array.h: Same.
	* include/bits/locale_facets_nonio.h: Same.
	* include/tr1/random: Same.

From-SVN: r169102
parent aaa52a96
2011-01-21 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config (_GLIBCXX_EXPORT_TEMPLATE): Remove.
* include/debug/safe_sequence.h: Same.
* include/debug/safe_iterator.h: Same.
* include/std/forward_list: Same.
* include/std/deque: Same.
* include/std/list: Same.
* include/std/random: Same.
* include/std/streambuf: Same.
* include/std/fstream: Same.
* include/std/istream: Same.
* include/std/string: Same.
* include/std/ostream: Same.
* include/std/sstream: Same.
* include/ext/vstring.h: Same.
* include/bits/basic_ios.h: Same.
* include/bits/locale_classes.h: Same.
* include/bits/locale_facets.h: Same.
* include/bits/valarray_array.h: Same.
* include/bits/locale_facets_nonio.h: Same.
* include/tr1/random: Same.
2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com> 2011-01-20 Jonathan Wakely <jwakely.gcc@gmail.com>
* doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts. * doc/xml/manual/diagnostics.xml: Replace note about C++0x concepts.
......
// Iostreams base classes -*- C++ -*- // Iostreams base classes -*- C++ -*-
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
// 2006, 2007, 2008, 2009, 2010 // 2006, 2007, 2008, 2009, 2010, 2011
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -467,8 +467,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -467,8 +467,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
_GLIBCXX_END_NAMESPACE _GLIBCXX_END_NAMESPACE
#ifndef _GLIBCXX_EXPORT_TEMPLATE
#include <bits/basic_ios.tcc> #include <bits/basic_ios.tcc>
#endif
#endif /* _BASIC_IOS_H */ #endif /* _BASIC_IOS_H */
...@@ -359,10 +359,6 @@ namespace std ...@@ -359,10 +359,6 @@ namespace std
#define _GLIBCXX_PSEUDO_VISIBILITY(V) #define _GLIBCXX_PSEUDO_VISIBILITY(V)
#endif #endif
// 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 // Allow use of the GNU syntax extension, "extern template." This
// extension is fully documented in the g++ manual, but in a nutshell, // extension is fully documented in the g++ manual, but in a nutshell,
// it inhibits all implicit instantiations and is used throughout the // it inhibits all implicit instantiations and is used throughout the
......
// Locale support -*- C++ -*- // Locale support -*- C++ -*-
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
// 2006, 2007, 2008, 2009, 2010 // 2006, 2007, 2008, 2009, 2010, 2011
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -817,8 +817,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -817,8 +817,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
_GLIBCXX_END_NAMESPACE _GLIBCXX_END_NAMESPACE
#ifndef _GLIBCXX_EXPORT_TEMPLATE
# include <bits/locale_classes.tcc> # include <bits/locale_classes.tcc>
#endif
#endif #endif
// Locale support -*- C++ -*- // Locale support -*- C++ -*-
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
// 2006, 2007, 2008, 2009, 2010 // 2006, 2007, 2008, 2009, 2010, 2011
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -2599,8 +2599,6 @@ _GLIBCXX_END_LDBL_NAMESPACE ...@@ -2599,8 +2599,6 @@ _GLIBCXX_END_LDBL_NAMESPACE
_GLIBCXX_END_NAMESPACE _GLIBCXX_END_NAMESPACE
#ifndef _GLIBCXX_EXPORT_TEMPLATE
# include <bits/locale_facets.tcc> # include <bits/locale_facets.tcc>
#endif
#endif #endif
// Locale support -*- C++ -*- // Locale support -*- C++ -*-
// Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc. // Copyright (C) 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -1927,8 +1927,6 @@ _GLIBCXX_END_NAMESPACE ...@@ -1927,8 +1927,6 @@ _GLIBCXX_END_NAMESPACE
// 22.2.1.5 Template class codecvt // 22.2.1.5 Template class codecvt
#include <bits/codecvt.h> #include <bits/codecvt.h>
#ifndef _GLIBCXX_EXPORT_TEMPLATE #include <bits/locale_facets_nonio.tcc>
# include <bits/locale_facets_nonio.tcc>
#endif
#endif #endif
// The template and inlines for the -*- C++ -*- internal _Array helper class. // The template and inlines for the -*- C++ -*- internal _Array helper class.
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
// 2006, 2007, 2008, 2009, 2010 // 2006, 2007, 2008, 2009, 2010, 2011
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -687,8 +687,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -687,8 +687,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
_GLIBCXX_END_NAMESPACE _GLIBCXX_END_NAMESPACE
#ifndef _GLIBCXX_EXPORT_TEMPLATE
# include <bits/valarray_array.tcc> # include <bits/valarray_array.tcc>
#endif
#endif /* _ARRAY_H */ #endif /* _ARRAY_H */
// Safe iterator implementation -*- C++ -*- // Safe iterator implementation -*- C++ -*-
// Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 // Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010, 2011
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -684,8 +684,6 @@ namespace __gnu_debug ...@@ -684,8 +684,6 @@ namespace __gnu_debug
{ return _Siter_base<_Iterator>::_S_base(__it); } { return _Siter_base<_Iterator>::_S_base(__it); }
} // namespace __gnu_debug } // namespace __gnu_debug
#ifndef _GLIBCXX_EXPORT_TEMPLATE #include <debug/safe_iterator.tcc>
# include <debug/safe_iterator.tcc>
#endif
#endif #endif
// Safe sequence implementation -*- C++ -*- // Safe sequence implementation -*- C++ -*-
// Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 // Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010, 2011
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -130,8 +130,6 @@ namespace __gnu_debug ...@@ -130,8 +130,6 @@ namespace __gnu_debug
}; };
} // namespace __gnu_debug } // namespace __gnu_debug
#ifndef _GLIBCXX_EXPORT_TEMPLATE #include <debug/safe_sequence.tcc>
# include <debug/safe_sequence.tcc>
#endif
#endif #endif
// Versatile string -*- C++ -*- // Versatile string -*- C++ -*-
// Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -2722,8 +2722,6 @@ _GLIBCXX_END_NAMESPACE ...@@ -2722,8 +2722,6 @@ _GLIBCXX_END_NAMESPACE
#endif #endif
#ifndef _GLIBCXX_EXPORT_TEMPLATE #include "vstring.tcc"
# include "vstring.tcc"
#endif
#endif /* _VSTRING_H */ #endif /* _VSTRING_H */
// <deque> -*- C++ -*- // <deque> -*- C++ -*-
// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010 // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -64,10 +64,7 @@ ...@@ -64,10 +64,7 @@
#include <bits/stl_uninitialized.h> #include <bits/stl_uninitialized.h>
#include <bits/stl_deque.h> #include <bits/stl_deque.h>
#include <bits/range_access.h> #include <bits/range_access.h>
#include <bits/deque.tcc>
#ifndef _GLIBCXX_EXPORT_TEMPLATE
# include <bits/deque.tcc>
#endif
#ifdef _GLIBCXX_DEBUG #ifdef _GLIBCXX_DEBUG
# include <debug/deque> # include <debug/deque>
......
// <forward_list> -*- C++ -*- // <forward_list> -*- C++ -*-
// Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. // Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -37,10 +37,7 @@ ...@@ -37,10 +37,7 @@
#include <bits/forward_list.h> #include <bits/forward_list.h>
#include <bits/range_access.h> #include <bits/range_access.h>
#include <bits/forward_list.tcc>
#ifndef _GLIBCXX_EXPORT_TEMPLATE
# include <bits/forward_list.tcc>
#endif
#ifdef _GLIBCXX_DEBUG #ifdef _GLIBCXX_DEBUG
# include <debug/forward_list> # include <debug/forward_list>
......
// File based streams -*- C++ -*- // File based streams -*- C++ -*-
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
// 2006, 2007, 2008, 2009, 2010 // 2006, 2007, 2008, 2009, 2010, 2011
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -915,8 +915,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -915,8 +915,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
_GLIBCXX_END_NAMESPACE _GLIBCXX_END_NAMESPACE
#ifndef _GLIBCXX_EXPORT_TEMPLATE #include <bits/fstream.tcc>
# include <bits/fstream.tcc>
#endif
#endif /* _GLIBCXX_FSTREAM */ #endif /* _GLIBCXX_FSTREAM */
// Input streams -*- C++ -*- // Input streams -*- C++ -*-
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
// 2006, 2007, 2008, 2009, 2010 // 2006, 2007, 2008, 2009, 2010, 2011
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -850,8 +850,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -850,8 +850,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
_GLIBCXX_END_NAMESPACE _GLIBCXX_END_NAMESPACE
#ifndef _GLIBCXX_EXPORT_TEMPLATE #include <bits/istream.tcc>
# include <bits/istream.tcc>
#endif
#endif /* _GLIBCXX_ISTREAM */ #endif /* _GLIBCXX_ISTREAM */
// <list> -*- C++ -*- // <list> -*- C++ -*-
// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010 // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -60,12 +60,9 @@ ...@@ -60,12 +60,9 @@
#include <bits/stl_algobase.h> #include <bits/stl_algobase.h>
#include <bits/allocator.h> #include <bits/allocator.h>
#include <bits/stl_list.h>
#include <bits/range_access.h> #include <bits/range_access.h>
#include <bits/stl_list.h>
#ifndef _GLIBCXX_EXPORT_TEMPLATE #include <bits/list.tcc>
# include <bits/list.tcc>
#endif
#ifdef _GLIBCXX_DEBUG #ifdef _GLIBCXX_DEBUG
# include <debug/list> # include <debug/list>
......
// Output streams -*- C++ -*- // Output streams -*- C++ -*-
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
// 2006, 2007, 2008, 2009, 2010 // 2006, 2007, 2008, 2009, 2010, 2011
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -582,8 +582,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -582,8 +582,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
_GLIBCXX_END_NAMESPACE _GLIBCXX_END_NAMESPACE
#ifndef _GLIBCXX_EXPORT_TEMPLATE #include <bits/ostream.tcc>
# include <bits/ostream.tcc>
#endif
#endif /* _GLIBCXX_OSTREAM */ #endif /* _GLIBCXX_OSTREAM */
// <random> -*- C++ -*- // <random> -*- C++ -*-
// Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc. // Copyright (C) 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -47,12 +47,8 @@ ...@@ -47,12 +47,8 @@
#ifdef _GLIBCXX_USE_C99_STDINT_TR1 #ifdef _GLIBCXX_USE_C99_STDINT_TR1
#include <cstdint> // For uint_fast32_t, uint_fast64_t, uint_least32_t #include <cstdint> // For uint_fast32_t, uint_fast64_t, uint_least32_t
#include <bits/random.h> #include <bits/random.h>
#include <bits/random.tcc>
#ifndef _GLIBCXX_EXPORT_TEMPLATE
# include <bits/random.tcc>
#endif
#endif // _GLIBCXX_USE_C99_STDINT_TR1 #endif // _GLIBCXX_USE_C99_STDINT_TR1
......
// String based streams -*- C++ -*- // String based streams -*- C++ -*-
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
// 2006, 2008, 2009, 2010 Free Software Foundation, Inc. // 2006, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -569,8 +569,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -569,8 +569,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
_GLIBCXX_END_NAMESPACE _GLIBCXX_END_NAMESPACE
#ifndef _GLIBCXX_EXPORT_TEMPLATE #include <bits/sstream.tcc>
# include <bits/sstream.tcc>
#endif
#endif /* _GLIBCXX_SSTREAM */ #endif /* _GLIBCXX_SSTREAM */
// Stream buffer classes -*- C++ -*- // Stream buffer classes -*- C++ -*-
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
// 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. // 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -795,8 +795,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -795,8 +795,6 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
_GLIBCXX_END_NAMESPACE _GLIBCXX_END_NAMESPACE
#ifndef _GLIBCXX_EXPORT_TEMPLATE #include <bits/streambuf.tcc>
# include <bits/streambuf.tcc>
#endif
#endif /* _GLIBCXX_STREAMBUF */ #endif /* _GLIBCXX_STREAMBUF */
// Components for manipulating sequences of characters -*- C++ -*- // Components for manipulating sequences of characters -*- C++ -*-
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
// 2005, 2006, 2007, 2009, 2010 // 2005, 2006, 2007, 2009, 2010, 2011
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -50,11 +50,8 @@ ...@@ -50,11 +50,8 @@
#include <bits/stl_function.h> // For less #include <bits/stl_function.h> // For less
#include <ext/numeric_traits.h> #include <ext/numeric_traits.h>
#include <bits/stl_algobase.h> #include <bits/stl_algobase.h>
#include <bits/basic_string.h>
#include <bits/range_access.h> #include <bits/range_access.h>
#include <bits/basic_string.h>
#ifndef _GLIBCXX_EXPORT_TEMPLATE #include <bits/basic_string.tcc>
# include <bits/basic_string.tcc>
#endif
#endif /* _GLIBCXX_STRING */ #endif /* _GLIBCXX_STRING */
// random number generation -*- C++ -*- // random number generation -*- C++ -*-
// Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc. // Copyright (C) 2006, 2007, 2008, 2009, 2011 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -44,11 +44,7 @@ ...@@ -44,11 +44,7 @@
#include <debug/debug.h> #include <debug/debug.h>
#include <tr1/type_traits> #include <tr1/type_traits>
#include <tr1/cmath> #include <tr1/cmath>
#include <tr1/random.h> #include <tr1/random.h>
#include <tr1/random.tcc>
#ifndef _GLIBCXX_EXPORT_TEMPLATE
# include <tr1/random.tcc>
#endif
#endif // _GLIBCXX_TR1_RANDOM #endif // _GLIBCXX_TR1_RANDOM
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment