From: Andrew Bober Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP (actually gcc on many platforms) Date: Fri, 05 Sep 1997 15:56:12 -0700 Organization: InterAccess Co., Chicago's Full Service Internet Provider Lines: 56 Message-ID: <34108E0C.23F5634B@rmorton.com> References: <340F3E86 DOT 89BA2A51 AT rmorton DOT com> <34101867 DOT 480299 AT news DOT uni-duisburg DOT de> NNTP-Posting-Host: 207.208.23.163 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Could it be a problem with the installation of gcc? If so, how could the same error happen accross platforms so consistantly as it has for me? I haven't seen any conformations of the failure so I guess I'm the odd ball out. I'm just really surprized that the same error manifested itself, in the same place, on all our platforms -- DOS, DIGITAL, HP, and SCO. Thanks for your input. Andy BTW: Your right about the brackets when using operator delete on arrays. I just added the d'ctor for completeness when posting the code here on the new group. The compiler errors came with (and without) the d'ctor. Also, I didn't try to "complete" the example I just compiled with the -c switch. I'll try it your way too. Michael Mauch wrote: > > On Thu, 04 Sep 1997 16:04:38 -0700, Andrew Bober > wrote: > > > The UNIX platforms crash with the error: "Internal Compiler Error" > > DJGPPP simply quits with the message: "Abort!" > > It compiles fine on my copy of DJGPP v2.01, even with > gxx -Wall -pedantic -o tt.exe tt.cc > > when I "complete" the program with > > int main() > { > ErrorExample Hi; > } > > Hmm, shouldn't it warn about "control reaches end of non-void function" > or is this for C programs only? > > And: shouldn't you use brackets ([]) after the delete operators here? > > > ~ErrorExample() > > { > > delete StringArray1; > > delete StringArray2; > > } > > }; > > Regards... > Michael