guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 03/04: Remove -Wdeclaration-after-statement


From: Andy Wingo
Subject: [Guile-commits] 03/04: Remove -Wdeclaration-after-statement
Date: Wed, 3 Apr 2019 15:09:12 -0400 (EDT)

wingo pushed a commit to branch lightening
in repository guile.

commit 83b086e40ec5bb8418e707c2b9edc3f6bc94a0e1
Author: Andy Wingo <address@hidden>
Date:   Wed Apr 3 19:37:09 2019 +0200

    Remove -Wdeclaration-after-statement
    
    * configure.ac (HOST_CC): Now that we have C99, there's no need to warn
      on mixed statements and declarations.
---
 configure.ac | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index c9c8dd1..8f77138 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ dnl   Process this file with autoconf to produce configure.
 dnl
 
 define(GUILE_CONFIGURE_COPYRIGHT,[[
-Copyright 1998-2018 Free Software Foundation, Inc.
+Copyright 1998-2019 Free Software Foundation, Inc.
 
 This file is part of Guile.
 
@@ -1309,8 +1309,7 @@ case "$GCC" in
     ## <http://lists.gnu.org/archive/html/guile-devel/2012-01/msg00487.html>.
 
     POTENTIAL_GCC_CFLAGS="-Wall -Wmissing-prototypes \
-      -Wdeclaration-after-statement -Wpointer-arith \
-      -fno-strict-aliasing -fwrapv"
+      -Wpointer-arith -fno-strict-aliasing -fwrapv"
     # Do this here so we don't screw up any of the tests above that might
     # not be "warning free"
     if test "${GUILE_ERROR_ON_WARNING}" = yes



reply via email to

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