charmap-dir warning

Ulrich Drepper drepper@redhat.com
Thu Oct 17 10:37:00 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jack Howarth wrote:

>    Here is another warning that seems new in current glibc cvs...
>
> make[2]: Entering directory `/home/howarth/libc/locale'
> programs/ld-monetary.c: In function `monetary_finish':
> 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



No problem, just cannot be avoided.

>
> programs/charmap-dir.c: In function `charmap_aliases':
> programs/charmap-dir.c:268: warning: float format, pointer arg (arg 3)
> programs/charmap-dir.c:269: warning: float format, pointer arg (arg 3)
> make[2]: Leaving directory `/home/howarth/libc/locale'
>
> Is the charmap-dir.c warning problematic?
>

gcc doesn't handle the 'a' flag, not format, according to what printf does.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9rvVl2ijCOnn/RHQRAg8qAKCK0IpLs0BjViFkGipCaKTX9P6YXwCcD+Za
lxU41HdweM6GbAckdYwHQOM=
=GbS1
-----END PGP SIGNATURE-----



More information about the Libc-alpha mailing list