[libc-commits] [libc] [libc] build with -Werror (PR #73966)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Mon Dec 4 09:45:27 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)
----------------
nickdesaulniers wrote:

done in https://github.com/llvm/llvm-project/pull/73966/commits/1fa2e4df97a85dc6dbede03d3e4a1cfbd65228db PTAL

https://github.com/llvm/llvm-project/pull/73966


More information about the libc-commits mailing list