FLEX, was Re: Return value of malloc(0)

Peter Jeremy peterjeremy at optushome.com.au
Thu Jun 29 06:33:28 UTC 2006


On Wed, 2006-Jun-28 22:40:45 -0700, Randall Hyde wrote:
>I seriously doubt seeing the code  will do much good.
>Here's the offending line:
>
>  YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
>   yy_n_chars, num_to_read );

How about feeding the C source through the preprocessor, stripping out
the #line directives, compiling it and posting the exact gcc error and
source context.

It may be a gcc bug, it may be a HLA bug or it could be an interaction
between the FreeBSD headers and HLA.
-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060629/a74ce397/attachment.pgp


More information about the freebsd-hackers mailing list