Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!CUNYVM.CUNY.EDU!chatty%FRLRI61.BITNET From: chatty%FRLRI61.BITNET@CUNYVM.CUNY.EDU Newsgroups: gnu.g++.bug Subject: g++ 1.36.2- doesn't handle typedefs properly Message-ID: <8911290911.AA01311@lri.lri.fr> Date: 29 Nov 89 09:11:45 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 24 // 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