This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: ppc warnings
- From: Roland McGrath <roland at frob dot com>
- To: Jack Howarth <howarth at fuse dot net>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 3 Sep 2002 00:10:33 -0400 (EDT)
- Subject: Re: ppc warnings
> mbsrtowcs_l.c: In function `wcsmbs_get_towc_func':
> mbsrtowcs_l.c:39: warning: implicit declaration of function `alloca'
This indicates you do not have the current version of that source file.
Make sure your checkout is up to date.
> fileops.c:1547: warning: weak declaration of `_IO_do_write' after first
> use results in unspecified behavior
I have been seeing this on x86 too and I am not really sure why.
It seems to be harmless.
> ../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'
I see a lot of these on powerpc, yes. I don't know much about it
but you can probably ignore it. It may be the compiler that needs
updating or it may be libc, and I am not the person to tell you which.
> 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
These are always there on every platform.
They are harmless.
> .../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
That does not happen for me. I am using the gcc-3.2 in debian sid.
You must be using some different options or something. Send config.status.