* g++.old-deja/g++.abi/cxa_vec.C: Likewise.
* g++.old-deja/g++.abi/ptrflags.C: Likewise.
* g++.old-deja/g++.abi/vmihint.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37492
138bc75d-0d04-0410-961f-
82ee72b054a4
+2000-11-15 Mark Mitchell <mark@codesourcery.com>
+
+ * g++.old-deja/g++.abi/arraynew.C: Use `std' where necessary.
+ * g++.old-deja/g++.abi/cxa_vec.C: Likewise.
+ * g++.old-deja/g++.abi/ptrflags.C: Likewise.
+ * g++.old-deja/g++.abi/vmihint.C: Likewise.
+
2000-11-15 Neil Booth <neilb@earthling.net>
gcc.dg/cpp/_Pragma1.c: Update.
void* p;
-void* operator new[](size_t s) throw (bad_alloc)
+void* operator new[](size_t s) throw (std::bad_alloc)
{
// Record the base of the last array allocated.
p = malloc (s);
if (!started)
{
started = true;
- set_terminate (test0);
+ std::set_terminate (test0);
ctor_count = dtor_count = 5;
dtor_repeat = false;
if (!started)
{
started = true;
- set_terminate (test1);
+ std::set_terminate (test1);
ctor_count = dtor_count = 5;
dtor_repeat = false;
if (!started)
{
started = true;
- set_terminate (test2);
+ std::set_terminate (test2);
ctor_count = dtor_count = 5;
dtor_repeat = false;
blocks = 0;
if (!started)
{
started = true;
- set_terminate (test3);
+ std::set_terminate (test3);
ctor_count = dtor_count = 5;
dtor_repeat = false;
if (!started)
{
started = true;
- set_terminate (test4);
+ std::set_terminate (test4);
ctor_count = dtor_count = 5;
dtor_repeat = false;
using namespace abi;
-int expect (int flags, type_info const &info)
+int expect (int flags, std::type_info const &info)
{
- __pbase_type_info const *ptr =
- dynamic_cast <__pbase_type_info const *> (&info);
+ abi::__pbase_type_info const *ptr =
+ dynamic_cast <abi::__pbase_type_info const *> (&info);
if (!ptr)
return 0;
- if (ptr->qualifier_flags != flags)
+ if (ptr->__qualifier_flags != flags)
return 0;
return 1;
}
using namespace abi;
-int expect (int flags, type_info const &info)
+int expect (int flags, std::type_info const &info)
{
- __vmi_class_type_info const *ptr =
- dynamic_cast <__vmi_class_type_info const *> (&info);
+ abi::__vmi_class_type_info const *ptr =
+ dynamic_cast <abi::__vmi_class_type_info const *> (&info);
if (!ptr)
return 0;
- if (ptr->flags != flags)
+ if (ptr->__flags != flags)
return 0;
return 1;
}