Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!seismo!munnari!otc!mikem From: mikem@otc.UUCP Newsgroups: comp.lang.c++ Subject: Re: 3 bugs in cfront 1.1 on Sun-3 Message-ID: <90@otc.OZ> Date: Tue, 17-Feb-87 19:12:32 EST Article-I.D.: otc.90 Posted: Tue Feb 17 19:12:32 1987 Date-Received: Thu, 19-Feb-87 19:08:48 EST References: <396@inria.UUCP> Organization: O.T.C. Systems Development, Australia Lines: 41 In article <396@inria.UUCP>, shapiro@inria.UUCP (Marc Shapiro) writes: > 2) On the following program, cfront aborts: > > class base { > protected: > int field; > base () {field = 0;}; > }; > > class derived: base { > char fold; > derived () {fold = '\0';}; > }; > > CC -F tst.c > tst..c > "tst.c", line 10: internal <> error: bus error (or > something nasty like that) Strange. I get: $ CC -c +i tst.c CC tst.c: "tst.c", line 10: error: base::base() is protected 1 error $ Sounds like a bug in the port to me. Maybe the vararg stuff in error.c is affecting not only Pyramids (?) (This was the main stuff that we had to rewrite to get cfront up.) > 3) I have a wierd problem with an inline constructor when the derived > class has 2 constructors. This bug is truly amazing. See separate posting. Mike Mowbray Systems Development Overseas Telecommunications Commission (Australia) UUCP: {seismo,mcvax}!otc.oz!mikem ACSnet: mikem@otc.oz