bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: portability fix for bison-1.75


From: Dieter
Subject: Re: portability fix for bison-1.75
Date: Fri, 20 Jan 2006 09:44:09 +0000

In message <address@hidden>, 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'




reply via email to

[Prev in Thread] Current Thread [Next in Thread]