arraynew.C: Use `std' where necessary.
* 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. From-SVN: r37492
This commit is contained in:
parent
c4d3f801a6
commit
97150c41bd
@ -1,3 +1,10 @@
|
||||
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.
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
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);
|
||||
|
@ -62,7 +62,7 @@ void test0 ()
|
||||
if (!started)
|
||||
{
|
||||
started = true;
|
||||
set_terminate (test0);
|
||||
std::set_terminate (test0);
|
||||
|
||||
ctor_count = dtor_count = 5;
|
||||
dtor_repeat = false;
|
||||
@ -95,7 +95,7 @@ void test1 ()
|
||||
if (!started)
|
||||
{
|
||||
started = true;
|
||||
set_terminate (test1);
|
||||
std::set_terminate (test1);
|
||||
|
||||
ctor_count = dtor_count = 5;
|
||||
dtor_repeat = false;
|
||||
@ -129,7 +129,7 @@ void test2 ()
|
||||
if (!started)
|
||||
{
|
||||
started = true;
|
||||
set_terminate (test2);
|
||||
std::set_terminate (test2);
|
||||
ctor_count = dtor_count = 5;
|
||||
dtor_repeat = false;
|
||||
blocks = 0;
|
||||
@ -163,7 +163,7 @@ void test3 ()
|
||||
if (!started)
|
||||
{
|
||||
started = true;
|
||||
set_terminate (test3);
|
||||
std::set_terminate (test3);
|
||||
|
||||
ctor_count = dtor_count = 5;
|
||||
dtor_repeat = false;
|
||||
@ -201,7 +201,7 @@ void test4 ()
|
||||
if (!started)
|
||||
{
|
||||
started = true;
|
||||
set_terminate (test4);
|
||||
std::set_terminate (test4);
|
||||
|
||||
ctor_count = dtor_count = 5;
|
||||
dtor_repeat = false;
|
||||
|
@ -12,13 +12,13 @@ struct B;
|
||||
|
||||
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;
|
||||
}
|
||||
|
@ -30,13 +30,13 @@ struct P2 : B, P1 {int m;};
|
||||
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user