1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Fix warning from latest GCC in tst-printf.c

* stdio-common/tst-printf.c: Ignore -Wformat-length warning.
This commit is contained in:
Steve Ellcey
2016-11-01 16:00:09 -07:00
parent 6adaeadf95
commit 9032070dea
2 changed files with 9 additions and 0 deletions

View File

@ -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);