public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] Fix __convert_scm_timestamps build on clang
@ 2023-08-30 12:43 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2023-08-30 12:43 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4efa6fa58e9ff3e725c0f0b1a5287d94c5d3cd89

commit 4efa6fa58e9ff3e725c0f0b1a5287d94c5d3cd89
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Jul 27 17:26:16 2023 -0300

    Fix __convert_scm_timestamps build on clang
    
    The -Wmaybe-uninitialized is gcc specific.

Diff:
---
 sysdeps/unix/sysv/linux/convert_scm_timestamps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/unix/sysv/linux/convert_scm_timestamps.c b/sysdeps/unix/sysv/linux/convert_scm_timestamps.c
index 06c8adeee1..fca3f7f766 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];

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-30 12:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-30 12:43 [glibc/azanella/clang] Fix __convert_scm_timestamps build on clang Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).