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.26.9000-821-g46453c3
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 24 Nov 2017 21:43:27 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26.9000-821-g46453c3
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 46453c3cdad9575f264a49f003a2a9f2847708c8 (commit)
from 01e659e71123290472b691ff94e7ba10e1f25031 (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=46453c3cdad9575f264a49f003a2a9f2847708c8
commit 46453c3cdad9575f264a49f003a2a9f2847708c8
Author: Joseph Myers <joseph@codesourcery.com>
Date: Fri Nov 24 21:42:55 2017 +0000
Define __STDC_WANT_IEC_60559_TYPES_EXT__ in tst-strtod-round-skeleton.c.
The tst-strtod-round-skeleton.c conditionals relating to handling of
_Float64x require associated <float.h> macros, which requires
__STDC_WANT_IEC_60559_TYPES_EXT__ to be defined before <float.h> is
included if _Float64x is supported. This patch adds the necessary
definition.
Tested for x86_64, including in conjunction with _Float64x support
patches.
* stdlib/tst-strtod-round-skeleton.c
(__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
headers.
diff --git a/ChangeLog b/ChangeLog
index 2a65383..be9ed44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2017-11-24 Joseph Myers <joseph@codesourcery.com>
+ * stdlib/tst-strtod-round-skeleton.c
+ (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
+ headers.
+
* math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
for combinations of long double with _Float64 and _Float64x.
diff --git a/stdlib/tst-strtod-round-skeleton.c b/stdlib/tst-strtod-round-skeleton.c
index 763c9ce..05d8a4c 100644
--- a/stdlib/tst-strtod-round-skeleton.c
+++ b/stdlib/tst-strtod-round-skeleton.c
@@ -20,6 +20,7 @@
/* Defining _LIBC_TEST ensures long double math functions are
declared in the headers. */
#define _LIBC_TEST 1
+#define __STDC_WANT_IEC_60559_TYPES_EXT__
#include <fenv.h>
#include <float.h>
#include <math.h>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
stdlib/tst-strtod-round-skeleton.c | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources