home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!paladin.american.edu!gatech!swrinde!emory!wupost!sdd.hp.com!hpscit.sc.hp.com!hpuerca.atl.hp.com!aaa
- From: aaa@hpuerca.atl.hp.com (Simon Fowler)
- Subject: Re: Bug in BC/C++ 2.0 ?
- Sender: news@hpuerca.atl.hp.com ( News admin)
- Message-ID: <BzrsxL.7t9@hpuerca.atl.hp.com>
- Date: Thu, 24 Dec 1992 15:41:45 GMT
- References: <rogerl.724699309@Minsk> <1992Dec23.202206.29576@microsoft.com>
- Organization: Hewlett-Packard Company, Atlanta GA
- Keywords: bugs
- Lines: 25
-
- In article <1992Dec23.202206.29576@microsoft.com>, pauljo@microsoft.com (Paul Johns) writes:
- > What's happening here is that the rules in C++ changed
- > AFTER the Borland 2.0 compiler was written.
- >
- > In the old (before AT&T 2.1, I believe) days, you had
- > to specify the size of the array you were deleting.
- > And you had to get it right. The old Borland compiler
- > is compatible with this old rule.
-
- As is the Zortech compiler for OS/2 1.3.
-
- > 1. Upgrade your compiler to one that's AT&T 2.1-compliant.
- > I think you should consider Microsoft C++, but I
- > work for Microsoft and own Microsoft stock, so I
- > have a clear bias. :)
-
- Not much alternative for OS/2 1.3
-
- > 2. Put the size in the delete. This is upwards-compatible:
- > it's ignored in AT&T 2.1 and 3.0. This can be a little
- > bit of a pain, but it's probably cheaper than upgrading.
-
- Not ignored in IBMC++
-
- simon
-