From: pavenis AT lanet DOT lv Message-ID: To: djgpp AT delorie DOT com, "Andrew Crabtree" Date: Sat, 23 May 1998 15:12:56 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: compiler error In-reply-to: <6k4frh$6qg$1@rosenews.rose.hp.com> Precedence: bulk From: "Andrew Crabtree" Subject: Re: compiler error Date sent: Fri, 22 May 1998 11:23:42 -0700 Organization: Hewlett-Packard, Roseville To: djgpp AT delorie DOT com > > Elias Pschernig wrote in message <6k48d5$12a$1 AT orudios DOT magnet DOT at>... > >for the first time i've now tried to write a .cc program, > >// the program: a.cc > >class a {}; > >a *b; > >c() {new a=b;} > > > > >output from compiler: Tested with 2.8.1. It generates internal error. I think any situation when compiler generates such message should be considered as bug and should be fixed even if code is wrong as compiler must say that there is some error in some line rather than throwing some message that compiler it is confused. This is essencially significant in big source files. However I'm afraid that ability to write errorous code will always be much bigger than developers power to fix such problems