m4-patches
[Top][All Lists]
Advanced

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

Re: [PATCH 3/3] build: update to latest gnulib


From: Eric Blake
Subject: Re: [PATCH 3/3] build: update to latest gnulib
Date: Mon, 25 Jun 2012 22:41:59 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

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   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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