lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master eff057a 6/6: Make compiler warnings stricter


From: Greg Chicares
Subject: [lmi-commits] [lmi] master eff057a 6/6: Make compiler warnings stricter
Date: Sun, 1 Oct 2017 14:20:03 -0400 (EDT)

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

    Make compiler warnings stricter
    
    Applied gcc's '-Wunreachable-code' universally. No attempt was made to
    determine which earlier versions of libstdc++ were incompatible with
    this warning because the standard library will not be downgraded.
---
 workhorse.make | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/workhorse.make b/workhorse.make
index f2b4f73..0a35376 100644
--- a/workhorse.make
+++ b/workhorse.make
@@ -422,6 +422,7 @@ gcc_common_warnings := \
   -Wredundant-decls \
   -Wsign-compare \
   -Wundef \
+  -Wunreachable-code \
   -Wwrite-strings \
 
 gcc_c_warnings := \
@@ -487,9 +488,6 @@ endif
 #  -Wold-style-cast \
 #  -Wshadow \
 
-# Too many warnings for libstdc++:
-#  -Wunreachable-code \
-
 C_WARNINGS = \
   $(gcc_c_warnings) \
   $(gcc_common_extra_warnings) \



reply via email to

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