lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 281cc07: Enable more gcc warnings for builds


From: Vadim Zeitlin
Subject: [lmi-commits] [lmi] master 281cc07: Enable more gcc warnings for builds using configure
Date: Tue, 6 Mar 2018 11:17:09 -0500 (EST)

branch: master
commit 281cc079e7e66826d8f4a4763556524aa503dbbe
Author: Vadim Zeitlin <address@hidden>
Commit: Vadim Zeitlin <address@hidden>

    Enable more gcc warnings for builds using configure
    
    Enable -Wshadow and -Wunreachable-code, for consistency with
    workhorse.make, and remove -Wno-{long-long,variadic-macros} which are
    not needed any longer with modern gcc.
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 61c06a6..f920256 100644
--- a/configure.ac
+++ b/configure.ac
@@ -518,11 +518,11 @@ if test "$GCC" == "yes"; then
             -Wdisabled-optimization \
             -Wimport \
             -Wmultichar \
-            -Wno-long-long \
-            -Wno-variadic-macros \
             -Wpacked \
             -Wpointer-arith \
+            -Wshadow \
             -Wsign-compare \
+            -Wunreachable-code \
             -Wwrite-strings"
     fi
 



reply via email to

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