lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 5aad369: Add two gcc-10-specific warnings


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 5aad369: Add two gcc-10-specific warnings
Date: Tue, 16 Jun 2020 17:06:13 -0400 (EDT)

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

    Add two gcc-10-specific warnings
    
    Tested with gcc-8 and gcc-10, though not with gcc-9.
---
 workhorse.make | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/workhorse.make b/workhorse.make
index 47e92b5..e722dc4 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -423,6 +423,10 @@ else ifneq (,$(filter $(gcc_version), 8.1.0 8.2.0 8.3.0 
9.3.0 10.0))
     tutelary_flag := -fomit-frame-pointer
   endif
 
+  ifneq (,$(filter $(gcc_version), 10.0))
+    gcc_cxx_warnings += -Wredundant-tags -Wvolatile
+  endif
+
   cxx_standard := -fno-ms-extensions -frounding-math -std=c++17
 endif
 



reply via email to

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