[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 27b7ea18 3/4: Make two warnings defaults rath
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 27b7ea18 3/4: Make two warnings defaults rather than exceptions |
Date: |
Tue, 14 Jun 2022 20:25:32 -0400 (EDT) |
branch: master
commit 27b7ea18095d72d5182b680d98fed19d83f4bd7d
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Make two warnings defaults rather than exceptions
Versions older than gcc-10 wouldn't build lmi, even without this change.
---
workhorse.make | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/workhorse.make b/workhorse.make
index 31e252cf..24510e98 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -522,8 +522,6 @@ else ifneq (,$(filter $(gcc_version), 10 10.0))
gcc_version_specific_c_warnings :=
gcc_version_specific_cxx_warnings := \
- -Wredundant-tags \
- -Wvolatile \
ifeq (x86_64-w64-mingw32,$(findstring x86_64-w64-mingw32,$(LMI_TRIPLET)))
# See:
@@ -545,8 +543,6 @@ else ifneq (,$(filter $(gcc_version), 11 11.0))
gcc_version_specific_c_warnings :=
gcc_version_specific_cxx_warnings := \
- -Wredundant-tags \
- -Wvolatile \
cxx_standard := -fno-ms-extensions -frounding-math -fsignaling-nans
-std=c++20
endif
@@ -704,12 +700,14 @@ gcc_cxx_warnings := \
-Woverloaded-virtual \
-Wplacement-new=2 \
-Wpmf-conversions \
+ -Wredundant-tags \
-Wregister \
-Wreorder \
-Wstrict-null-sentinel \
-Wsuggest-override \
-Wsynth \
-Wuseless-cast \
+ -Wvolatile \
-Wzero-as-null-pointer-constant \
-Wno-abi-tag \
-Wno-aggregate-return \