This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.20-6-ge6fb958
- From: fw at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 10 Sep 2014 06:13:45 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.20-6-ge6fb958
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 "GNU C Library master sources".
The branch, master has been updated
via e6fb95871cd3557e5882a6f969c11bc6a3cbe781 (commit)
from 9d3a350b4951351b3d821e8138293470de12abb2 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=e6fb95871cd3557e5882a6f969c11bc6a3cbe781
commit e6fb95871cd3557e5882a6f969c11bc6a3cbe781
Author: Florian Weimer <fweimer@redhat.com>
Date: Mon Sep 8 13:49:36 2014 +0200
Turn on -Werror=implicit-function-declaration
GCC 4.4, the minimum compiler version, supports this option. Unlike
other warnings, -Wimplicit-function-declaration warnings should be
independent of compiler versions, so this change should not cause
compiler-specific build failures.
diff --git a/ChangeLog b/ChangeLog
index 63efb00..cb8aeb7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-09-10 Florian Weimer <fweimer@redhat.com>
+
+ * Makeconfig (gccwarn-c): Turn implicit-function-declaration
+ warnings into errors.
+
+ * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
+ __cxa_thread_atexit_impl prototype.
+
2014-09-09 Steve Ellcey <sellcey@mips.com>
* sysdeps/mips/preconfigure: Put code inside mips* case statement.
diff --git a/Makeconfig b/Makeconfig
index cef0f06..0f8069b 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -717,7 +717,7 @@ else
+gccwarn := -Wall -Wwrite-strings -Winline
endif
+gccwarn += -Wundef
-+gccwarn-c = -Wstrict-prototypes
++gccwarn-c = -Wstrict-prototypes -Werror=implicit-function-declaration
# We do not depend on the address of constants in different files to be
# actually different, so allow the compiler to merge them all.
diff --git a/stdlib/tst-tls-atexit-lib.c b/stdlib/tst-tls-atexit-lib.c
index 964f94b..b67d62f 100644
--- a/stdlib/tst-tls-atexit-lib.c
+++ b/stdlib/tst-tls-atexit-lib.c
@@ -16,6 +16,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#include <stdlib.h>
+
extern void *__dso_handle;
typedef struct
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 8 ++++++++
Makeconfig | 2 +-
stdlib/tst-tls-atexit-lib.c | 2 ++
3 files changed, 11 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources