[glibc/azanella/clang] stdio: Add DIAG_IGNORE_NEEDS_COMMENT_WFORMAT
Adhemerval Zanella
azanella@sourceware.org
Thu Jun 9 13:19:13 GMT 2022
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=49da085334d968f0bd0a748159b2f3746f7c9725
commit 49da085334d968f0bd0a748159b2f3746f7c9725
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 15:56:35 2022 -0300
stdio: Add DIAG_IGNORE_NEEDS_COMMENT_WFORMAT
Diff:
---
stdio-common/tst-sprintf-errno.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stdio-common/tst-sprintf-errno.c b/stdio-common/tst-sprintf-errno.c
index ca1214cde6..bfba99072a 100644
--- a/stdio-common/tst-sprintf-errno.c
+++ b/stdio-common/tst-sprintf-errno.c
@@ -24,7 +24,7 @@
/* GCC does not yet know about the %#m specifier. */
DIAG_PUSH_NEEDS_COMMENT;
-DIAG_IGNORE_NEEDS_COMMENT (11, "-Wformat=");
+DIAG_IGNORE_NEEDS_COMMENT_GCC (11, "-Wformat=");
static int
do_test (void)
More information about the Glibc-cvs
mailing list