Path: utzoo!telly!philmtl!uunet!tut.cis.ohio-state.edu!CUNYVM.CUNY.EDU!chatty%FRLRI61.BITNET From: chatty%FRLRI61.BITNET@CUNYVM.CUNY.EDU Newsgroups: gnu.g++.bug Subject: default constructor bug Message-ID: <8912131639.AA14255@lri.lri.fr> Date: 13 Dec 89 16:39:07 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 35 // g++ 1.36.2 (from g++.ztar.Z, on interviews.stanford.edu) barfs on this code. class A { public: A (int); }; class B { public : B (int = 0); }; class C { public: B b; C (int); }; class D : public C { public : A a; D (int); }; // % g++ -c a.cc // a.cc: In method D::D (): // a.cc:26: too few arguments for constructor `A' // a.cc:26: in base initialization for class `A' // Stephane Chatty chatty@lri.lri.fr // chatty@frlri61.bitnet