]> gcc.gnu.org Git - gcc.git/commitdiff
misc-inst.cc (__sink_unused_warning): Move to...
authorBenjamin Kosnik <bkoz@redhat.com>
Fri, 23 Mar 2001 20:02:03 +0000 (20:02 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 23 Mar 2001 20:02:03 +0000 (20:02 +0000)
2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>

* src/misc-inst.cc (__sink_unused_warning): Move to...
* src/locale-inst.cc (__sink_unused_warning): Move to...
* src/stl-inst.cc: Here.
* include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
commented it out.

From-SVN: r40792

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/c++config
libstdc++-v3/src/locale-inst.cc
libstdc++-v3/src/misc-inst.cc
libstdc++-v3/src/stl-inst.cc

index 605286e7b6d06bb0e3d79d827eeb75fc59038a84..1212841430f519c31ed08f2ee9e54c62a633f916 100644 (file)
@@ -1,3 +1,11 @@
+2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * src/misc-inst.cc (__sink_unused_warning): Move to...
+       * src/locale-inst.cc (__sink_unused_warning): Move to...
+       * src/stl-inst.cc: Here.
+       * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
+       commented it out.
+
 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
 
        * intclude/bits/basic_file.h: Fix typos in comments.
index 63c9762b9a368700c9231050db3166aa1ed15cc5..7a086aa4f8b11d9d0069e7c906a4facf8d46c49c 100644 (file)
@@ -65,6 +65,7 @@
 
 // Concept-checking code is on by default unless users define
 // the _STL_NO_CONCEPT_CHECKS hook.
+//#define _STL_NO_CONCEPT_CHECKS 1
 #if !defined(_STL_NO_CONCEPT_CHECKS)
 #  define __STL_USE_CONCEPT_CHECKS
 #endif
index 554fab3f258e910cadcb8c6ad7b72874576b19b6..a2027281ac49f16529c966e5387d71f362c2c55b 100644 (file)
@@ -44,7 +44,6 @@
 
 namespace std
 {
-
   typedef ostreambuf_iterator<char, char_traits<char> > obuf_iterator;
   typedef istreambuf_iterator<char, char_traits<char> > ibuf_iterator;
   typedef ostreambuf_iterator<wchar_t, char_traits<wchar_t> > wobuf_iterator;
@@ -286,9 +285,6 @@ namespace std
 #endif
 #endif // _GLIBCPP_USE_WCHAR_T
 
-  template
-    void __sink_unused_warning<locale::facet*>(locale::facet*);
-
   template 
     locale::facet** 
     fill_n<locale::facet**, size_t, locale::facet*>
index 50d11abb44050a85956725cf647f855cbb6c924a..3c3b9f1582efe149be43bf40ee9d3c088664a806 100644 (file)
@@ -241,26 +241,6 @@ namespace std
     (vector<string>::const_iterator, vector<string>::const_iterator, 
      string*, _Bool<false>);
 
-  template
-    void 
-    __sink_unused_warning<char>(char);
-#ifdef _GLIBCPP_USE_WCHAR_T
-  template
-    void 
-    __sink_unused_warning<wchar_t>(wchar_t);
-#endif
-
-  template
-    void
-    __sink_unused_warning<ostreambuf_iterator<char> > 
-    (ostreambuf_iterator<char>);
-#ifdef _GLIBCPP_USE_WCHAR_T
-  template
-    void
-    __sink_unused_warning<ostreambuf_iterator<wchar_t> > 
-    (ostreambuf_iterator<wchar_t>);
-#endif
-
   template
     void 
     __pad_char(basic_ios<char>&, char*, const char*,
index 29337c02bbfd1a02df438ebd7ef3264a12c25243..f5008c950ddc7dc456a7b21ec8979c49b713f0fc 100644 (file)
@@ -1,6 +1,6 @@
 // Explicit instantiation file.
 
-// Copyright (C) 1999 Free Software Foundation, Inc.
+// Copyright (C) 1999, 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
@@ -34,6 +34,7 @@
 #include <bits/c++config.h>
 #include <bits/stl_alloc.h>
 #include <bits/std_vector.h>
+#include <bits/std_ostream.h>
 
 namespace std
 {
@@ -49,8 +50,27 @@ namespace std
     vector<unsigned int>::
     _M_insert_aux(vector<unsigned int>::iterator, unsigned int const &);
 
+#ifdef __STL_USE_CONCEPT_CHECKS
   template
-    void
-    __sink_unused_warning<unsigned int>(unsigned int);
+    void __sink_unused_warning<unsigned int>(unsigned int);
+
+  template
+    void __sink_unused_warning<locale::facet*>(locale::facet*);
 
+  template
+    void __sink_unused_warning<char>(char);
+
+  template
+    void __sink_unused_warning<ostreambuf_iterator<char> >
+    (ostreambuf_iterator<char>);
+
+# ifdef _GLIBCPP_USE_WCHAR_T
+  template
+    void __sink_unused_warning<wchar_t>(wchar_t);
+
+  template
+    void __sink_unused_warning<ostreambuf_iterator<wchar_t> > 
+    (ostreambuf_iterator<wchar_t>);
+# endif
+#endif
 } //std
This page took 0.072439 seconds and 5 git commands to generate.