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:
@ -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);
|
||||
|
Reference in New Issue
Block a user