Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!wuarchive!mit-eddie!mit-amt!peter From: peter@mit-amt.MEDIA.MIT.EDU (Peter Schroeder) Newsgroups: comp.lang.c++ Subject: problems with cfront 2.0 when self compiled Keywords: cfront 2.0, bug Message-ID: <1218@mit-amt.MEDIA.MIT.EDU> Date: 15 Dec 89 15:42:13 GMT Organization: MIT Media Lab, Cambridge, MA Lines: 37 // I sent this out some time ago but I am not sure it ever made it // beyond the local net... So, here goes again, sorry, if you've seen // this already. // I've recently built 2.0 with my old 1.2.1 cfront. I proceeded to have // the new compiler compile itself. This selfcompiled 2.0 behaves differently // then the 1.2.1 compiled 2.0. // Would some kind soul let me know whether they get an internal compiler // error when trying to compile the program attached below? // Notice that I only have an internal compiler error when I use the 2.0 // built with 2.0, NOT when I use the 2.0 built with 1.2.1 // I want to know whether this is a problem specific to my porting it on // the particular platform I am using. // Thank you for your help! // Peter // // peter@media-lab.media.mit.edu class base{ private: int a; public: int& bar() const; }; class derived : private base{ // this is line 8 public: base::bar; // the syntax is correct, isn't it? }; // CC /tmp/test.C: // "/tmp/test.C", line 8: internal <> error: // bus error (or something nasty like that)