public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2022-06-03 14:09 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2022-06-03 14:09 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f017ab6a43873e2df26af262ad864c4bbdfcec8c
commit f017ab6a43873e2df26af262ad864c4bbdfcec8c
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2024-04-17 20:10 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2024-04-17 20:10 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a221274e314e48c3bd749ba3a491b430a864d29c
commit a221274e314e48c3bd749ba3a491b430a864d29c
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2024-04-02 15:57 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2024-04-02 15:57 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5f2c5c80e32b8ba9489ba0b52d12af0c72691cfb
commit 5f2c5c80e32b8ba9489ba0b52d12af0c72691cfb
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2024-02-09 17:35 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2024-02-09 17:35 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2371bcff0a055ebe6759ad558e52204ce190bd48
commit 2371bcff0a055ebe6759ad558e52204ce190bd48
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2024-02-07 14:10 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2024-02-07 14:10 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2167e0ba2ad66f3310b8bdc1e2d5a2a428207488
commit 2167e0ba2ad66f3310b8bdc1e2d5a2a428207488
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2024-01-29 18:00 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2024-01-29 18:00 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=288945e4ac19e46aab2259d061278dd54aa967ba
commit 288945e4ac19e46aab2259d061278dd54aa967ba
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2023-12-21 18:57 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2023-12-21 18:57 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9346a6fc901b09dd2ce2f28a6688779aa84ff2d4
commit 9346a6fc901b09dd2ce2f28a6688779aa84ff2d4
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2023-09-28 17:55 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2023-09-28 17:55 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=38e5e71cd0c0eab0e5228e172c36361fbe08bea0
commit 38e5e71cd0c0eab0e5228e172c36361fbe08bea0
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2023-08-30 12:40 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2023-08-30 12:40 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ce1a526b01fc2d6c559849c6c6b828c826248a2d
commit ce1a526b01fc2d6c559849c6c6b828c826248a2d
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2023-02-09 19:52 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:52 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=32a7c337afc280606a3e4f6aa870288132aacaa0
commit 32a7c337afc280606a3e4f6aa870288132aacaa0
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2022-10-28 17:45 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2022-10-28 17:45 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c49a43c151f7049a18ca5dfd511eb641a5cdeca9
commit c49a43c151f7049a18ca5dfd511eb641a5cdeca9
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2022-10-04 13:02 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 13:02 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2fa90e15b27683045520fff144d6d28aaa854796
commit 2fa90e15b27683045520fff144d6d28aaa854796
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2022-06-09 21:23 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 21:23 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a5f7816f235d045b0abedb6e13bf632d91cda1f8
commit a5f7816f235d045b0abedb6e13bf632d91cda1f8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2022-06-09 13:20 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 13:20 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a5f7816f235d045b0abedb6e13bf632d91cda1f8
commit a5f7816f235d045b0abedb6e13bf632d91cda1f8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2022-05-13 14:23 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2022-05-13 14:23 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=22ffed420e321e16c7ba947afb9d600f6156195d
commit 22ffed420e321e16c7ba947afb9d600f6156195d
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2022-05-12 19:36 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2022-05-12 19:36 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ad07b80a47cef23a1049b721bf6c6fe203412703
commit ad07b80a47cef23a1049b721bf6c6fe203412703
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2022-05-10 18:27 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2022-05-10 18:27 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0b13986cdc8eb760cc035f8b77f340239fad6990
commit 0b13986cdc8eb760cc035f8b77f340239fad6990
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2022-04-29 14:07 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2022-04-29 14:07 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ca0f674f7eac7f20ef8d4ea9d6850cc466dd77f5
commit ca0f674f7eac7f20ef8d4ea9d6850cc466dd77f5
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2022-04-04 12:57 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2022-04-04 12:57 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=61e8b64d5a2dc783cb1bf94b3f9346e34fd47e5f
commit 61e8b64d5a2dc783cb1bf94b3f9346e34fd47e5f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2022-03-31 19:10 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2022-03-31 19:10 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ceae2141dd2792760ffe6f78f80b2ba21aee39d1
commit ceae2141dd2792760ffe6f78f80b2ba21aee39d1
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
* [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3
@ 2022-03-29 20:33 Adhemerval Zanella
0 siblings, 0 replies; 21+ messages in thread
From: Adhemerval Zanella @ 2022-03-29 20:33 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5bd862bd81b647ad0c34849b239310e20d6b2239
commit 5bd862bd81b647ad0c34849b239310e20d6b2239
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Mar 25 11:17:39 2022 -0300
elf: Suppress clang warning on tst-unique3
clang warns that the instatiation of the variable is required,
but no definition is available. They are implemented on
tst-unique3lib.so.
Checked on x86_64-linux-gnu.
Diff:
---
elf/tst-unique3.cc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/elf/tst-unique3.cc b/elf/tst-unique3.cc
index efdd6d78c2..d07601fe6d 100644
--- a/elf/tst-unique3.cc
+++ b/elf/tst-unique3.cc
@@ -1,9 +1,14 @@
-#include "tst-unique3.h"
-
#include <cstdio>
-#include "../dlfcn/dlfcn.h"
+#include <dlfcn.h>
+#include <libc-diag.h>
+#include "tst-unique3.h"
+/* clang warns that the instatiation of the variable is required, but no
+ definition is available. They are implemented on tst-unique3lib.so. */
+DIAG_PUSH_NEEDS_COMMENT_CLANG;
+DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wundefined-var-template");
int t = S<char>::i;
+DIAG_POP_NEEDS_COMMENT_CLANG;
int
main (void)
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2024-04-17 20:10 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-03 14:09 [glibc/azanella/clang] elf: Suppress clang warning on tst-unique3 Adhemerval Zanella
-- strict thread matches above, loose matches on Subject: below --
2024-04-17 20:10 Adhemerval Zanella
2024-04-02 15:57 Adhemerval Zanella
2024-02-09 17:35 Adhemerval Zanella
2024-02-07 14:10 Adhemerval Zanella
2024-01-29 18:00 Adhemerval Zanella
2023-12-21 18:57 Adhemerval Zanella
2023-09-28 17:55 Adhemerval Zanella
2023-08-30 12:40 Adhemerval Zanella
2023-02-09 19:52 Adhemerval Zanella
2022-10-28 17:45 Adhemerval Zanella
2022-10-04 13:02 Adhemerval Zanella
2022-06-09 21:23 Adhemerval Zanella
2022-06-09 13:20 Adhemerval Zanella
2022-05-13 14:23 Adhemerval Zanella
2022-05-12 19:36 Adhemerval Zanella
2022-05-10 18:27 Adhemerval Zanella
2022-04-29 14:07 Adhemerval Zanella
2022-04-04 12:57 Adhemerval Zanella
2022-03-31 19:10 Adhemerval Zanella
2022-03-29 20:33 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).