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: fileops.c:1618: warning: weak declaration of `_IO_do_write' afterfirst use results in unspecified behavior


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

Andreas Jaeger wrote:

Now the only spurious warnings in my build are "declared static but never
defined" for the things defined in asm and referenced via C decls.  I don't
know of any way to get rid of those.

We had them for ages and I don't know whether it's possible to fix
those properly at all :-(
It might be possible meanwhile to use attribute_hidden. I.e., if attribute_hidden is available replace the static declaration with one declaring the functions as hidden.

- -- - ---------------. ,-. 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

iD8DBQE9Znhk2ijCOnn/RHQRAmx/AJkBDf6GQXQeQgsq+W6ImzJie8njLgCgsY3h
+fwLBXATjRJcePAaTyhV/ic=
=uueI
-----END PGP SIGNATURE-----


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