[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
- [Guile-commits] branch lloda-squash0 updated (7b79d58 -> 2bea305), Daniel Llorens, 2016/07/12
- [Guile-commits] 01/12: Compile in C99 mode,
Daniel Llorens <=
- [Guile-commits] 05/12: Reuse SCM_BYTEVECTOR_TYPED_LENGTH in scm_array_get_handle, Daniel Llorens, 2016/07/12
- [Guile-commits] 02/12: Fix compilation of rank 0 typed array literals, Daniel Llorens, 2016/07/12
- [Guile-commits] 03/12: Remove scm_from_contiguous_array, array 'contiguous' flag, Daniel Llorens, 2016/07/12
- [Guile-commits] 04/12: Avoid unneeded internal use of array handles, Daniel Llorens, 2016/07/12
- [Guile-commits] 07/12: Remove deprecated array functions, Daniel Llorens, 2016/07/12
- [Guile-commits] 08/12: Do not use array handles in scm_vector, Daniel Llorens, 2016/07/12
- [Guile-commits] 06/12: New functions array-from, array-from*, array-amend!, Daniel Llorens, 2016/07/12
- [Guile-commits] 09/12: Speed up for multi-arg cases of scm_ramap functions, Daniel Llorens, 2016/07/12
- [Guile-commits] 11/12: Support typed arrays in some sort functions, Daniel Llorens, 2016/07/12
- [Guile-commits] 10/12: Remove uniform-array-read!, uniform-array-write from the manual, Daniel Llorens, 2016/07/12