Thread View: gnu.g++.bug
1 messages
1 total messages
Started by chatty%FRLRI61.BITNET
Wed, 29 Nov 1989 09:11
g++ 1.36.2- doesn't handle typedefs properly
Author: chatty%FRLRI61.BITNET
Date: Wed, 29 Nov 1989 09:11
Date: Wed, 29 Nov 1989 09:11
24 lines
816 bytes
816 bytes
// g++ 1.36.2- (with the various posted patches) refuses to compile the
// following code:
class A {
public:
A (int);
};
typedef A B;
B
foo ()
{
return B (0);
}
// % g++ -c a.cc
// a.cc: In function class A foo ():
// a.cc:11: no member function `A::B'
// Stephane Chatty chatty@lri.lri.fr
// chatty@frlri61.bitnet
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