[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep branch, master, updated. v3.3-7-g8df79c9
From: |
Jim Meyering |
Subject: |
grep branch, master, updated. v3.3-7-g8df79c9 |
Date: |
Mon, 21 Jan 2019 19:50:36 -0500 (EST) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".
The branch, master has been updated
via 8df79c9fa79b6ce86fec0342f779125c85ff2f12 (commit)
via 06cec163ded9e6927ab6cc86bff6530302a107c6 (commit)
from 479c498daf20ab8873220b893dd6f0f44404dd1b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=8df79c9fa79b6ce86fec0342f779125c85ff2f12
commit 8df79c9fa79b6ce86fec0342f779125c85ff2f12
Author: Jim Meyering <address@hidden>
Date: Sun Jan 20 22:19:54 2019 -0800
build: ensure no VLA is used
Cause developer builds to fail for any use of a VLA.
VLAs (variable length arrays) limit portability.
* configure.ac (nw): Remove -Wvla from the list of disabled warnings,
thus enabling the warning when configured with --enable-gcc-warnings.
(GNULIB_NO_VLA) Define, disabling use of VLAs in gnulib. This commit
is functionally equivalent to coreutils' v8.30-44-gd26dece5d.
diff --git a/configure.ac b/configure.ac
index 1bbfc4f..4999840 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,6 +94,10 @@ AC_TYPE_SIZE_T
AC_C_CONST
gl_INIT
+# Ensure VLAs are not used.
+# Note -Wvla is implicitly added by gl_MANYWARN_ALL_GCC
+AC_DEFINE([GNULIB_NO_VLA], [1], [Define to 1 to disable use of VLAs])
+
# The test suite needs to know if we have a working perl.
# FIXME: this is suboptimal. Ideally, we would be able to call gl_PERL
# with an ACTION-IF-NOT-FOUND argument ...
@@ -134,7 +138,6 @@ if test "$gl_gcc_warnings" = yes; then
nw="$nw -Wundef" # Warns on '#if GNULIB_FOO' etc in gnulib
nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings
nw="$nw -Wpadded" # Our structs are not padded
- nw="$nw -Wvla" # warnings in gettext.h
nw="$nw -Wstack-protector" # generates false alarms for useful code
nw="$nw -Wswitch-default" # Too many warnings for now
nw="$nw -Wunsafe-loop-optimizations" # OK to suppress unsafe optimizations
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=06cec163ded9e6927ab6cc86bff6530302a107c6
commit 8df79c9fa79b6ce86fec0342f779125c85ff2f12
Author: Jim Meyering <address@hidden>
Date: Sun Jan 20 22:19:54 2019 -0800
build: ensure no VLA is used
Cause developer builds to fail for any use of a VLA.
VLAs (variable length arrays) limit portability.
* configure.ac (nw): Remove -Wvla from the list of disabled warnings,
thus enabling the warning when configured with --enable-gcc-warnings.
(GNULIB_NO_VLA) Define, disabling use of VLAs in gnulib. This commit
is functionally equivalent to coreutils' v8.30-44-gd26dece5d.
diff --git a/configure.ac b/configure.ac
index 1bbfc4f..4999840 100644
--- a/configure.ac
+++ b/configure.ac
@@ -94,6 +94,10 @@ AC_TYPE_SIZE_T
AC_C_CONST
gl_INIT
+# Ensure VLAs are not used.
+# Note -Wvla is implicitly added by gl_MANYWARN_ALL_GCC
+AC_DEFINE([GNULIB_NO_VLA], [1], [Define to 1 to disable use of VLAs])
+
# The test suite needs to know if we have a working perl.
# FIXME: this is suboptimal. Ideally, we would be able to call gl_PERL
# with an ACTION-IF-NOT-FOUND argument ...
@@ -134,7 +138,6 @@ if test "$gl_gcc_warnings" = yes; then
nw="$nw -Wundef" # Warns on '#if GNULIB_FOO' etc in gnulib
nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings
nw="$nw -Wpadded" # Our structs are not padded
- nw="$nw -Wvla" # warnings in gettext.h
nw="$nw -Wstack-protector" # generates false alarms for useful code
nw="$nw -Wswitch-default" # Too many warnings for now
nw="$nw -Wunsafe-loop-optimizations" # OK to suppress unsafe optimizations
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 5 ++++-
gnulib | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
hooks/post-receive
--
grep
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep branch, master, updated. v3.3-7-g8df79c9,
Jim Meyering <=