public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] math: Suppress clang -Wincompatible-library-redeclaration on s_llround
@ 2022-10-04 12:58 Adhemerval Zanella
0 siblings, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2022-10-04 12:58 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b4ea0d9899c0acd31769239cb2673a9e29bbf24a
commit b4ea0d9899c0acd31769239cb2673a9e29bbf24a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Wed Aug 24 12:41:39 2022 -0300
math: Suppress clang -Wincompatible-library-redeclaration on s_llround
Clang issues:
../sysdeps/ieee754/dbl-64/s_llround.c:83:30: error: incompatible
redeclaration of library function 'lround'
[-Werror,-Wincompatible-library-redeclaration]
libm_alias_double (__lround, lround)
^
../sysdeps/ieee754/dbl-64/s_llround.c:83:30: note: 'lround' is a builtin
with type 'long (double)'
Diff:
---
sysdeps/ieee754/dbl-64/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
index 78530b5966..9f1226326c 100644
--- a/sysdeps/ieee754/dbl-64/Makefile
+++ b/sysdeps/ieee754/dbl-64/Makefile
@@ -2,4 +2,7 @@ ifeq ($(subdir),math)
# branred depends on precise IEEE double rounding
CFLAGS-branred.c += $(config-cflags-nofma)
CFLAGS-e_sqrt.c += $(config-cflags-nofma)
+
+# The symbols alias to lround
+CFLAGS-s_llround.c += -fno-builtin-lround
endif
^ permalink raw reply [flat|nested] 3+ messages in thread
* [glibc/azanella/clang] math: Suppress clang -Wincompatible-library-redeclaration on s_llround
@ 2023-02-09 19:47 Adhemerval Zanella
0 siblings, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2023-02-09 19:47 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0f3815d866b876b6d178cb2d61c0eec2d150ec9e
commit 0f3815d866b876b6d178cb2d61c0eec2d150ec9e
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Wed Aug 24 12:41:39 2022 -0300
math: Suppress clang -Wincompatible-library-redeclaration on s_llround
Clang issues:
../sysdeps/ieee754/dbl-64/s_llround.c:83:30: error: incompatible
redeclaration of library function 'lround'
[-Werror,-Wincompatible-library-redeclaration]
libm_alias_double (__lround, lround)
^
../sysdeps/ieee754/dbl-64/s_llround.c:83:30: note: 'lround' is a builtin
with type 'long (double)'
Diff:
---
sysdeps/ieee754/dbl-64/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
index 78530b5966..9f1226326c 100644
--- a/sysdeps/ieee754/dbl-64/Makefile
+++ b/sysdeps/ieee754/dbl-64/Makefile
@@ -2,4 +2,7 @@ ifeq ($(subdir),math)
# branred depends on precise IEEE double rounding
CFLAGS-branred.c += $(config-cflags-nofma)
CFLAGS-e_sqrt.c += $(config-cflags-nofma)
+
+# The symbols alias to lround
+CFLAGS-s_llround.c += -fno-builtin-lround
endif
^ permalink raw reply [flat|nested] 3+ messages in thread
* [glibc/azanella/clang] math: Suppress clang -Wincompatible-library-redeclaration on s_llround
@ 2022-10-28 17:40 Adhemerval Zanella
0 siblings, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2022-10-28 17:40 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=99cbd90852b01dd1b5c06b72b0fa1e0c9fb49fc3
commit 99cbd90852b01dd1b5c06b72b0fa1e0c9fb49fc3
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Wed Aug 24 12:41:39 2022 -0300
math: Suppress clang -Wincompatible-library-redeclaration on s_llround
Clang issues:
../sysdeps/ieee754/dbl-64/s_llround.c:83:30: error: incompatible
redeclaration of library function 'lround'
[-Werror,-Wincompatible-library-redeclaration]
libm_alias_double (__lround, lround)
^
../sysdeps/ieee754/dbl-64/s_llround.c:83:30: note: 'lround' is a builtin
with type 'long (double)'
Diff:
---
sysdeps/ieee754/dbl-64/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
index 78530b5966..9f1226326c 100644
--- a/sysdeps/ieee754/dbl-64/Makefile
+++ b/sysdeps/ieee754/dbl-64/Makefile
@@ -2,4 +2,7 @@ ifeq ($(subdir),math)
# branred depends on precise IEEE double rounding
CFLAGS-branred.c += $(config-cflags-nofma)
CFLAGS-e_sqrt.c += $(config-cflags-nofma)
+
+# The symbols alias to lround
+CFLAGS-s_llround.c += -fno-builtin-lround
endif
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-02-09 19:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-04 12:58 [glibc/azanella/clang] math: Suppress clang -Wincompatible-library-redeclaration on s_llround Adhemerval Zanella
2022-10-28 17:40 Adhemerval Zanella
2023-02-09 19:47 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).