Re: Return value of malloc(0)




----- Original Message -----
From: "Steve Kargl" <sgk@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: "Randall Hyde" <randyhyde@xxxxxxxxxxxxx>
Cc: <freebsd-hackers@xxxxxxxxxxx>
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

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages