From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP (actually gcc on many platforms) Date: Fri, 05 Sep 1997 11:05:47 +0200 Organization: TU Chemnitz-Zwickau Lines: 64 Message-ID: <340FCB6B.33773184@Mathematik.TU-Chemnitz.DE> References: <340F3E86 DOT 89BA2A51 AT rmorton DOT com> NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de 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 Andrew Bober wrote: > > 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? Here my results: rho AT daemon-509 $ uname -a SunOS daemon 5.5.1 Generic_103640-12 sun4m sparc sun4m rho AT daemon-510 $ gcc --version 2.7.2 rho AT daemon-511 $ gcc -c test.cc rho AT daemon-512 $ rho AT pandora-509 $ uname -a Linux pandora.hrz.tu-chemnitz.de 2.0.29 #1 Tue Sep 2 12:06:41 MET DST 1997 i686 unknown rho AT pandora-510 $ gcc --version 2.7.2.1 rho AT pandora-511 $ gcc -c test.cc rho AT pandora-512 $ rho AT tantalus-502 $ uname -a HP-UX tantalus B.10.20 A 9000/735 2014344352 two-user license rho AT tantalus-503 $ gcc --version 2.7.2.1 rho AT tantalus-504 $ gcc -c test.cc rho AT tantalus-505 $ rho AT decency-502 $ uname -a OSF1 decency.hrz.tu-chemnitz.de V3.2 214 alpha rho AT decency-503 $ gcc --version 2.7.2 rho AT decency-504 $ gcc -c test.cc rho AT decency-505 $ @hagen-508 $ uname -a ULTRIX hagen 4.4 0 RISC @hagen-509 $ gcc --version 2.7.2 @hagen-510 $ gcc -c test.cc @hagen-511 $ And of course 'test.cc' is your example. BTW: I used the .cc suffix and not .CC Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************