This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Warnings compiling debug/warning-nop


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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]