[libc-commits] [libc] [libc] [Task] Enable most libc disabled warnings (PR #122835)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Tue Jan 14 11:17:03 PST 2025
================
@@ -241,17 +241,18 @@ function(_get_common_test_compile_options output_var c_test flags)
list(APPEND compile_options "-ffixed-point")
endif()
- # list(APPEND compile_options "-Wall")
- # list(APPEND compile_options "-Wextra")
+ list(APPEND compile_options "-Wall")
+ list(APPEND compile_options "-Wextra")
# -DLIBC_WNO_ERROR=ON if you can't build cleanly with -Werror.
if(NOT LIBC_WNO_ERROR)
- # list(APPEND compile_options "-Werror")
+ list(APPEND compile_options "-Werror")
+ list(APPEND compile_options "-Wno-global-constructors")
----------------
nickdesaulniers wrote:
Do you actually need to disable `-Wno-global-constructors`? It's commented out below, so I don't think it gets set?
https://github.com/llvm/llvm-project/pull/122835
More information about the libc-commits
mailing list