Return value of malloc(0)

Steve Kargl sgk at troutmask.apl.washington.edu
Thu Jun 29 02:12:35 UTC 2006


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.

-- 
Steve


More information about the freebsd-hackers mailing list