This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Your re/move of ext/hash_map causes a regression
Ooops. Sorry.
> The non-comment parts of eb130 are short enough to include:
>
> #include <ext/hash_set>
> __gnu_cxx::hash_set<int> foo;
>
> Dunno what's the right fix here; <backward/hash_set> maybe.
Yep. Please try this, and check it in if it works:
Index: g++.old-deja/g++.robertl/eb130.C
===================================================================
--- g++.old-deja/g++.robertl/eb130.C (revision 129461)
+++ g++.old-deja/g++.robertl/eb130.C (working copy)
@@ -1,11 +1,11 @@
// { dg-do assemble }
-// { dg-options "-Wall" }
+// { dg-options "-Wall -Wno-deprecated" }
// Gives spurious warnings when compiled with -Wall
// EGCS 06/08/98 i686-pc-linux-gnulibc1
// Message-Id: <199806081358.PAA02505@achibm5.chemie.uni-karlsruhe.de>
// From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
-#include <ext/hash_set>
+#include <backward/hash_set>
__gnu_cxx::hash_set<int> foo;