-Werror now enabled by default
Joseph Myers
joseph@codesourcery.com
Wed Dec 10 16:16:00 GMT 2014
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
More information about the Libc-alpha
mailing list