[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
Wed Feb 5 15:19:09 PST 2025


================
@@ -1,11 +1,6 @@
 function(_get_common_test_compile_options output_var c_test flags)
   _get_compile_options_from_flags(compile_flags ${flags})
 
-  # Remove -fno-math-errno if it was added.
-  if(LIBC_ADD_FNO_MATH_ERRNO)
-    list(REMOVE_ITEM compile_options "-fno-math-errno")
-  endif()
----------------
vinay-deshmukh wrote:

IIRFC yes, Oh I just realized that's _removing_ `-fno-math-error`

let me revert that change

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


More information about the libc-commits mailing list