[libc-commits] [libc] 88bcb58 - [libc] Add -Wall for libc tests (#160220)

via libc-commits libc-commits at lists.llvm.org
Tue Sep 23 07:18:50 PDT 2025


Author: Vinay Deshmukh
Date: 2025-09-23T10:18:46-04:00
New Revision: 88bcb5818626c6a2314688e5fe78245e9b15fafd

URL: https://github.com/llvm/llvm-project/commit/88bcb5818626c6a2314688e5fe78245e9b15fafd
DIFF: https://github.com/llvm/llvm-project/commit/88bcb5818626c6a2314688e5fe78245e9b15fafd.diff

LOG: [libc] Add -Wall for libc tests (#160220)

Relates to #119281

Added: 
    

Modified: 
    libc/cmake/modules/LLVMLibCTestRules.cmake

Removed: 
    


################################################################################
diff  --git a/libc/cmake/modules/LLVMLibCTestRules.cmake b/libc/cmake/modules/LLVMLibCTestRules.cmake
index 9f00875390b53..19da0ad29cd84 100644
--- a/libc/cmake/modules/LLVMLibCTestRules.cmake
+++ b/libc/cmake/modules/LLVMLibCTestRules.cmake
@@ -39,7 +39,7 @@ 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 "-Wall")
     list(APPEND compile_options "-Wextra")
     # -DLIBC_WNO_ERROR=ON if you can't build cleanly with -Werror.
     if(NOT LIBC_WNO_ERROR)


        


More information about the libc-commits mailing list