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:
parent
489bea0c23
commit
46444c89c9
Notes:
github-actions[bot]
2025-02-13 02:14:46 +00:00
Author: https://github.com/ADKaster
Commit: 46444c89c9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3551
Reviewed-by: https://github.com/alimpfard ✅
Reviewed-by: https://github.com/shannonbooth
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue