Thread View: gnu.g++.bug
1 messages
1 total messages
Started by jjc
Tue, 24 Oct 1989 16:23
private operator new bug
Author: jjc
Date: Tue, 24 Oct 1989 16:23
Date: Tue, 24 Oct 1989 16:23
19 lines
640 bytes
640 bytes
On a Sun 3, OS 3.4, g++ 1.36.0- (Oct 17 version) gets a segmentation
violation on this:
typedef unsigned long size_t;
class A {
void *operator new(size_t);
public:
A();
};
void foo()
{
A *p = new A;
}
cfront 2.0 accepts it.
James Clark
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads