cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/05/18:33:37

From: Andrew Bober <abober AT rmorton DOT com>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 <abober AT rmorton DOT com>
> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019