[PATCH] math: Add a reference to Clang's <tgmath.h> C23 issue

H.J. Lu hjl.tools@gmail.com
Fri Jan 3 02:24:54 GMT 2025


Clang's <tgmath.h> doesn't support all C23 functions in glibc's <tgmath.h>:

https://github.com/llvm/llvm-project/issues/121536

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
---
 math/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/math/Makefile b/math/Makefile
index 30225b4685..f24cee5c39 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -1032,6 +1032,7 @@ ifneq ($(have-test-clang),yes)
 # NB: tgmath3-macro-tests won't compile with <float.h> and <tgmath.h>
 # from Clang due to missing C23 support:
 # https://github.com/llvm/llvm-project/issues/97335
+# https://github.com/llvm/llvm-project/issues/121536
 tests-tgmath += $(tgmath3-macro-tests)
 endif
 tests += $(tests-tgmath)
-- 
2.47.1



More information about the Libc-alpha mailing list