Fix warning from latest GCC in tst-printf.c
* stdio-common/tst-printf.c: Ignore -Wformat-length warning.
This commit is contained in:
parent
6adaeadf95
commit
9032070dea
|
@ -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]
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue