This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch release/2.26/master updated. glibc-2.26-46-gdd3a723

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, release/2.26/master has been updated
       via  dd3a7239fddff81ac31373d69978d7aa1902c65f (commit)
      from  3b10c5d2abb0392d5ecfd865e2eb911ac109e36f (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=dd3a7239fddff81ac31373d69978d7aa1902c65f

commit dd3a7239fddff81ac31373d69978d7aa1902c65f
Author: H.J. Lu <>
Date:   Tue Oct 3 17:41:32 2017 -0700 Replace bool with int
    Fix GCC 7 compilation error: In function â??void check_type()â??: error: use of an operand of type â??boolâ?? in â??operator++â?? is deprecated [-Werror=deprecated]
    Since not all non-zero error counts are errors, return errors != 0
    	* math/ (error): Replace bool with int.
    	(do_test): Return errors != 0.
    (cherry picked from commit cdd4155d6c527c00a89606385859984e35bd2910 and
     commit 758f1bfa2a1bccb52f1b3e97444a367d35aceaee)

diff --git a/ChangeLog b/ChangeLog
index fea4fd0..d7a185e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-04  H.J. Lu  <>
+	* math/ (error): Replace bool with int.
+	(do_test): Return errors != 0.
 2017-10-03  Gabriel F. T. Gomes  <>
 	[BZ #22235]
diff --git a/math/ b/math/
index aba68ac..4cfb1c5 100644
--- a/math/
+++ b/math/
@@ -20,7 +20,7 @@
 #include <math.h>
 #include <stdio.h>
-static bool errors;
+static int errors;
 template <class T>
 static void
@@ -42,7 +42,7 @@ do_test (void)
   check_type<_Float128> ();
-  return errors;
+  return errors != 0;
 #include <support/test-driver.c>


Summary of changes:
 ChangeLog                     |    5 +++++
 math/ |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

GNU C Library master sources

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]