Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!njin!princeton!udel!gatech!mandrill!tut.cis.ohio-state.edu!mailrus!ames!joyce!csl!argon!alan
From: alan@argon.csl.sri.com (Alan Whitehurst)
Newsgroups: comp.binaries.ibm.pc.d
Subject: Re: BISON
Message-ID: <5722@csl.CSL.SRI.COM>
Date: 2 Jul 88 23:25:31 GMT
References: <2674@utah-gr.UUCP> <2567@mind.UUCP> <3615@omepd> <10132@iuvax.cs.indiana.edu> <9614@ubvax.UB.Com>
Sender: usenet@csl.CSL.SRI.COM
Reply-To: alan@csl.sri.com (Alan Whitehurst)
Distribution: na
Organization: Computer Science Lab, SRI International
Lines: 19

Did anyone else have to redefine the FREE macro in new.h of BISON?
I'm using Turbo-C 1.5, but had to modify the source of the include
file to get the compiler to accept it.

I had to change

#define FREE(x) (x && free((char *)(x)))

to

#define FREE(x) if(x) free((void *)(x))

to get it to compile.  Is this a reasonable change, or am I missing
something?  My machine has been off the net for a while, so it's
possible this has already been discussed.

   R. Alan Whitehurst
  Computer Science Lab
   SRI International