+2002-03-15 Philipp Thomas <pthomas@suse.de>
+
+ * include/backward/hash_map.h: hash, hashtable, hash_map and
+ hash_multimap are in namespace __gnu_cxx.
+ include/backward/hash_set.h: hash, hashtable, hash_set and
+ hash_multiset are in namespace __gnu_cxx.
+ include/backward/hashtable.h: hash and hashtable are in
+ namespace __gnu_cxx.
+ include/backward/rope.h: char_producer, sequence_buffer,
+ rope, crope and wrope are in namespace __gnu_cxx.
+ include/backward/slist.h: slist is in namespace __gnu_cxx.
+ * testsuite/backward/header_hash_map_h.cc
+ testsuite/backward/header_hash_set_h.cc
+ testsuite/backward/header_hashtable_h.cc
+ testsuite/backward/header_rope_h.cc
+ testsuite/backward/header_slist_h.cc
+ testsuite/backward/header_tempbuf_h.cc: New tests for
+ checking that we're using the correct namespace.
+
2002-03-17 Jason Merrill <jason@redhat.com>
PR c++/4381
#include "algobase.h"
#include <ext/hash_map>
-using std::hash;
-using std::hashtable;
-using std::hash_map;
-using std::hash_multimap;
+using __gnu_cxx::hash;
+using __gnu_cxx::hashtable;
+using __gnu_cxx::hash_map;
+using __gnu_cxx::hash_multimap;
#endif /* _CPP_BACKWARD_HASH_MAP_H */
#include "algobase.h"
#include <ext/hash_set>
-using std::hash;
-using std::hashtable;
-using std::hash_set;
-using std::hash_multiset;
+using __gnu_cxx::hash;
+using __gnu_cxx::hashtable;
+using __gnu_cxx::hash_set;
+using __gnu_cxx::hash_multiset;
#endif /* _CPP_BACKWARD_HASH_SET_H */
#include "alloc.h"
#include "vector.h"
-using std::hash;
-using std::hashtable;
+using __gnu_cxx::hash;
+using __gnu_cxx::hashtable;
#endif /* _CPP_BACKWARD_HASHTABLE_H */
#include "hashtable.h"
#include <ext/rope>
-using std::char_producer;
-using std::sequence_buffer;
-using std::rope;
-using std::crope;
-using std::wrope;
+using __gnu_cxx::char_producer;
+using __gnu_cxx::sequence_buffer;
+using __gnu_cxx::rope;
+using __gnu_cxx::crope;
+using __gnu_cxx::wrope;
#endif /* _CPP_BACKWARD_ROPE_H */
#include "backward_warning.h"
#include <ext/slist>
-using std::slist;
+using __gnu_cxx::slist;
#endif /* _CPP_BACKWARD_SLIST_H */
--- /dev/null
+// 2002-03-15 Philipp Thomas <pthomas@suse.de>
+
+// 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.
+
+// backward header hash_map.h
+
+#include <hash_map.h>
+#include <testsuite_hooks.h>
+
+// { dg-options "-Wno-deprecated" }
+
+int main(void)
+{
+ return 0;
+}
--- /dev/null
+// 2002-03-15 Philipp Thomas <pthomas@suse.de>
+
+// 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.
+
+// backward header hash_set.h
+
+#include <hash_set.h>
+#include <testsuite_hooks.h>
+
+// { dg-options "-Wno-deprecated" }
+
+int main(void)
+{
+ return 0;
+}
--- /dev/null
+// 2002-03-15 Philipp Thomas <pthomas@suse.de>
+
+// 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.
+
+// backward header hashtable.h
+
+#include <hashtable.h>
+#include <testsuite_hooks.h>
+
+// { dg-options "-Wno-deprecated" }
+
+int main(void)
+{
+ return 0;
+}
--- /dev/null
+// 2002-03-15 Philipp Thomas <pthomas@suse.de>
+
+// 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.
+
+// backward header rope.h
+
+#include <rope.h>
+#include <testsuite_hooks.h>
+
+// { dg-options "-Wno-deprecated" }
+
+int main(void)
+{
+ return 0;
+}
--- /dev/null
+// 2002-03-15 Philipp Thomas <pthomas@suse.de>
+
+// 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.
+
+// backward header slist.h
+
+#include <slist.h>
+#include <testsuite_hooks.h>
+
+// { dg-options "-Wno-deprecated" }
+
+int main(void)
+{
+ return 0;
+}
--- /dev/null
+// 2002-03-15 Philipp Thomas <pthomas@suse.de>
+
+// 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.
+
+// backward header tempbuf.h
+
+#include <tempbuf.h>
+#include <testsuite_hooks.h>
+
+// { dg-options "-Wno-deprecated" }
+
+int main(void)
+{
+ return 0;
+}