From: Andrew Bober Newsgroups: comp.os.msdos.djgpp Subject: DJGPP (actually gcc on many platforms) Date: Thu, 04 Sep 1997 16:04:38 -0700 Organization: InterAccess Co., Chicago's Full Service Internet Provider Lines: 41 Message-ID: <340F3E86.89BA2A51@rmorton.com> 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 Hi all, Below is an example class that when placed in a .CPP/.CC file will not compile under gcc/g++ on any platform that I have tested. Tested platforms include HP, DIGITAL, SCO, and DOS. The UNIX platforms crash with the error: "Internal Compiler Error" DJGPPP simply quits with the message: "Abort!" Does anyone know about a fix or a workaround for this situation? Thanks for reading, Andy //////////////////////////////////////////////////// #include class ErrorExample { private: string *StringArray1; string *StringArray2; public: ErrorExample() { StringArray1 = new string[5]; StringArray2 = new string[5]; } ~ErrorExample() { delete StringArray1; delete StringArray2; } };