about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
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-04-17 16:12:10 -0300
commit279ce840452e6da645579ca4169c0f0c25cac47f (patch)
tree734b7cfa0aae3a0bc5b5ccaa1d586490622d5ae9 /sysdeps/unix/sysv/linux
parentd2765f0fa2c6292ad25cfc6a74b91aa7ec0ea01a (diff)
downloadglibc-279ce840452e6da645579ca4169c0f0c25cac47f.tar.gz
glibc-279ce840452e6da645579ca4169c0f0c25cac47f.tar.xz
glibc-279ce840452e6da645579ca4169c0f0c25cac47f.zip
Suppress -Wmaybe-uninitialized only for gcc
The warning is not supported by clang.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/convert_scm_timestamps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/convert_scm_timestamps.c b/sysdeps/unix/sysv/linux/convert_scm_timestamps.c
index 3720bd9591..399fe597e3 100644
--- a/sysdeps/unix/sysv/linux/convert_scm_timestamps.c
+++ b/sysdeps/unix/sysv/linux/convert_scm_timestamps.c
@@ -51,7 +51,7 @@ __convert_scm_timestamps (struct msghdr *msg, socklen_t msgsize)
      (done by either COMPAT_SO_TIMESTAMP_OLD or COMPAT_SO_TIMESTAMPNS_OLD)
      which will fallthrough to 'common' label.  */
   DIAG_PUSH_NEEDS_COMMENT;
-  DIAG_IGNORE_NEEDS_COMMENT (6, "-Wmaybe-uninitialized");
+  DIAG_IGNORE_NEEDS_COMMENT_GCC (6, "-Wmaybe-uninitialized");
   int64_t tvts[2];
   DIAG_POP_NEEDS_COMMENT;
   int32_t tmp[2];