aboutsummaryrefslogtreecommitdiff
path: root/iconv
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-09 15:51:50 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-09 10:29:17 -0300
commit1cdfb47469f7ceee6ea9d65ee26fff0999c51237 (patch)
tree19c0aea93c2f9ac8a3efa8fb065e65fa2f884e0e /iconv
parent5a5018165fc28e4689643d74ceae66288c997be4 (diff)
downloadglibc-1cdfb47469f7ceee6ea9d65ee26fff0999c51237.tar
glibc-1cdfb47469f7ceee6ea9d65ee26fff0999c51237.tar.gz
glibc-1cdfb47469f7ceee6ea9d65ee26fff0999c51237.tar.bz2
glibc-1cdfb47469f7ceee6ea9d65ee26fff0999c51237.zip
Suppress -Wmaybe-uninitialized only for gcc
The warning is not supported by clang.
Diffstat (limited to 'iconv')
-rw-r--r--iconv/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/loop.c b/iconv/loop.c
index 5340dafc70..ade4185f53 100644
--- a/iconv/loop.c
+++ b/iconv/loop.c
@@ -192,7 +192,7 @@
has a comment referencing this diagnostic disabling; updates in one
place may require updates in the other. */
DIAG_PUSH_NEEDS_COMMENT;
-DIAG_IGNORE_Os_NEEDS_COMMENT (7, "-Wmaybe-uninitialized");
+DIAG_IGNORE_Os_NEEDS_COMMENT_GCC (7, "-Wmaybe-uninitialized");
/* Handling of Unicode 3.1 TAG characters. Unicode recommends
"If language codes are not relevant to the particular processing
operation, then they should be ignored." This macro is usually