* g++.old-deja/g++.mike/net5.C: Put abort' in
std' namespace.
From-SVN: r37258
This commit is contained in:
parent
ffb2827932
commit
bb77c16cdc
@ -1,5 +1,7 @@
|
||||
2000-11-04 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* g++.old-deja/g++.mike/net5.C: Put `abort' in `std' namespace.
|
||||
|
||||
* g++.old-deja/g++.mike/p755.C: Tweak handling of exit.
|
||||
* g++.old-deja/g++.mike/p755a.C: Likewise.
|
||||
* g++.old-deja/g++.mike/p9706.C: Don't assume that the standard
|
||||
|
@ -1,7 +1,10 @@
|
||||
// Build don't link:
|
||||
// Special g++ Options:
|
||||
|
||||
namespace std {
|
||||
volatile void abort(); // WARNING - mismatch
|
||||
}
|
||||
|
||||
volatile void oink() {
|
||||
abort() ;
|
||||
std::abort() ;
|
||||
} // gets bogus error -
|
||||
|
Loading…
Reference in New Issue
Block a user