This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
"Pointer targets in return differ in signedness" (fwd)
- To: gcc at gcc dot gnu dot org
- Subject: "Pointer targets in return differ in signedness" (fwd)
- From: Mo McKinlay <mmckinlay at labs dot interopen dot org>
- Date: Wed, 12 Apr 2000 21:00:14 +0100 (GMT)
Hi folks,
I'm compiling a small program, using gcc-2.91.66, and I've run into a
small problem. It seems to be a glibc issue, but I'm unfortunately not in
a position to upgrade on this host.
I'm compiling with:
gcc -W -Wall -O2 -pedantic -D_GNU_SOURE -c -o $*.o $*.c
As my generic .c -> .o rule.
The message I'm recieving is:
/usr/include/bits/string2.h: In function `__stpcpy_small':
In file included from /usr/include/string.h:346,
from webwhois.c:7:
/usr/include/bits/string2.h:611: warning: pointer targets in return differ
in signedness
My question is this: is there a way to disable this particular warning?
I'd prefer not to remove -W -Wall or -pedantic from the command-line, but
if that's my only option, I'll have to stick with it ;)
However, if there's a way to turn off this particular warning (I can't
find it in the texinfo docs), I'd like to know about it.
TIA,
Mo.
--
Mo McKinlay Chief Software Architect inter/open Labs
mmckinlay (at) labs.interopen.org http://www.interopen.org
mmckinlay (at) gnu.org http://www.gnu.org