On Jul 22, 2014, at 5:21 PM, [email protected] wrote:

> Further unwinding of the problem is that on my amd64 (Mageia 3) system,
> size_t winds up being resolved as an 'unsigned long int' in the gcc 4.7.2
> headers (/path/to/gcc/4.7.2/include/stddef.h).  The line in question is:
> 
>>        for ( i = 0; i < _yybytes_len; ++i )
> 
> where 'i' is an int, and _yybytes_len is size_t.  Since timep.c is generated 
> by flex, so changing the _yy* variables isn't an easy out.  We could add
> 
> #define YY_TYPEDEF_YY_SIZE_T
> typedef long int yy_size_t

size_t is required to be an unsigned type, so this would just mask the problem.

What version of flex are you using?  And what's your OS version/patch-level?

--lyndon

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to