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


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: gcc for glibc 2.3


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

Roland McGrath wrote:
I moved __uselocale to GLIBC_2.3; all the __ names for the new locale fns have
always been prototyped.  Are you saying we should remove those prototypes
from the installed headers?
libstdc++ can and should indeed have own prototypes. Thinking about it, the __ variants of the new functions should be exported as GLIBC_PRIVATE. For packaging libstdc++ this would mean a bit more effort (to avoid the errors caused by areference of a @GLIBC_PRIVATE symbol). But this is nothing new, it has to be done for glibc as well.


I suppose if libstdc++ uses decls like
extern __typeof (uselocale) __uselocale; is won't be error prone not
to have them.
Right.


Still, I am dubious about removing the prototypes.
The problem with exposing internal functions is always the same: somebody finds a reason to use them.

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

iD8DBQE9a/4D2ijCOnn/RHQRAsG4AKCXrQmA6pr2unGIdZXMVKCNSx5NhACfYZTF
UuPT0SB2LWB6PCO0q475noA=
=jEOW
-----END PGP SIGNATURE-----


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