From c5df5186db061b9dba7f45d901f5d03ebfbf143c Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 7 Aug 2001 17:33:37 +0000 Subject: update. * stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs. --- ChangeLog | 2 ++ stdlib/tst-strtod.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index d63b8ec332..18eead38a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2001-08-07 Andreas Jaeger + * stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs. + * iconv/gconv_charset.h (upstr): Add unused attribute to avoid warning. diff --git a/stdlib/tst-strtod.c b/stdlib/tst-strtod.c index adf6255f66..afd522b9cc 100644 --- a/stdlib/tst-strtod.c +++ b/stdlib/tst-strtod.c @@ -65,9 +65,12 @@ static const struct ltest tests[] = { "0x0.8p-1022", 1.11253692925360069154511635866620203210960799023116591527666e-308, '\0', 0 }, +#if __GNUC_PREREQ(2,96) + /* For older GCC release HUGE_VAL is not a constant. */ { "Inf", HUGE_VAL, '\0', 0 }, { "-Inf", -HUGE_VAL, '\0', 0 }, { "+InFiNiTy", HUGE_VAL, '\0', 0 }, +#endif { NULL, 0, '\0', 0 } }; -- cgit v1.2.3