grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v3.7-53-g9af9d51


From: Jim Meyering
Subject: grep branch, master, updated. v3.7-53-g9af9d51
Date: Sun, 20 Mar 2022 16:24:36 -0400 (EDT)

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  9af9d51605fdedc18eaf24bcf693c812add29305 (commit)
       via  6e95551ad6a1e5591ea0d417c2d3eec1921e48b5 (commit)
      from  efe1e1543c409504752f8d240d3ea41af3b8fddf (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=9af9d51605fdedc18eaf24bcf693c812add29305


commit 9af9d51605fdedc18eaf24bcf693c812add29305
Author: Jim Meyering <meyering@fb.com>
Date:   Sun Mar 20 11:05:31 2022 -0700

    build: avoid build failure on systems that must compile regexec.c
    
    With --enable-gcc-warnings, compiling regexec.h would fail due to
    its use of a single variable-length array.
    * configure.ac: Add -Wvla to the list of disabled warnings and
    remove most of the others, that no longer need to be disabled.

diff --git a/configure.ac b/configure.ac
index 98d757a..0a97982 100644
--- a/configure.ac
+++ b/configure.ac
@@ -128,18 +128,9 @@ if test $gl_gcc_warnings != no; then
 
   nw=$ew
   # This, $nw, is the list of warnings we disable.
-  nw="$nw -Wdeclaration-after-statement" # too useful to forbid
-  nw="$nw -Waggregate-return"       # anachronistic
-  nw="$nw -Wlong-long"              # C90 is anachronistic (lib/gethrxtime.h)
-  nw="$nw -Wc++-compat"             # We don't care about C++ compilers
-  nw="$nw -Wundef"                  # Warns on '#if GNULIB_FOO' etc in gnulib
+  nw="$nw -Wvla"                    # suppress a warning in regexec.h
   nw="$nw -Wsystem-headers"         # Don't let system headers trigger warnings
-  nw="$nw -Wpadded"                 # Our structs are not padded
-  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
-  nw="$nw -Winline"                 # streq.h's streq4, streq6 and strcaseeq6
-  nw="$nw -Wstrict-overflow"        # regexec.c
+
 
   gl_MANYWARN_ALL_GCC([ws])
   gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw])

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=6e95551ad6a1e5591ea0d417c2d3eec1921e48b5


commit 9af9d51605fdedc18eaf24bcf693c812add29305
Author: Jim Meyering <meyering@fb.com>
Date:   Sun Mar 20 11:05:31 2022 -0700

    build: avoid build failure on systems that must compile regexec.c
    
    With --enable-gcc-warnings, compiling regexec.h would fail due to
    its use of a single variable-length array.
    * configure.ac: Add -Wvla to the list of disabled warnings and
    remove most of the others, that no longer need to be disabled.

diff --git a/configure.ac b/configure.ac
index 98d757a..0a97982 100644
--- a/configure.ac
+++ b/configure.ac
@@ -128,18 +128,9 @@ if test $gl_gcc_warnings != no; then
 
   nw=$ew
   # This, $nw, is the list of warnings we disable.
-  nw="$nw -Wdeclaration-after-statement" # too useful to forbid
-  nw="$nw -Waggregate-return"       # anachronistic
-  nw="$nw -Wlong-long"              # C90 is anachronistic (lib/gethrxtime.h)
-  nw="$nw -Wc++-compat"             # We don't care about C++ compilers
-  nw="$nw -Wundef"                  # Warns on '#if GNULIB_FOO' etc in gnulib
+  nw="$nw -Wvla"                    # suppress a warning in regexec.h
   nw="$nw -Wsystem-headers"         # Don't let system headers trigger warnings
-  nw="$nw -Wpadded"                 # Our structs are not padded
-  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
-  nw="$nw -Winline"                 # streq.h's streq4, streq6 and strcaseeq6
-  nw="$nw -Wstrict-overflow"        # regexec.c
+
 
   gl_MANYWARN_ALL_GCC([ws])
   gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw])

-----------------------------------------------------------------------

Summary of changes:
 configure.ac            | 13 ++-----------
 src/grep.c              |  2 +-
 tests/Makefile.am       |  1 +
 tests/fillbuf-long-line | 11 +++++++++++
 4 files changed, 15 insertions(+), 12 deletions(-)
 create mode 100755 tests/fillbuf-long-line


hooks/post-receive
-- 
grep



reply via email to

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