guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 01/12: Compile in C99 mode


From: Daniel Llorens
Subject: [Guile-commits] 01/12: Compile in C99 mode
Date: Tue, 12 Jul 2016 17:14:43 +0000 (UTC)

lloda pushed a commit to branch lloda-squash0
in repository guile.

commit 2ccb648420e4667e7da8d38b10e1f6a41642774a
Author: Daniel Llorens <address@hidden>
Date:   Wed Feb 11 14:05:08 2015 +0100

    Compile in C99 mode
    
    * configure.ac: Require C99 flags. Remove -Wdeclaration-after-statement.
---
 configure.ac |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1735c56..8fdaa73 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,7 +65,7 @@ AC_CANONICAL_HOST
 AC_LIBTOOL_WIN32_DLL
 
 AC_PROG_INSTALL
-AC_PROG_CC
+AC_PROG_CC_C99
 gl_EARLY
 AC_PROG_CPP
 AC_PROG_SED
@@ -1524,8 +1524,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 \
-      -Wswitch-enum -fno-strict-aliasing -fwrapv"
+      -Wpointer-arith -Wswitch-enum -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]