This is the mail archive of the libc-alpha@sourceware.org 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]

Re: -Werror now enabled by default


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


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