🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #1903

Re: Lattice 5.04 problem with free()

#1903
From: Todd Carpenter
Date: Mon, 30 Oct 1989 13:28
25 lines
1740 bytes
>From: jac@muslix.llnl.gov (James Crotinger) Newsgroups: comp.sys.amiga.tech
>  Organization: Lawrence Livermore National Laboratory/UC Davis Lines: 10
>
>    According to Plauger and Brodie, "Standard C", free() is prototyped as
>  "void free(void *ptr)", so this is a change by Lattice to bring 5.04 more

Thanks!  I got to work and checked my books and found the same thing.  I'm
surprised they didn't also release errata, or put it in the readme.504 (or if
they did, I'm sadly blind).

In other news, I can now use the optimizer (on certain modules), and can use
the 68881 library.  This gives me up to a 20% performance increase over IEEE
libraries and nonoptimized compilation.  I was thrilled, as I need every bit I
can get. I am also _very_ happy the Lattice is providing these upgrades free to
registered owners.  I wonder if they will institute a maintenance program to
recoup some of their mailing costs?


As long as we are on the subject of Lattice, why doesn't this macro seem to
work?  (I'm rather new to macrodom, so this is probably a silly one) I
have some terribly long nasty expressions that need to be squared, and
SQR(moocow) never returns what I expect:

#define SQR(x) (x*x)
Technical Details
Message-ID: <36899@srcsip.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!wuarchive!uwm.edu!srcsip!coltrane!carpent
References: <36769@srcsip.UUCP> <37167@lll-winken.LLNL.GOV>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!wuarchive!uwm.edu!srcsip!coltrane!carpent
From: carpent@SRC.Honeywell.COM (Todd Carpenter)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Lattice 5.04 problem with free()
Message-ID: <36899@srcsip.UUCP>
Date: 30 Oct 89 13:28:45 GMT
References: <36769@srcsip.UUCP> <37167@lll-winken.LLNL.GOV>
Sender: news@src.honeywell.COM
Lines: 25
In-reply-to: jac@muslix.llnl.gov's message of 30 Oct 89 08:49:34 GMT