Path: utzoo!attcan!uunet!jarthur!uci-ics!gateway From: rfg@paris.ics.uci.edu (Ron Guilmette) Newsgroups: comp.lang.c++ Subject: cfront 2.0 bug 900207.01 Message-ID: <25D0C323.2224@paris.ics.uci.edu> Date: 8 Feb 90 00:53:55 GMT Organization: UC Irvine Department of ICS Lines: 28 // cfront 2.0 bug 900207.01 // cfront 2.0 will not allow you to explicitly call an implicitly generated // default constructor for a base class as a ctor-initializer (see 12.6.2) // for a drived class constructor. // I can find nothing in the 2.0 Reference Manual to indicate that this should // be illegal. class c0 { }; class c1 : public c0 { public: c1 () { /* OK - implicit call of implicit default constructor c0::c0() */ } }; class c2 { }; class c3 : public c2 { public: c3 () : c2 () { /* explicit call of c2::c2() causes erroneous error */ } };