Warnings in ld-monetary.c
Andreas Jaeger
aj@suse.de
Fri Aug 10 00:53:00 GMT 2001
Ulrich Drepper <drepper@redhat.com> writes:
> Andreas Jaeger <aj@suse.de> writes:
>
>> programs/ld-monetary.c:282: warning: comparison is always false due to limited range of data type
>> programs/ld-monetary.c:283: warning: comparison is always false due to limited range of data type
>>
>> Is the code really correct?
>
> Yep. War immer auskommentiert wegen der Warnungen aber nun machen die
> Makros mehr und wir brauchen sie.
English translation:
Yes, the code is correct. It has been
commented out because of the warnings but now the macros do more and
we need them.
So we really need to check a char (int_frac_digits) and compare it
again -127 and 127?
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-hacker
mailing list