From 4eafda12154d1a42a3f81cadecec0b31b679ac89 Mon Sep 17 00:00:00 2001 From: Joachim Schmitz Date: Sat, 2 Sep 2023 21:29:52 +0200 Subject: [PATCH] Explain why we can't do much about this gcc warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit reg. command-line option ‘-Wno-absolute-value’ is valid for C/ObjC but not for C++ --- thirdparty/lame/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/lame/CMakeLists.txt b/thirdparty/lame/CMakeLists.txt index e439aea9b6..2ccd2c73f4 100644 --- a/thirdparty/lame/CMakeLists.txt +++ b/thirdparty/lame/CMakeLists.txt @@ -70,7 +70,7 @@ target_no_warning(${MODULE} -Wno-shift-negative-value) target_no_warning(${MODULE} -Wno-implicit-fallthrough) target_no_warning(${MODULE} -Wno-empty-body) target_no_warning(${MODULE} -Wno-attributes) -target_no_warning(${MODULE} -Wno-absolute-value) +target_no_warning(${MODULE} -Wno-absolute-value) # we need this for C code in this module , but not for its C++ code #target_no_warning(${MODULE} -Wno-tautological-pointer-compare) target_no_warning(${MODULE} -WMSVC-no-translation-unit-is-empty) target_no_warning(${MODULE} -WMSVC-no-nonstandard-extension-used)