🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #72026

Re: configure

#72026
From: Joe Buck
Date: Tue, 12 May 1992 18:31
15 lines
1356 bytes
In article <JJC.92May12113813@jclark.com>, jjc@jclark.com (James Clark) writes:
|> gcc 2.1 has a bug that can cause `delete' occasionally to pass the
|> wrong address to free().  I couldn't find any way to work around this
|> bug other than patching gcc.  g++ 1.40.3 needs no patches to compile
|> groff.

Are you sure the bug is in gcc 2.1, and not in groff for incorrectly using
"delete ptrToArray" where the ARM requires "delete [] ptrToArray" ?  It
appears that all your patch does is restore backward bug-compatibility.

To be fair, this one can't be blamed on you as the language has changed;
"delete []" didn't exist in the original language.

-- 
Joe Buck	jbuck@ohm.berkeley.edu
Technical Details
Message-ID: <up2tgINN8kq@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!forney.berkeley.edu!jbuck
References: <1992May11.203911.21688@u.washington.edu> <creiman.705623895@void> <JJC.92May12113813@jclark.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,7577a8c24a7e03e3
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1992-05-12 05:35:26 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!forney.berkeley.edu!jbuck
From: jbuck@forney.berkeley.edu (Joe Buck)
Newsgroups: gnu.misc.discuss
Subject: Re: configure
Message-ID: <up2tgINN8kq@agate.berkeley.edu>
Date: 12 May 92 18:31:12 GMT
Article-I.D.: agate.up2tgINN8kq
References: <1992May11.203911.21688@u.washington.edu> <creiman.705623895@void> <JJC.92May12113813@jclark.com>
Organization: University of California, Berkeley
Lines: 15
NNTP-Posting-Host: forney.berkeley.edu