lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 89c3172e 4/5: Further refine C++ warnings


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 89c3172e 4/5: Further refine C++ warnings
Date: Sat, 11 Jun 2022 21:34:06 -0400 (EDT)

branch: master
commit 89c3172e0b69f70844c7bd818d8929e1d95c4550
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Further refine C++ warnings
---
 workhorse.make | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/workhorse.make b/workhorse.make
index 3add7411..ebf36629 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -645,10 +645,12 @@ gcc_cxx_warnings := \
   -Wc++14-compat \
   -Wc++1z-compat \
   -Wcatch-value=3 \
+  -Wcomma-subscript \
   -Wconditionally-supported \
   -Wctor-dtor-privacy \
   -Wdelete-non-virtual-dtor \
   -Wdeprecated \
+  -Wdeprecated-copy-dtor \
   -Wextra-semi \
   -Wnoexcept \
   -Wnoexcept-type \
@@ -665,12 +667,15 @@ gcc_cxx_warnings := \
   -Wsynth \
   -Wuseless-cast \
   -Wzero-as-null-pointer-constant \
+  -Wno-mismatched-tags \
   -Wno-sign-promo \
   -Wno-suggest-final-methods \
   -Wno-suggest-final-types \
 
 # Warnings that are not generally useful.
 #
+# -Wno-mismatched-tags: not helpful--see:
+#   https://lists.nongnu.org/archive/html/lmi/2016-05/msg00075.html
 # -Wsign-promo: too many false positives--see:
 #   https://lists.nongnu.org/archive/html/lmi/2019-03/msg00016.html
 # -Wsuggest-final-methods, and



reply via email to

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