summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg <JoergAtGithub@worldwartweb.com>2023-05-29 13:44:51 +0200
committerJoerg <JoergAtGithub@worldwartweb.com>2023-05-29 17:52:00 +0200
commit52e58a8afb8217933d7f9e2751d8fb28cbfee41c (patch)
tree02f16e63ea3aa5a8c3ad4cb821bf443cfd56373a
parentd33674daf843ddeb910c02e32d9e5dfe3d2f1c2a (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.txt1
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