nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] What about an nmh-1.6-RC1

2014-07-22 19:36:38

On Jul 22, 2014, at 5:21 PM, heymanj(_at_)bellsouth(_dot_)net 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
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] Current Thread [Next in Thread>