[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master e908d9e 8/9: Don't disable -Wdeprecated-enum-
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master e908d9e 8/9: Don't disable -Wdeprecated-enum-enum-conversion in configure |
Date: |
Sat, 23 Oct 2021 18:32:45 -0400 (EDT) |
branch: master
commit e908d9e15d2b4009241b06a2ef1638ee499b0a5d
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Don't disable -Wdeprecated-enum-enum-conversion in configure
Don't disable this warning any longer now that both of its occurrences
have been fixed in the sources.
---
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 731278b..4aa7d77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -538,11 +538,11 @@ if test "x$GXX" == "xyes"; then
LMI_CXX_ADD_IF_SUPPORTED(-Wno-parentheses)
fi
- dnl These warnings are given by clang in C++20 mode and can't be easily
- dnl avoided, so disable them for now.
- LMI_CXX_ADD_IF_SUPPORTED(-Wno-deprecated-enum-enum-conversion)
+ dnl This warning is given by both gcc and clang in C++20 mode and can't be
+ dnl easily avoided, so disable it for now.
LMI_CXX_ADD_IF_SUPPORTED(-Wno-deprecated-enum-float-conversion)
if test "$CLANG" = "yes"; 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)
fi
- [lmi-commits] [lmi] master updated (03dc638 -> b0c70e0), Greg Chicares, 2021/10/23
- [lmi-commits] [lmi] master bbc5038 2/9: Disable gcc -Wdeprecated-enum-float-conversion, Greg Chicares, 2021/10/23
- [lmi-commits] [lmi] master a5db27e 1/9: Recognize gcc and g++ 11 versions in the makefile, Greg Chicares, 2021/10/23
- [lmi-commits] [lmi] master d810372 3/9: Trade elegance for simplicity, Greg Chicares, 2021/10/23
- [lmi-commits] [lmi] master 33de332 5/9: Prefer 'long int' to 'long', Greg Chicares, 2021/10/23
- [lmi-commits] [lmi] master e908d9e 8/9: Don't disable -Wdeprecated-enum-enum-conversion in configure,
Greg Chicares <=
- [lmi-commits] [lmi] master 1cefad6 4/9: Fix LMI_WX_CHILD_DOCUMENT definition to fix g++11 C++20 build, Greg Chicares, 2021/10/23
- [lmi-commits] [lmi] master a5de0ea 6/9: Fix gcc11 -Wdeprecated-enum-enum-conversion in test_coding_rules, Greg Chicares, 2021/10/23
- [lmi-commits] [lmi] master 97416cf 7/9: Emulate C++23 to_underlying<>(), Greg Chicares, 2021/10/23
- [lmi-commits] [lmi] master b0c70e0 9/9: Update wxWidgets submodule to fix gcc11 -Wshadow warnings, Greg Chicares, 2021/10/23