[libc-commits] [libc] 70cea91 - [libc] temporarily set -Wno-shorten-64-to-32 (#77396)
via libc-commits
libc-commits at lists.llvm.org
Mon Jan 8 16:21:53 PST 2024
Author: Nick Desaulniers
Date: 2024-01-08T16:21:49-08:00
New Revision: 70cea91e0fc93db618069588e6a06314b2b0e2d3
URL: https://github.com/llvm/llvm-project/commit/70cea91e0fc93db618069588e6a06314b2b0e2d3
DIFF: https://github.com/llvm/llvm-project/commit/70cea91e0fc93db618069588e6a06314b2b0e2d3.diff
LOG: [libc] temporarily set -Wno-shorten-64-to-32 (#77396)
This is still broken after #77350. Disable the warning for now, and fix
properly once the buildbot it back to green.
Link: https://github.com/llvm/llvm-project/issues/77395
Added:
Modified:
libc/src/sys/mman/linux/CMakeLists.txt
Removed:
################################################################################
diff --git a/libc/src/sys/mman/linux/CMakeLists.txt b/libc/src/sys/mman/linux/CMakeLists.txt
index 163e7dead8887a..08694ec48be397 100644
--- a/libc/src/sys/mman/linux/CMakeLists.txt
+++ b/libc/src/sys/mman/linux/CMakeLists.txt
@@ -22,6 +22,9 @@ add_entrypoint_object(
libc.include.sys_syscall
libc.src.__support.OSUtil.osutil
libc.src.errno.errno
+ COMPILE_OPTIONS
+ # TODO: https://github.com/llvm/llvm-project/issues/77395
+ -Wno-shorten-64-to-32
)
add_entrypoint_object(
More information about the libc-commits
mailing list