RFA: Update swfprintf.c test for 32-bit double targets

Corinna Vinschen vinschen@redhat.com
Wed Mar 11 10:33:00 GMT 2015


Hi Nick,

On Mar 10 17:11, Nick Clifton wrote:
> Hi Jeff, Hi Corinna,
> 
>   The newlib testcase swfprintf.c is failing to compile for the RX
>   target (amoungst others) because of this warning:
> 
>     newlib/testsuite/newlib.stdio/swprintf.c:21:3: warning:
>       floating constant exceeds range of 'double' [-Woverflow]
> 
>   The following patch fixes this problem by just reducing the size of
>   the constant.  As far as I can see this does not invalidate the test
>   since all it cares about is whether the double value printed as
>   narrow characters matches the same value printed as wide characters.
>   The actual value used does not matter.
> 
>   OK to apply ?

Yes, thank you.  Reminder:  CVS->GIT ;)


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20150311/8536caff/attachment.sig>


More information about the Newlib mailing list