Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!ditka!comeau From: comeau@ditka.Chicago.COM (Greg Comeau) Newsgroups: comp.sys.amiga.programmer Subject: Re: REVIEW: Comeau C++ compiler Keywords: programming, language, C++, compiler Message-ID: <37228@ditka.Chicago.COM> Date: 21 Apr 91 17:54:17 GMT References: <1991Apr12.001715.19397@oracle.com> <36851@ditka.Chicago.COM> <7285@harrier.ukc.ac.uk> Sender: news@ditka.chicago.com (Pulitzer at ditka) Reply-To: comeau@csanta.attmail.com (Greg Comeau) Organization: Comeau Computing Lines: 31 In article <7285@harrier.ukc.ac.uk> mr3@ukc.ac.uk (M.Rizzo) writes: >I can understand that CPR will work with C++ code and will try to do its >best - but I can't see how it will be able to understand the "this" >pointer. The GNU debugger gdb required a number of extensions to work >properly with GNU g++ - I think CPR will need a few as well. I don't see why. ``this'' is just a const pointer to the object being passed. Therefore a class member is just this->'d. What problem di g++/gcc have in this area? >Another problem >is that member function names of the form "class::function" get translated >to some other C function name internally - I don't know for sure but I expect >this is the case with Comeau C++ (that's how its done on GNU and Zortech). That is correct. We find that initial purchasers of Comeau C++ will sometimes call up about this, but often never call twice as they get used to it since C++ has many characteristics which diverts the energy normally spent in debugging into other areas of the programming cycle. Nevertheless, this is something that we spend time on solving with the ports of Comeau C++ we do. For instance, under UNIX we have something called CCsdb, which allows you to use to C++ names as is. - Greg -- Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418 Producers of Comeau C++ Here:attmail.com!csanta!comeau / BIX:comeau / CIS:72331,3421 Voice:718-945-0009 / Fax:718-441-2310