Re: [PATCH 3/3] build: update to latest gnulib
Eric Blake <[email protected]> Mon, 25 Jun 2012 22:41:59 -0600
| Newsgroups | gmane.comp.gnu.m4.patches |
|---|---|
| Organization | Red Hat |
| Message-ID | <[email protected]> |
On 06/25/2012 10:34 PM, Eric Blake wrote:
> A lot has changed in the last year; I really wish I could spend more
> time on maintaining m4.
>
> * gnulib: Update to latest, for a number of improvements.
> * missing: Break symlink in order to work around automake version
> mismatch issue.
> * .gitignore: Exclude new gnulib files.
> * m4/gnulib-cache.m4: Regenerate.
> ---
> .gitignore | 1 +
> ChangeLog | 7 ++
> build-aux/missing | 219 +++++++++++++++++++++++++++++++++++++++++++++++++++-
> gnulib | 2 +-
> m4/gnulib-cache.m4 | 25 ++++--
> 5 files changed, 246 insertions(+), 8 deletions(-)
> mode change 120000 => 100755 build-aux/missing
Oh, and another thing I might squash in, now that gcc is pickier:
diff --git i/ChangeLog w/ChangeLog
index b8fda00..10fc254 100644
--- i/ChangeLog
+++ w/ChangeLog
@@ -4,6 +4,7 @@
* gnulib: Update to latest, for a number of improvements.
* missing: Break symlink in order to work around automake version
mismatch issue.
+ * src/format.c: Silence gcc warning.
* .gitignore: Exclude new gnulib files.
* m4/gnulib-cache.m4: Regenerate.
diff --git i/src/format.c w/src/format.c
index 4b7f022..7dc7a13 100644
--- i/src/format.c
+++ w/src/format.c
@@ -23,6 +23,12 @@
#include "m4.h"
#include "xvasprintf.h"
+/* For this file, we intentionally pass carefully-vetted non-literal
+ format strings on to printf. */
+#if (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) || 4 < __GNUC__
+# pragma GCC diagnostic ignored "-Wformat-nonliteral"
+#endif
+
/* Simple varargs substitute. We assume int and unsigned int are the
same size; likewise for long and unsigned long. */
--
Eric Blake [email protected] +1-919-301-3266
Libvirt virtualization library http://libvirt.org
_______________________________________________
M4-patches mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/m4-patches
signature.asc
(application/pgp-signature, 620 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJP6T2XAAoJEKeha0olJ0Nqpy4IAK0pJ/U1or2Kqh4kKo1cDQtY 1AJ7iDyOG+CyJlC0ssLV7PEOZhOm7XVUPm8sAVYkq4JbSM0JllkhK6h/qcXydunT E0DpANnTZUyQ4GYfygZUjh/RBppHADUlUSCvAGbDW8O+xRtgG5JuqhRsAkb3P41b 5tl2zMlhUGQpZoqkBwS8SyJIO1j5HSWzTdZJwUz0NTJyyMLAhxmaneEjIMyrz5rS efH+zv+xg8snCrcPDWB4/SuHMgzKijOSlftglm8JpSTLg2xn5vBi7I0bBOsASGlP DJrVRggjjHQB5ELcBW5tS0xBtPbT3R16sNuvvcW+h0/jLelSYWesjzSgj2v4P+0= =6rWv -----END PGP SIGNATURE-----