Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2006 09:44:09 +0000
From:      Dieter <freebsd@sopwith.solgatos.com>
To:        Akim Demaille <akim@lrde.epita.fr>
Cc:        bug-bison@gnu.org, freebsd-ports@freebsd.org
Subject:   Re: portability fix for bison-1.75 
Message-ID:  <200601201744.RAA11472@sopwith.solgatos.com>
In-Reply-To: Your message of "Fri, 20 Jan 2006 14:57:39 %2B0100." <mv4oe27ovcc.fsf@nostromo.lrde.epita.fr> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <mv4oe27ovcc.fsf@nostromo.lrde.epita.fr>, 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'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601201744.RAA11472>