diff options
author | Joerg <JoergAtGithub@worldwartweb.com> | 2023-05-29 13:44:51 +0200 |
---|---|---|
committer | Joerg <JoergAtGithub@worldwartweb.com> | 2023-05-29 17:52:00 +0200 |
commit | 52e58a8afb8217933d7f9e2751d8fb28cbfee41c (patch) | |
tree | 02f16e63ea3aa5a8c3ad4cb821bf443cfd56373a | |
parent | d33674daf843ddeb910c02e32d9e5dfe3d2f1c2a (diff) |
Ignored "implicit conversion between pointer-to-function and pointer-to-object is a Microsoft extension" warnings when an object pointer is used with mixxx::Logger.
As in encoderfdkaac.cpp L134-L139
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d1d0ddaa6..94425e2646 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2201,6 +2201,7 @@ add_library(FpClassify STATIC EXCLUDE_FROM_ALL src/util/fpclassify.cpp) if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_SIMULATE_ID MATCHES "MSVC") target_compile_options(FpClassify PRIVATE /fp:precise) + target_compile_options(mixxx-lib PRIVATE -Wno-microsoft-cast) elseif(GNU_GCC OR LLVM_CLANG) # The option `-ffp-contract=on` must precede `-fno-fast-math` # to silence a warning on Clang 14 |