bug-bison
[Top][All Lists]
Advanced

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

Re: [PATCH] build: avoid printf format mismatch warnings


From: Joel E. Denny
Subject: Re: [PATCH] build: avoid printf format mismatch warnings
Date: Tue, 29 Sep 2009 12:58:14 -0400 (EDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

On Tue, 29 Sep 2009, Jim Meyering wrote:

> Joel E. Denny wrote:
> > On Tue, 29 Sep 2009, Jim Meyering wrote:
> >> I tried to bootstrap/build "master" today, without
> >> success, so switched to branch-2.5.  There, ./bootstrap
> >> succeeded, but the build failed with two like this:
> >>
> >>   Sbitset.c: In function 'Sbitset__fprint':
> >>   Sbitset.c:75: error: format '%d' expects type 'int', but argument 3
> >>     has type 'Sbitset__Index
> >
> > Thanks for the report.  I'm not seeing those failures with either gcc
> > 4.2.4 or 4.3.4.  Which gcc are you using?
> 
> Hi Joel,
> 
> I'm using the stock gcc on an up-to-date Fedora 11 system:
> 
>   gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC)

I built gcc 4.4.1 from source.  I built Bison master and branch-2.5 
(before applying the Sbitset patch) with it, but I did not see any 
failures.

Is there anything else in your environment that might matter?  Do you set 
CFLAGS, for example?

It would be nice to know where this is coming from so we can catch future 
problems.




reply via email to

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