Return value of malloc(0)

Matt Emmerton matt at gsicomp.on.ca
Thu Jun 29 05:08:37 UTC 2006


----- Original Message ----- 
From: "Steve Kargl" <sgk at troutmask.apl.washington.edu>
To: "Randall Hyde" <randyhyde at earthlink.net>
Cc: <freebsd-hackers at freebsd.org>
Sent: Wednesday, June 28, 2006 10:10 PM
Subject: Re: Return value of malloc(0)


> On Wed, Jun 28, 2006 at 06:41:05PM -0700, Randall Hyde wrote:
> > Hi All,
> > I'm trying to port my compiler from Linux to freeBSD. It looked like a
> > simple job up to the point I ran my flex code through FLEX on freeBSD.
When
> > GCC processes lex.yy.c I get a complaint about an illegal numeric
constant
> > in yy_get_next_buffer, which is all FLEX generated (or prewritten) code.
The
> > thing compiler just fine under Linux. Any ideas?
> > Cheers,
> > Randy Hyde
> >
>
> Without seeing the code or the actual error message, I'm
> guessing the answer is 42.  Perhaps, some detail might
> be appropriate.

A new thread with a proper subject would be appropriate too :)

--
Matt



More information about the freebsd-hackers mailing list