public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] posix: Suppress clang confstr -Wignored-attributes
@ 2022-10-04 12:57 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 12:57 UTC (permalink / raw)
  To: glibc-cvs

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

commit df89b7ded38f66848b6ac0a3d9d67f8fa6802701
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:13:27 2022 -0300

    posix: Suppress clang confstr -Wignored-attributes

Diff:
---
 posix/confstr.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/posix/confstr.c b/posix/confstr.c
index 6e3c264462..f8dba0e4b5 100644
--- a/posix/confstr.c
+++ b/posix/confstr.c
@@ -290,5 +290,10 @@ __confstr (int name, char *buf, size_t len)
   return string_len;
 }
 libc_hidden_def (__confstr)
+/* clang warns that alias will be always resolve to _GI___confstr even if weak
+   definition of __GI_confstr is overridden, which is really the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wignored-attributes");
 libc_hidden_def (confstr)
+DIAG_POP_NEEDS_COMMENT_CLANG;
 weak_alias (__confstr, confstr)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [glibc/azanella/clang] posix: Suppress clang confstr -Wignored-attributes
@ 2024-02-09 17:29 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2024-02-09 17:29 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7bc09513852935047730bf0a630e5c574768289b

commit 7bc09513852935047730bf0a630e5c574768289b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:13:27 2022 -0300

    posix: Suppress clang confstr -Wignored-attributes
    
    clang warns that alias will be always resolve to _GI___confstr even
    if weak definition of __GI_confstr is overridden, which is really the
    intention.

Diff:
---
 posix/confstr.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/posix/confstr.c b/posix/confstr.c
index a13a134bf9..099b1b8bb4 100644
--- a/posix/confstr.c
+++ b/posix/confstr.c
@@ -21,6 +21,7 @@
 #include <string.h>
 #include <confstr.h>
 #include "../version.h"
+#include <libc-diag.h>
 
 #define NEED_SPEC_ARRAY 0
 #include <posix-conf-vars.h>
@@ -290,5 +291,10 @@ __confstr (int name, char *buf, size_t len)
   return string_len;
 }
 libc_hidden_def (__confstr)
+/* clang warns that alias will be always resolve to _GI___confstr even if weak
+   definition of __GI_confstr is overridden, which is really the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wignored-attributes");
 libc_hidden_def (confstr)
+DIAG_POP_NEEDS_COMMENT_CLANG;
 weak_alias (__confstr, confstr)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [glibc/azanella/clang] posix: Suppress clang confstr -Wignored-attributes
@ 2024-02-07 14:04 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2024-02-07 14:04 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3fb62fb1b5a2a98c9a1d59ff4d38359622ba1a5a

commit 3fb62fb1b5a2a98c9a1d59ff4d38359622ba1a5a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:13:27 2022 -0300

    posix: Suppress clang confstr -Wignored-attributes
    
    clang warns that alias will be always resolve to _GI___confstr even
    if weak definition of __GI_confstr is overridden, which is really the
    intention.

Diff:
---
 posix/confstr.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/posix/confstr.c b/posix/confstr.c
index a13a134bf9..099b1b8bb4 100644
--- a/posix/confstr.c
+++ b/posix/confstr.c
@@ -21,6 +21,7 @@
 #include <string.h>
 #include <confstr.h>
 #include "../version.h"
+#include <libc-diag.h>
 
 #define NEED_SPEC_ARRAY 0
 #include <posix-conf-vars.h>
@@ -290,5 +291,10 @@ __confstr (int name, char *buf, size_t len)
   return string_len;
 }
 libc_hidden_def (__confstr)
+/* clang warns that alias will be always resolve to _GI___confstr even if weak
+   definition of __GI_confstr is overridden, which is really the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wignored-attributes");
 libc_hidden_def (confstr)
+DIAG_POP_NEEDS_COMMENT_CLANG;
 weak_alias (__confstr, confstr)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [glibc/azanella/clang] posix: Suppress clang confstr -Wignored-attributes
@ 2024-01-29 17:55 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2024-01-29 17:55 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6ac58aea0ec1635db6281b05ac932c26144d9756

commit 6ac58aea0ec1635db6281b05ac932c26144d9756
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:13:27 2022 -0300

    posix: Suppress clang confstr -Wignored-attributes
    
    clang warns that alias will be always resolve to _GI___confstr even
    if weak definition of __GI_confstr is overridden, which is really the
    intention.

Diff:
---
 posix/confstr.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/posix/confstr.c b/posix/confstr.c
index a13a134bf9..099b1b8bb4 100644
--- a/posix/confstr.c
+++ b/posix/confstr.c
@@ -21,6 +21,7 @@
 #include <string.h>
 #include <confstr.h>
 #include "../version.h"
+#include <libc-diag.h>
 
 #define NEED_SPEC_ARRAY 0
 #include <posix-conf-vars.h>
@@ -290,5 +291,10 @@ __confstr (int name, char *buf, size_t len)
   return string_len;
 }
 libc_hidden_def (__confstr)
+/* clang warns that alias will be always resolve to _GI___confstr even if weak
+   definition of __GI_confstr is overridden, which is really the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wignored-attributes");
 libc_hidden_def (confstr)
+DIAG_POP_NEEDS_COMMENT_CLANG;
 weak_alias (__confstr, confstr)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [glibc/azanella/clang] posix: Suppress clang confstr -Wignored-attributes
@ 2023-12-21 18:51 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2023-12-21 18:51 UTC (permalink / raw)
  To: glibc-cvs

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

commit b1c4273f99e16159eddcd23beafd544faf3d7036
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:13:27 2022 -0300

    posix: Suppress clang confstr -Wignored-attributes
    
    clang warns that alias will be always resolve to _GI___confstr even
    if weak definition of __GI_confstr is overridden, which is really the
    intention.

Diff:
---
 posix/confstr.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/posix/confstr.c b/posix/confstr.c
index 0f6e8d1ca4..9558f8feb8 100644
--- a/posix/confstr.c
+++ b/posix/confstr.c
@@ -21,6 +21,7 @@
 #include <string.h>
 #include <confstr.h>
 #include "../version.h"
+#include <libc-diag.h>
 
 #define NEED_SPEC_ARRAY 0
 #include <posix-conf-vars.h>
@@ -290,5 +291,10 @@ __confstr (int name, char *buf, size_t len)
   return string_len;
 }
 libc_hidden_def (__confstr)
+/* clang warns that alias will be always resolve to _GI___confstr even if weak
+   definition of __GI_confstr is overridden, which is really the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wignored-attributes");
 libc_hidden_def (confstr)
+DIAG_POP_NEEDS_COMMENT_CLANG;
 weak_alias (__confstr, confstr)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [glibc/azanella/clang] posix: Suppress clang confstr -Wignored-attributes
@ 2023-09-28 17:49 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2023-09-28 17:49 UTC (permalink / raw)
  To: glibc-cvs

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

commit e64948e1f91bec883b303b8449f1fc5a293bc7a7
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:13:27 2022 -0300

    posix: Suppress clang confstr -Wignored-attributes
    
    clang warns that alias will be always resolve to _GI___confstr even
    if weak definition of __GI_confstr is overridden, which is really the
    intention.

Diff:
---
 posix/confstr.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/posix/confstr.c b/posix/confstr.c
index 0f6e8d1ca4..9558f8feb8 100644
--- a/posix/confstr.c
+++ b/posix/confstr.c
@@ -21,6 +21,7 @@
 #include <string.h>
 #include <confstr.h>
 #include "../version.h"
+#include <libc-diag.h>
 
 #define NEED_SPEC_ARRAY 0
 #include <posix-conf-vars.h>
@@ -290,5 +291,10 @@ __confstr (int name, char *buf, size_t len)
   return string_len;
 }
 libc_hidden_def (__confstr)
+/* clang warns that alias will be always resolve to _GI___confstr even if weak
+   definition of __GI_confstr is overridden, which is really the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wignored-attributes");
 libc_hidden_def (confstr)
+DIAG_POP_NEEDS_COMMENT_CLANG;
 weak_alias (__confstr, confstr)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [glibc/azanella/clang] posix: Suppress clang confstr -Wignored-attributes
@ 2023-08-30 12:34 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2023-08-30 12:34 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=533b4206f5a60bc33547e8bd61acc7f64e8dc7c7

commit 533b4206f5a60bc33547e8bd61acc7f64e8dc7c7
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:13:27 2022 -0300

    posix: Suppress clang confstr -Wignored-attributes

Diff:
---
 posix/confstr.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/posix/confstr.c b/posix/confstr.c
index 0f6e8d1ca4..edb55701d9 100644
--- a/posix/confstr.c
+++ b/posix/confstr.c
@@ -290,5 +290,10 @@ __confstr (int name, char *buf, size_t len)
   return string_len;
 }
 libc_hidden_def (__confstr)
+/* clang warns that alias will be always resolve to _GI___confstr even if weak
+   definition of __GI_confstr is overridden, which is really the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wignored-attributes");
 libc_hidden_def (confstr)
+DIAG_POP_NEEDS_COMMENT_CLANG;
 weak_alias (__confstr, confstr)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [glibc/azanella/clang] posix: Suppress clang confstr -Wignored-attributes
@ 2023-02-09 19:46 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:46 UTC (permalink / raw)
  To: glibc-cvs

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

commit da6efc964e19f9e55f64e6ee9ed74c62f422556a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:13:27 2022 -0300

    posix: Suppress clang confstr -Wignored-attributes

Diff:
---
 posix/confstr.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/posix/confstr.c b/posix/confstr.c
index 0f6e8d1ca4..edb55701d9 100644
--- a/posix/confstr.c
+++ b/posix/confstr.c
@@ -290,5 +290,10 @@ __confstr (int name, char *buf, size_t len)
   return string_len;
 }
 libc_hidden_def (__confstr)
+/* clang warns that alias will be always resolve to _GI___confstr even if weak
+   definition of __GI_confstr is overridden, which is really the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wignored-attributes");
 libc_hidden_def (confstr)
+DIAG_POP_NEEDS_COMMENT_CLANG;
 weak_alias (__confstr, confstr)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [glibc/azanella/clang] posix: Suppress clang confstr -Wignored-attributes
@ 2022-10-28 17:39 Adhemerval Zanella
  0 siblings, 0 replies; 9+ messages in thread
From: Adhemerval Zanella @ 2022-10-28 17:39 UTC (permalink / raw)
  To: glibc-cvs

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

commit ac8b5ea3fbb12767df5136020cb700c5c3720e89
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Aug 24 12:13:27 2022 -0300

    posix: Suppress clang confstr -Wignored-attributes

Diff:
---
 posix/confstr.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/posix/confstr.c b/posix/confstr.c
index 6e3c264462..f8dba0e4b5 100644
--- a/posix/confstr.c
+++ b/posix/confstr.c
@@ -290,5 +290,10 @@ __confstr (int name, char *buf, size_t len)
   return string_len;
 }
 libc_hidden_def (__confstr)
+/* clang warns that alias will be always resolve to _GI___confstr even if weak
+   definition of __GI_confstr is overridden, which is really the intention.  */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wignored-attributes");
 libc_hidden_def (confstr)
+DIAG_POP_NEEDS_COMMENT_CLANG;
 weak_alias (__confstr, confstr)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-02-09 17:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-04 12:57 [glibc/azanella/clang] posix: Suppress clang confstr -Wignored-attributes Adhemerval Zanella
2022-10-28 17:39 Adhemerval Zanella
2023-02-09 19:46 Adhemerval Zanella
2023-08-30 12:34 Adhemerval Zanella
2023-09-28 17:49 Adhemerval Zanella
2023-12-21 18:51 Adhemerval Zanella
2024-01-29 17:55 Adhemerval Zanella
2024-02-07 14:04 Adhemerval Zanella
2024-02-09 17:29 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).