Skip to content

Commit

Permalink
Meta: Disable implicit-const-int-float-conversion for clang-cl
Browse files Browse the repository at this point in the history
  • Loading branch information
ADKaster committed Feb 13, 2025
1 parent 489bea0 commit 46444c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Meta/CMake/common_compile_options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 46444c8

Please sign in to comment.