In message <[EMAIL PROTECTED]>, Akim Demaille writes: > Thanks, but the current version of Bison is 2.1. And in 2.1, both are > ints, so I don't see the need for this patch. Unless you have a > modified version of Bison using size_t or something?
I was building gcc and the FreeBSD ports system automagically built bison-1.75. Interesting, in 1.75 they were size_t, in 2.1 they are int. So yes, 2.1 doesn't need the patch. Compiling 2.1 gives: ../../lib/getopt.c:127: warning: function declaration isn't a prototype ../../lib/quotearg.c:591: warning: comparison is always false due to limited range of data type ../../lib/strndup.c:39: warning: no previous prototype for 'strndup' ../../lib/strnlen.c:42: warning: no previous prototype for 'rpl_strnlen'
