[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Diffutils-devel] FYI: suppress gnulib warning and update copyright date
From: |
Jim Meyering |
Subject: |
[Diffutils-devel] FYI: suppress gnulib warning and update copyright dates |
Date: |
Sat, 06 Jan 2018 17:05:35 -0800 |
FYI I've just pushed these two changes:
From: Jim Meyering <address@hidden>
Date: Sat, 6 Jan 2018 16:44:03 -0800
Subject: [PATCH 1/2] maint: suppress gcc's new -Wcast-function-type in gnulib
* configure.ac (WERROR_CFLAGS): Suppress gcc's new -Wcast-function-type
warning in gnulib, because it would trigger on this:
sig-handler.h:47:12: error: cast between incompatible function types\
from 'void (* const)(int, siginfo_t *, void *)' \
{aka 'void (* const)(int, struct <anonymous> *, void *)'} \
to 'void (*)(int)' [-Werror=cast-function-type]
return (sa_handler_t) a->sa_sigaction;
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index 28e0107..6e130f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,6 +102,7 @@ if test "$gl_gcc_warnings" = yes; then
gl_WARN_ADD([-Wno-pointer-sign]) # Too many warnings for now
gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now
gl_WARN_ADD([-Wno-format-nonliteral])
+ gl_WARN_ADD([-Wno-cast-function-type]) # For sig-handler.h:47
# In spite of excluding -Wlogical-op above, it is enabled, as of
# gcc 4.5.0 20090517, and it provokes warnings in cat.c, dd.c, truncate.c
--
2.15.1.433.g936d1b989
From: Jim Meyering <address@hidden>
Date: Sat, 6 Jan 2018 16:49:13 -0800
Subject: [PATCH 2/2] maint: update gnulib and copyright dates for 2018
* gnulib: Update to latest.
* all files: Run "make update-copyright".
* bootstrap: Update from gnulib.
...
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Diffutils-devel] FYI: suppress gnulib warning and update copyright dates,
Jim Meyering <=