[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 1a571d73 4/4: Enable hitherto-overlooked warn
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 1a571d73 4/4: Enable hitherto-overlooked warnings |
Date: |
Mon, 20 Mar 2023 18:19:36 -0400 (EDT) |
branch: master
commit 1a571d734200778ecd6b2e99a72eee1f64552826
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Enable hitherto-overlooked warnings
Enabled the only two warnings that haven't already been considered and
disabled for cause.
Cf.:
https://lists.nongnu.org/archive/html/lmi/2022-06/msg00039.html
et seqq., which also mentions:
array-compare
infinite-recursion
use-after-free
all three of which are currently documented as enabled by '-Wall'.
---
compiler_gcc_warnings.make | 2 ++
1 file changed, 2 insertions(+)
diff --git a/compiler_gcc_warnings.make b/compiler_gcc_warnings.make
index 94c0f401..a0ef21e6 100644
--- a/compiler_gcc_warnings.make
+++ b/compiler_gcc_warnings.make
@@ -209,6 +209,7 @@ gcc_cxx_warnings := \
-Wnon-template-friend \
-Wnon-virtual-dtor \
-Wold-style-cast \
+ -Wopenacc-parallelism \
-Woverloaded-virtual \
-Wplacement-new=2 \
-Wpmf-conversions \
@@ -218,6 +219,7 @@ gcc_cxx_warnings := \
-Wstrict-null-sentinel \
-Wsuggest-override \
-Wsynth \
+ -Wtrivial-auto-var-init \
-Wuseless-cast \
-Wvolatile \
-Wzero-as-null-pointer-constant \