lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master c9d97d5 5/5: Permit gcc-9.3.0, suppressing a


From: Greg Chicares
Subject: [lmi-commits] [lmi] master c9d97d5 5/5: Permit gcc-9.3.0, suppressing a new warning
Date: Tue, 28 Apr 2020 21:17:24 -0400 (EDT)

branch: master
commit c9d97d506bd73aed2fea95e566bcf7798b4ddd56
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Permit gcc-9.3.0, suppressing a new warning
---
 pchfile_wx.hpp | 3 +++
 workhorse.make | 8 +++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/pchfile_wx.hpp b/pchfile_wx.hpp
index 0d86477..a6d9391 100644
--- a/pchfile_wx.hpp
+++ b/pchfile_wx.hpp
@@ -39,6 +39,9 @@
 #       pragma GCC diagnostic ignored "-Wcast-function-type"
 #   endif // 8 <= __GNUC__
 #   pragma GCC diagnostic ignored "-Wcast-qual"
+#   if 9 <= __GNUC__
+#       pragma GCC diagnostic ignored "-Wdeprecated-copy"
+#   endif // 9 <= __GNUC__
 //  only 'strvararg.h:1048:19':
 #   pragma GCC diagnostic ignored "-Wdouble-promotion"
 #   pragma GCC diagnostic ignored "-Wformat-nonliteral"
diff --git a/workhorse.make b/workhorse.make
index 438a337..622284b 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -156,6 +156,7 @@ else ifeq (7.3.0,$(gnu_cpp_version))
 else ifeq (8.1.0,$(gnu_cpp_version))
 else ifeq (8.2.0,$(gnu_cpp_version))
 else ifeq (8.3.0,$(gnu_cpp_version))
+else ifeq (9.3.0,$(gnu_cpp_version))
 else
   $(warning Untested $(GNU_CPP) version '$(gnu_cpp_version)')
 endif
@@ -170,6 +171,7 @@ else ifeq (7.3.0,$(gnu_cxx_version))
 else ifeq (8.1.0,$(gnu_cxx_version))
 else ifeq (8.2.0,$(gnu_cxx_version))
 else ifeq (8.3.0,$(gnu_cxx_version))
+else ifeq (9.3.0,$(gnu_cxx_version))
 else
   $(warning Untested $(GNU_CXX) version '$(gnu_cxx_version)')
 endif
@@ -408,7 +410,7 @@ else ifneq (,$(filter $(gcc_version), 7.2.0 7.3.0))
   gcc_version_specific_warnings := \
 
   cxx_standard := -fno-ms-extensions -frounding-math -std=c++17
-else ifneq (,$(filter $(gcc_version), 8.1.0 8.2.0 8.3.0))
+else ifneq (,$(filter $(gcc_version), 8.1.0 8.2.0 8.3.0 9.3.0))
   gcc_version_specific_warnings := \
 
   ifeq (x86_64-w64-mingw32,$(findstring x86_64-w64-mingw32,$(LMI_TRIPLET)))
@@ -544,6 +546,7 @@ wx_dependent_objects :=
 $(wx_dependent_objects): gcc_common_extra_warnings += \
   -Wno-cast-function-type \
   -Wno-cast-qual \
+  -Wno-deprecated-copy \
   -Wno-double-promotion \
   -Wno-format-nonliteral \
   -Wno-noexcept \
@@ -570,11 +573,13 @@ operations_posix_windows.o: gcc_common_extra_warnings += 
-Wno-unused-parameter
 # Some boost-1.33.1 libraries are incompatible with many warnings.
 
 $(boost_filesystem_objects): gcc_common_extra_warnings += \
+  -Wno-deprecated-copy \
   -Wno-deprecated-declarations \
   -Wno-unused-macros \
 
 $(boost_regex_objects): gcc_common_extra_warnings += \
   -Wno-conversion \
+  -Wno-deprecated-copy \
   -Wno-duplicated-branches \
   -Wno-implicit-fallthrough \
   -Wno-register \
@@ -589,6 +594,7 @@ boost_dependent_objects := \
   test_coding_rules.o \
 
 $(boost_dependent_objects): gcc_common_extra_warnings += \
+  -Wno-deprecated-copy \
   -Wno-switch-enum \
   -Wno-unused-local-typedefs
 



reply via email to

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