Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!mips!sgi!shinobu!fido.wpd.sgi.com!certain From: certain@sgi.com (Andrew Certain) Newsgroups: comp.sys.sgi Subject: Re: GNU c++ bashing (was Re: c++ vs ada results) Message-ID: <1991Jun17.175550.16599@fido.wpd.sgi.com> Date: 17 Jun 91 17:55:50 GMT References: <1991Jun12.164741.412@news.larc.nasa.gov> <1991Jun12.201740.16463@netcom.COM> <32088@dime.cs.umass.edu> Sender: news@fido.wpd.sgi.com (Usenet News Admin) Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 32 In article <32088@dime.cs.umass.edu> eli@smectos.CS.UMASS.EDU (Eli Brandt) writes: > >Out of curiosity, have you actually used a GNU compiler? If so, could you >specify some of the bugs with which it was "shot through". When I was taking a computer graphics course at the University of North Carolina - Chapel Hill, we switched from Sun's C++ to g++ and experienced several very annoying bugs. I can't remember what they all where, but one was the following: In a class header file, we declared two variables like so: ... image *image1; image *image2; ... If something was assigned to image2, the program seg faulted. It we then made the one change: ... image *image2; image *image1; ... Then the assignment to image2 worked, but assignments to image1 seg faulted. Andrew Certain certain@cs.unc.edu certain@sgi.com None of this posting reflects the opinions of my employer.