public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] stdio: Fix clang warnings for tst-unlockedio
@ 2022-03-31 19:09 Adhemerval Zanella
0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-03-31 19:09 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c732840401f3effdd11835d5f70b725e84dc685a
commit c732840401f3effdd11835d5f70b725e84dc685a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:03:16 2022 -0300
stdio: Fix clang warnings for tst-unlockedio
Diff:
---
stdio-common/tst-unlockedio.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/stdio-common/tst-unlockedio.c b/stdio-common/tst-unlockedio.c
index 83b3e5594a..6f109ba330 100644
--- a/stdio-common/tst-unlockedio.c
+++ b/stdio-common/tst-unlockedio.c
@@ -51,6 +51,9 @@ do_test (void)
fread_unlocked below as well. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ /* clang warns about the implicit conversion from double to size_t,
+ which is required by this tests. */
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fwrite_unlocked (blah, blah - blah, strlen (blah), f++) != 0
|| f != fp + 1
@@ -104,6 +107,7 @@ do_test (void)
/* See explanation above. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fread_unlocked (buf, buf - buf, strlen (blah), f++) != 0
|| f != fp + 1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] stdio: Fix clang warnings for tst-unlockedio
@ 2022-06-09 21:22 Adhemerval Zanella
0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 21:22 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9853a6dc9710b120c838a0c76e33025665bf0cac
commit 9853a6dc9710b120c838a0c76e33025665bf0cac
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:03:16 2022 -0300
stdio: Fix clang warnings for tst-unlockedio
Diff:
---
stdio-common/tst-unlockedio.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/stdio-common/tst-unlockedio.c b/stdio-common/tst-unlockedio.c
index 83b3e5594a..6f109ba330 100644
--- a/stdio-common/tst-unlockedio.c
+++ b/stdio-common/tst-unlockedio.c
@@ -51,6 +51,9 @@ do_test (void)
fread_unlocked below as well. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ /* clang warns about the implicit conversion from double to size_t,
+ which is required by this tests. */
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fwrite_unlocked (blah, blah - blah, strlen (blah), f++) != 0
|| f != fp + 1
@@ -104,6 +107,7 @@ do_test (void)
/* See explanation above. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fread_unlocked (buf, buf - buf, strlen (blah), f++) != 0
|| f != fp + 1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] stdio: Fix clang warnings for tst-unlockedio
@ 2022-06-09 13:19 Adhemerval Zanella
0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-06-09 13:19 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9853a6dc9710b120c838a0c76e33025665bf0cac
commit 9853a6dc9710b120c838a0c76e33025665bf0cac
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:03:16 2022 -0300
stdio: Fix clang warnings for tst-unlockedio
Diff:
---
stdio-common/tst-unlockedio.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/stdio-common/tst-unlockedio.c b/stdio-common/tst-unlockedio.c
index 83b3e5594a..6f109ba330 100644
--- a/stdio-common/tst-unlockedio.c
+++ b/stdio-common/tst-unlockedio.c
@@ -51,6 +51,9 @@ do_test (void)
fread_unlocked below as well. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ /* clang warns about the implicit conversion from double to size_t,
+ which is required by this tests. */
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fwrite_unlocked (blah, blah - blah, strlen (blah), f++) != 0
|| f != fp + 1
@@ -104,6 +107,7 @@ do_test (void)
/* See explanation above. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fread_unlocked (buf, buf - buf, strlen (blah), f++) != 0
|| f != fp + 1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] stdio: Fix clang warnings for tst-unlockedio
@ 2022-06-03 14:08 Adhemerval Zanella
0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-06-03 14:08 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7c3e03347d8146d4587d2672c9d2ae0aac958eb2
commit 7c3e03347d8146d4587d2672c9d2ae0aac958eb2
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:03:16 2022 -0300
stdio: Fix clang warnings for tst-unlockedio
Diff:
---
stdio-common/tst-unlockedio.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/stdio-common/tst-unlockedio.c b/stdio-common/tst-unlockedio.c
index 83b3e5594a..6f109ba330 100644
--- a/stdio-common/tst-unlockedio.c
+++ b/stdio-common/tst-unlockedio.c
@@ -51,6 +51,9 @@ do_test (void)
fread_unlocked below as well. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ /* clang warns about the implicit conversion from double to size_t,
+ which is required by this tests. */
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fwrite_unlocked (blah, blah - blah, strlen (blah), f++) != 0
|| f != fp + 1
@@ -104,6 +107,7 @@ do_test (void)
/* See explanation above. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fread_unlocked (buf, buf - buf, strlen (blah), f++) != 0
|| f != fp + 1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] stdio: Fix clang warnings for tst-unlockedio
@ 2022-05-13 14:22 Adhemerval Zanella
0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-05-13 14:22 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8e25a5af8c42a666bdea8ae6b8b38eb175dd1e2b
commit 8e25a5af8c42a666bdea8ae6b8b38eb175dd1e2b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:03:16 2022 -0300
stdio: Fix clang warnings for tst-unlockedio
Diff:
---
stdio-common/tst-unlockedio.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/stdio-common/tst-unlockedio.c b/stdio-common/tst-unlockedio.c
index 83b3e5594a..6f109ba330 100644
--- a/stdio-common/tst-unlockedio.c
+++ b/stdio-common/tst-unlockedio.c
@@ -51,6 +51,9 @@ do_test (void)
fread_unlocked below as well. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ /* clang warns about the implicit conversion from double to size_t,
+ which is required by this tests. */
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fwrite_unlocked (blah, blah - blah, strlen (blah), f++) != 0
|| f != fp + 1
@@ -104,6 +107,7 @@ do_test (void)
/* See explanation above. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fread_unlocked (buf, buf - buf, strlen (blah), f++) != 0
|| f != fp + 1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] stdio: Fix clang warnings for tst-unlockedio
@ 2022-05-12 19:36 Adhemerval Zanella
0 siblings, 0 replies; 10+ 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=63397406220bb06a4ff7775a9ae234a6754dc586
commit 63397406220bb06a4ff7775a9ae234a6754dc586
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:03:16 2022 -0300
stdio: Fix clang warnings for tst-unlockedio
Diff:
---
stdio-common/tst-unlockedio.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/stdio-common/tst-unlockedio.c b/stdio-common/tst-unlockedio.c
index 83b3e5594a..6f109ba330 100644
--- a/stdio-common/tst-unlockedio.c
+++ b/stdio-common/tst-unlockedio.c
@@ -51,6 +51,9 @@ do_test (void)
fread_unlocked below as well. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ /* clang warns about the implicit conversion from double to size_t,
+ which is required by this tests. */
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fwrite_unlocked (blah, blah - blah, strlen (blah), f++) != 0
|| f != fp + 1
@@ -104,6 +107,7 @@ do_test (void)
/* See explanation above. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fread_unlocked (buf, buf - buf, strlen (blah), f++) != 0
|| f != fp + 1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] stdio: Fix clang warnings for tst-unlockedio
@ 2022-05-10 18:26 Adhemerval Zanella
0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-05-10 18:26 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9ff2aabe58b78f49e0af768c8e621860097da449
commit 9ff2aabe58b78f49e0af768c8e621860097da449
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:03:16 2022 -0300
stdio: Fix clang warnings for tst-unlockedio
Diff:
---
stdio-common/tst-unlockedio.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/stdio-common/tst-unlockedio.c b/stdio-common/tst-unlockedio.c
index 83b3e5594a..6f109ba330 100644
--- a/stdio-common/tst-unlockedio.c
+++ b/stdio-common/tst-unlockedio.c
@@ -51,6 +51,9 @@ do_test (void)
fread_unlocked below as well. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ /* clang warns about the implicit conversion from double to size_t,
+ which is required by this tests. */
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fwrite_unlocked (blah, blah - blah, strlen (blah), f++) != 0
|| f != fp + 1
@@ -104,6 +107,7 @@ do_test (void)
/* See explanation above. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fread_unlocked (buf, buf - buf, strlen (blah), f++) != 0
|| f != fp + 1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] stdio: Fix clang warnings for tst-unlockedio
@ 2022-04-29 14:06 Adhemerval Zanella
0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-04-29 14:06 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3ff63f7ec68c0aa95305b9722c735db2f92bb6f1
commit 3ff63f7ec68c0aa95305b9722c735db2f92bb6f1
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:03:16 2022 -0300
stdio: Fix clang warnings for tst-unlockedio
Diff:
---
stdio-common/tst-unlockedio.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/stdio-common/tst-unlockedio.c b/stdio-common/tst-unlockedio.c
index 83b3e5594a..6f109ba330 100644
--- a/stdio-common/tst-unlockedio.c
+++ b/stdio-common/tst-unlockedio.c
@@ -51,6 +51,9 @@ do_test (void)
fread_unlocked below as well. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ /* clang warns about the implicit conversion from double to size_t,
+ which is required by this tests. */
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fwrite_unlocked (blah, blah - blah, strlen (blah), f++) != 0
|| f != fp + 1
@@ -104,6 +107,7 @@ do_test (void)
/* See explanation above. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fread_unlocked (buf, buf - buf, strlen (blah), f++) != 0
|| f != fp + 1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] stdio: Fix clang warnings for tst-unlockedio
@ 2022-04-04 12:56 Adhemerval Zanella
0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-04-04 12:56 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8d00c715f6e549cb66e51dc2212b163811cd3834
commit 8d00c715f6e549cb66e51dc2212b163811cd3834
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:03:16 2022 -0300
stdio: Fix clang warnings for tst-unlockedio
Diff:
---
stdio-common/tst-unlockedio.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/stdio-common/tst-unlockedio.c b/stdio-common/tst-unlockedio.c
index 83b3e5594a..6f109ba330 100644
--- a/stdio-common/tst-unlockedio.c
+++ b/stdio-common/tst-unlockedio.c
@@ -51,6 +51,9 @@ do_test (void)
fread_unlocked below as well. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ /* clang warns about the implicit conversion from double to size_t,
+ which is required by this tests. */
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fwrite_unlocked (blah, blah - blah, strlen (blah), f++) != 0
|| f != fp + 1
@@ -104,6 +107,7 @@ do_test (void)
/* See explanation above. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fread_unlocked (buf, buf - buf, strlen (blah), f++) != 0
|| f != fp + 1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [glibc/azanella/clang] stdio: Fix clang warnings for tst-unlockedio
@ 2022-03-29 20:32 Adhemerval Zanella
0 siblings, 0 replies; 10+ messages in thread
From: Adhemerval Zanella @ 2022-03-29 20:32 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0be89e7463ac3cbd65fba0160be834e5aebaee48
commit 0be89e7463ac3cbd65fba0160be834e5aebaee48
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Thu Mar 24 16:03:16 2022 -0300
stdio: Fix clang warnings for tst-unlockedio
Diff:
---
stdio-common/tst-unlockedio.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/stdio-common/tst-unlockedio.c b/stdio-common/tst-unlockedio.c
index 83b3e5594a..6f109ba330 100644
--- a/stdio-common/tst-unlockedio.c
+++ b/stdio-common/tst-unlockedio.c
@@ -51,6 +51,9 @@ do_test (void)
fread_unlocked below as well. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ /* clang warns about the implicit conversion from double to size_t,
+ which is required by this tests. */
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fwrite_unlocked (blah, blah - blah, strlen (blah), f++) != 0
|| f != fp + 1
@@ -104,6 +107,7 @@ do_test (void)
/* See explanation above. */
DIAG_PUSH_NEEDS_COMMENT;
DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdiv-by-zero");
+ DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wliteral-conversion");
if (ftello (fp) != 0
|| fread_unlocked (buf, buf - buf, strlen (blah), f++) != 0
|| f != fp + 1
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2022-06-09 21:22 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-31 19:09 [glibc/azanella/clang] stdio: Fix clang warnings for tst-unlockedio Adhemerval Zanella
-- strict thread matches above, loose matches on Subject: below --
2022-06-09 21:22 Adhemerval Zanella
2022-06-09 13:19 Adhemerval Zanella
2022-06-03 14:08 Adhemerval Zanella
2022-05-13 14:22 Adhemerval Zanella
2022-05-12 19:36 Adhemerval Zanella
2022-05-10 18:26 Adhemerval Zanella
2022-04-29 14:06 Adhemerval Zanella
2022-04-04 12:56 Adhemerval Zanella
2022-03-29 20:32 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).