This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.24-326-g9032070
- From: sje at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 1 Nov 2016 23:01:03 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.24-326-g9032070
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 9032070deaa03431921315f973c548c2c403fecc (commit)
from 6adaeadf95fa5cc68e92b07456bb82dbd85afd06 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=9032070deaa03431921315f973c548c2c403fecc
commit 9032070deaa03431921315f973c548c2c403fecc
Author: Steve Ellcey <sellcey@caviumnetworks.com>
Date: Tue Nov 1 16:00:09 2016 -0700
Fix warning from latest GCC in tst-printf.c
* stdio-common/tst-printf.c: Ignore -Wformat-length warning.
diff --git a/ChangeLog b/ChangeLog
index 6be5c5d..e16451a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
+
+ * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
+
2016-11-01 Joseph Myers <joseph@codesourcery.com>
[BZ #19673]
diff --git a/stdio-common/tst-printf.c b/stdio-common/tst-printf.c
index 2896b18..ffe7ac7 100644
--- a/stdio-common/tst-printf.c
+++ b/stdio-common/tst-printf.c
@@ -32,6 +32,11 @@
The compiler warnings are not useful here. */
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wformat");
+#if __GNUC_PREREQ (7, 0)
+/* Compiler warnings about format lengths should also be ignored. */
+DIAG_IGNORE_NEEDS_COMMENT (7.0, "-Wformat-length");
+#endif
+
static void rfg1 (void);
static void rfg2 (void);
static void rfg3 (void);
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
stdio-common/tst-printf.c | 5 +++++
2 files changed, 9 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources