This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: -Werror now enabled by default
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 10 Dec 2014 16:16:26 +0000
- Subject: Re: -Werror now enabled by default
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1412100115170 dot 18857 at digraph dot polyomino dot org dot uk> <mvm4mt3x5vu dot fsf at hawking dot suse dot de> <alpine dot DEB dot 2 dot 10 dot 1412101250150 dot 19440 at digraph dot polyomino dot org dot uk> <mvmr3w7sd38 dot fsf at hawking dot suse dot de>
On Wed, 10 Dec 2014, Andreas Schwab wrote:
> Joseph Myers <joseph@codesourcery.com> writes:
>
> > In any case, I did test for and fix various warnings on 32-bit x86, ARM,
> > MIPS and Power during the process of getting the build clean for x86_64 -
>
> ./sysdeps/ieee754/ldbl-128/e_lgammal_r.c:75:1: error: floating constant exceeds range of 'long double' [-Werror=overflow]
> static const long double MAXLGM = 1.0485738685148938358098967157129705071571E4928L;
> ^
> ./sysdeps/ieee754/ldbl-128/e_lgammal_r.c:78:1: error: floating constant exceeds range of 'long double' [-Werror=overflow]
> static const long double huge = 1.0e4000L;
> ^
That's a case where I suggested in
<https://sourceware.org/ml/libc-alpha/2014-11/msg00693.html> that a
warning suppression with a comment referring to bug 16347 would be a
reasonable interim fix.
--
Joseph S. Myers
joseph@codesourcery.com