Warnings compiling debug/warning-nop
Andreas Jaeger
aj@suse.de
Sun Mar 27 20:07:00 GMT 2005
Roland McGrath <roland@frob.com> writes:
>> With GCC 4.0 I get these warnings compiling warning-nop.c:
>
> That's the way the cookie crumbles.
>
>> These functions do not exist with GCC 4.0. I propose the appended
>> patch which I've tested on i686-linux-gnu. Ok to commit?
>
> No. That defeats the purpose of the file, which is to define symbols in
> the ABI. With your change, it will define nothing.
I see.
I do not like to see such warnings on 64-bit systems and want to fix
the problem one way or the other:
../string/bits/string3.h:51: warning: return makes pointer from integer without a cast
What about adding proper prototypes for these functions for older GCC
versions?
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20050327/4681fb1b/attachment.sig>
More information about the Libc-hacker
mailing list