home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!caen!spool.mu.edu!umn.edu!csus.edu!borland.com!pete
- From: pete@borland.com (Pete Becker)
- Subject: Re: Death of Borland C++ Compiler
- Message-ID: <1992Dec18.171904.17816@borland.com>
- Originator: pete@genghis.borland.com
- Sender: news@borland.com (News Admin)
- Organization: Borland International
- References: <chaolin.88@fcit-m1.fcit.monash.edu.au>
- Date: Fri, 18 Dec 1992 17:19:04 GMT
- Lines: 28
-
- In article <chaolin.88@fcit-m1.fcit.monash.edu.au> chaolin@fcit-m1.fcit.monash.edu.au (CHAOLIN CHANG) writes:
- >
- >I was a loyal Borland C++ compiler user. I love the IDE environment
- >(though I only use it for creating the project file) and various tools
- >bundled. But as my programs are becoming complex (using pointer, pointer
- >to pointer, pointer to pointer to pointer and farmalloc extensively),
- >Borland compiler begins to fall over. One of my colleagues is also
- >suffering for the same experience when he tried to push the Borland compiler
- >to its limits.
- >
- >I had pulled all my hair out. If the program is run within the debuger line
- >by line, it works fine. But as soon as I let go, it hung my PC.
- >
- >I recompile the same source code in Zortech. It WORKS.
- >
- >I wonder if anyone else has the same experiences with me?
- >
-
- It is not at all uncommon for buggy programs to appear to work when
- compiled with one compiler and to fail with another compiler. It often means
- that the two compilers lay the data out differently, so writing through a
- bad pointer happens to be harmless with one compiler and fatal with another.
- I have rarely seen problems of the type described here that can
- actually be blamed on the compiler. Which isn't to say that it can't be a
- compiler bug, but that it requires much more investigation.
- -- Pete
-
-
-