[libc-commits] [libc] [libc] `-Wimplicit-fallthrough`, `-Wwrite-strings` and non-GCC warnings (PR #124036)
Vinay Deshmukh via libc-commits
libc-commits at lists.llvm.org
Fri Jan 24 18:12:35 PST 2025
================
@@ -46,13 +46,13 @@ function(_get_common_test_compile_options output_var c_test flags)
list(APPEND compile_options "-Wno-gnu-imaginary-constant")
endif()
list(APPEND compile_options "-Wno-pedantic")
- # if(NOT CMAKE_COMPILER_IS_GNUCXX)
- # list(APPEND compile_options "-Wnewline-eof")
- # list(APPEND compile_options "-Wnonportable-system-include-path")
- # list(APPEND compile_options "-Wstrict-prototypes")
- # list(APPEND compile_options "-Wthread-safety")
- # list(APPEND compile_options "-Wglobal-constructors")
- # endif()
+ if(NOT CMAKE_COMPILER_IS_GNUCXX)
----------------
vinay-deshmukh wrote:
Fixed in be9ec1ac8875d5d4e32c5be5095a60da5fd02e12
https://github.com/llvm/llvm-project/pull/124036
More information about the libc-commits
mailing list