]> sourceware.org Git - glibc.git/commitdiff
Fix warning from latest GCC in tst-printf.c
authorSteve Ellcey <sellcey@caviumnetworks.com>
Tue, 1 Nov 2016 23:00:09 +0000 (16:00 -0700)
committerSteve Ellcey <sellcey@caviumnetworks.com>
Tue, 1 Nov 2016 23:00:09 +0000 (16:00 -0700)
* stdio-common/tst-printf.c: Ignore -Wformat-length warning.

ChangeLog
stdio-common/tst-printf.c

index 6be5c5d67b35704b2c768b07e6a51906046fd770..e16451af058df9b9b1646870c34f835ed95af3e4 100644 (file)
--- 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]
index 2896b18ecddd14ab7cb10b7ce80c427b0e8b65de..ffe7ac7753e8ee9f7fceebe0efdca81e4c3e9a01 100644 (file)
    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);
This page took 0.153992 seconds and 5 git commands to generate.