[libc-commits] [libc] [libc] build with -Werror (PR #73966)
via libc-commits
libc-commits at lists.llvm.org
Fri Dec 1 17:53:14 PST 2023
================
@@ -43,6 +43,10 @@ function(_get_common_compile_options output_var flags)
list(APPEND compile_options "-fno-rtti")
list(APPEND compile_options "-Wall")
list(APPEND compile_options "-Wextra")
+ # -DLLVM_LIBC_WNO_ERROR=ON if you can't build cleanly with -Werror.
+ if(NOT LLVM_LIBC_WNO_ERROR)
----------------
lntue wrote:
Can you change the flag to `LIBC_WNO_ERROR`? We plan to convert all the current public flags that start with `LLVM_LIBC_*` to `LIBC_*` so that they work well with runtime builds.
https://github.com/llvm/llvm-project/pull/73966
More information about the libc-commits
mailing list