]> Savannah Git Hosting - gnulib.git/commitdiff
regex: also break glibc lib/regex.c link for now
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Aug 2021 19:01:26 +0000 (12:01 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Aug 2021 19:01:26 +0000 (12:01 -0700)
ChangeLog
config/srclist.txt
lib/regex.c

index 902c5262cf8615b7e17d63040543cbe07bcf1cb7..adfbcf3e21129acfa4290d02e9779690765b60c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
        This should help with some static checking.
        Derived from a suggestion by Martin Sebor in:
        https://sourceware.org/pipermail/libc-alpha/2021-August/130336.html
+       * config/srclist.txt: Remove lib/regex.c for now.
        * lib/regex.c: Ignore -Wvla for the whole file.
        * lib/regex.h (_REGEX_NELTS, _Attr_access_): New macros.
        Ignore -Wvla when declaring regexec.
index 218e04d9c3954c12d795b84dfd7c6ee141f6019c..e118ede049325b7c66a96e2be1bd6785614b3709 100644 (file)
@@ -65,7 +65,7 @@ $LIBCSRC malloc/scratch_buffer_grow_preserve.c        lib/malloc
 $LIBCSRC malloc/scratch_buffer_set_array_size.c        lib/malloc
 #$LIBCSRC include/intprops.h             lib
 #$LIBCSRC posix/regcomp.c              lib
-$LIBCSRC posix/regex.c                 lib
+#$LIBCSRC posix/regex.c                        lib
 #$LIBCSRC posix/regex.h                        lib
 #$LIBCSRC posix/regex_internal.c       lib
 #$LIBCSRC posix/regex_internal.h               lib
index 7296be0f08da88d881fe0b9e79a5c54aae00ee6d..d32863972c7bcdcfb3d78c047f0808794216c22d 100644 (file)
@@ -24,6 +24,7 @@
 
 # if __GNUC_PREREQ (4, 6)
 #  pragma GCC diagnostic ignored "-Wsuggest-attribute=pure"
+#  pragma GCC diagnostic ignored "-Wvla"
 # endif
 # if __GNUC_PREREQ (4, 3)
 #  pragma GCC diagnostic ignored "-Wold-style-definition"