[Top][All Lists]

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

Re: avoid compiler warnings

From: Akim Demaille
Subject: Re: avoid compiler warnings
Date: Mon, 29 Jun 2009 16:55:22 +0200

Le 29 juin 09 à 16:38, Eric Blake a écrit :

Hi Eric,

I'm now getting this:

In file included from src/scan-code-c.c:3:
scan-code.l: In function `parse_named_ref':
scan-code.l:538: warning: int format, long int arg (arg 4)
scan-code.l:592: warning: char format, void arg (arg 3)

I'm not sure why the messages are off by one (the lines I touched were 537 and
591); maybe the #line directive generation needs to be investigated?

Yep, indeed.

Also, I'm seeing a spurious diff on parse-gram.c which points to compilation
with a user-specific setup;

yes, this is painful.  I'll workout a wrapper to avoid this.

any reason this generated file is still kept under
version control?

Yes, HEAD bison uses HEAD bison for its own grammar.

OK to apply this patch?

yes please.

 I only tested the master branch, might it also be
needed on other branches?

Yep, branch-2.5.

reply via email to

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