GNU C Library master sources branch master updated. glibc-2.22-339-g939e092
Wed Oct 7 22:07:00 GMT 2015

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  939e092a9e46e6a8bb3d7dc3cf165f384b598f46 (commit)
      from  b86b4f5ef2fd801b1269938747a438838f1545c1 (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 -----------------------------------------------------------------;a=commitdiff;h=939e092a9e46e6a8bb3d7dc3cf165f384b598f46

commit 939e092a9e46e6a8bb3d7dc3cf165f384b598f46
Author: Steve Ellcey <>
Date:   Wed Oct 7 15:04:49 2015 -0700

        Update timezone/Makefile to use -Wno-unused-variable
        GCC 6.0 (prelease) complains about time_t_min and time_t_max
        not being used.  These variables are not used in glibc but
        are needed in other packages.
    	* timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
    	(CFLAGS-ialloc.c): Ditto.
    	(CFLAGS-scheck.c): Ditto.

diff --git a/ChangeLog b/ChangeLog
index db27642..58069c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-10-07  Steve Ellcey  <>
+	* timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
+	(CFLAGS-ialloc.c): Ditto.
+	(CFLAGS-scheck.c): Ditto.
 2015-10-07  Carlos O'Donell  <>
 	[BZ #19086]
diff --git a/timezone/Makefile b/timezone/Makefile
index a0b8adb..99566cb 100644
--- a/timezone/Makefile
+++ b/timezone/Makefile
@@ -63,10 +63,13 @@ tz-cflags = -DTZDIR='"$(zonedir)"' \
 	    -DTZDEFRULES='"$(posixrules-file)"' \
 	    -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone
+# The -Wno-unused-variable flag is used to prevent GCC 6
+# from warning about time_t_min and time_t_max which are
+# defined in private.h but not used.
 CFLAGS-zdump.c = -fwrapv -DNOID $(tz-cflags) -DHAVE_GETTEXT
-CFLAGS-zic.c = -DNOID $(tz-cflags) -DHAVE_GETTEXT
+CFLAGS-zic.c = -DNOID $(tz-cflags) -DHAVE_GETTEXT -Wno-unused-variable
+CFLAGS-ialloc.c = -DNOID -DHAVE_GETTEXT -Wno-unused-variable
+CFLAGS-scheck.c = -DNOID -DHAVE_GETTEXT -Wno-unused-variable
 # We have to make sure the data for testing the tz functions is available.
 # Don't add leapseconds here since test-tz made checks that work only without


Summary of changes:
 ChangeLog         |    6 ++++++
 timezone/Makefile |    9 ++++++---
 2 files changed, 12 insertions(+), 3 deletions(-)

GNU C Library master sources

More information about the Glibc-cvs mailing list