m4-patches
[Top][All Lists]
Advanced

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

Re: branch-1.6 distcheck failure: printf %* and integer type


From: Eric Blake
Subject: Re: branch-1.6 distcheck failure: printf %* and integer type
Date: Fri, 27 Nov 2009 13:37:39 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Ralf Wildenhues on 11/27/2009 12:39 PM:
> Hi Eric,
> 
> I need the following patch to get branch-1.6 M4 to pass distcheck on
> GNU/Linux.
> 
> cc1: warnings being treated as errors
> ../../src/builtin.c: In function 'm4_maketemp':
> ../../src/builtin.c:1674: warning: field precision should have type 'int', 
> but argument 3 has type 'size_t' [-Wformat]
> [...]
> ../../src/macro.c:750: warning: format '%d' expects type 'int', but argument 
> 4 has type 'size_t' [-Wformat]

Thanks.  Though I'd rather use %zd than a cast, since m4's use of gnulib
guarantees it will work.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksQOJMACgkQ84KuGfSFAYC8swCeOBeCTZ1sjYjPJemAofn+psR6
J9UAnjqf239zWNy1WClcY4MOW11xTmIC
=KGef
-----END PGP SIGNATURE-----




reply via email to

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