Path: 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 >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)