lmi-commits
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]