2012-01-25 05:15:41 +08:00
|
|
|
#pragma GCC system_header
|
|
|
|
|
|
|
|
// This header file pretends to be <new> from the system library, for the
|
|
|
|
// purpose of the over-aligned warnings test.
|
|
|
|
|
|
|
|
void* operator new(unsigned long) {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
void* operator new[](unsigned long) {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2012-02-04 11:30:14 +08:00
|
|
|
void* operator new(unsigned long, void *) {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void* operator new[](unsigned long, void *) {
|
|
|
|
return 0;
|
|
|
|
}
|