ppc warnings

Ulrich Drepper drepper@redhat.com
Mon Sep 2 21:19:00 GMT 2002


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

Jack Howarth wrote:

> fileops.c:1547: warning: weak declaration of `_IO_do_write' after first
> use results in unspecified behavior

Unimportant.


> mbsrtowcs_l.c: In function `wcsmbs_get_towc_func':
> mbsrtowcs_l.c:39: warning: implicit declaration of function `alloca'

You're using outdated sources.


> .../sysdeps/unix/sysv/linux/getdents.c: In function `__getdents':
> ../sysdeps/unix/sysv/linux/getdents.c:171: warning: comparison of
> distinct pointer types lacks a cast
> ../sysdeps/unix/sysv/linux/getdents.c:231: warning: comparison of
> distinct pointer types lacks a cast

I cannot see where this applies in my sources.


> ../sysdeps/ieee754/dbl-64/s_sin.c:1126: warning: conflicting types for
> built-in function `sinl'
> ../sysdeps/ieee754/dbl-64/s_sin.c:1128: warning: conflicting types for
> built-in function `cosl'

If someone finally would add real long double support these would go away.


> 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

Unfortunately cannot be avoided.


> ../sysdeps/powerpc/fpu/w_sqrt.c:145: warning: conflicting types for
> built-in function `sqrtl'
> 
> ---------------------------------------------------------------------------
> ...and in compiling test-idouble and others we get...
> 
> ../math/bits/cmathcalls.h:117: warning: conflicting types for built-in
> function `conjl'
> ../math/bits/cmathcalls.h:126: warning: conflicting types for built-in
> function `cimagl'
> ../math/bits/cmathcalls.h:129: warning: conflicting types for built-in
> function `creall'

More long double mess.

- -- 
- ---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9dDeN2ijCOnn/RHQRAm+ZAJwIBYQiuWSHrEX8RJ1jxSPaxSYcbACgsLMx
im/0rX4CT4IMPEoUwiQrWRg=
=nclF
-----END PGP SIGNATURE-----



More information about the Libc-alpha mailing list