[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 1845040 2/2: Temporarily disable clang-13 -Wd
From: |
Vadim Zeitlin |
Subject: |
[lmi-commits] [lmi] master 1845040 2/2: Temporarily disable clang-13 -Wdeprecated-copy |
Date: |
Mon, 13 Dec 2021 19:47:53 -0500 (EST) |
branch: master
commit 184504030f9f3d8cb860f7c7d7fe212f0a4ddcef
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Vadim Zeitlin <vadim@tt-solutions.com>
Temporarily disable clang-13 -Wdeprecated-copy
This warnings occurs many times in the wx headers in the version
currently used by lmi, making it impossible to build it with clang-13
which is now used in Debian Sid and hence in the CI environment.
---
configure.ac | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index f03ac76..f425aa3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -545,6 +545,10 @@ if test "x$GXX" == "xyes"; then
dnl These warnings are clang-specific but also can't be easily fixed.
LMI_CXX_ADD_IF_SUPPORTED(-Wno-deprecated-anon-enum-enum-conversion)
LMI_CXX_ADD_IF_SUPPORTED(-Wno-deprecated-volatile)
+
+ dnl This one currently occurs in wx headers and should be re-enabled
+ dnl after updating to the wx version in which it is fixed.
+ LMI_CXX_ADD_IF_SUPPORTED(-Wno-deprecated-copy)
fi
fi