1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00

Meta: Disable implicit-const-int-float-conversion for clang-cl

This commit is contained in:
Andrew Kaster 2025-02-12 16:05:52 -07:00 committed by Andrew Kaster
parent 489bea0c23
commit 46444c89c9
Notes: github-actions[bot] 2025-02-13 02:14:46 +00:00

View file

@ -101,6 +101,7 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# FIXME: This warning seems useful but has too many false positives with GCC 13.
add_cxx_compile_options(-Wno-dangling-reference)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang$" AND CMAKE_CXX_SIMULATE_ID MATCHES "MSVC")
add_cxx_compile_options(-Wno-implicit-const-int-float-conversion)
add_cxx_compile_options(-Wno-reserved-identifier)
add_cxx_compile_options(-Wno-user-defined-literals)
add_cxx_compile_options(-Wno-unqualified-std-cast-call)