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] |
Hi! The usual weak_alias doesn't like if prototypes are different... 2002-08-08 Jakub Jelinek <jakub@redhat.com> * sysdeps/wordsize-64/wcstol_l.c (wcstoll_l): Define to something else and undefine after including wcstol_l.c. * sysdeps/wordsize-64/wcstoul_l.c (wcstoull_l): Similarly. --- libc/sysdeps/wordsize-64/wcstol_l.c.jj 2002-08-08 10:39:28.000000000 +0200 +++ libc/sysdeps/wordsize-64/wcstol_l.c 2002-08-08 13:56:54.000000000 +0200 @@ -1,11 +1,13 @@ /* We have to irritate the compiler a bit. */ #define ____wcstoll_l_internal ____wcstoll_l_internal_XXX -#define __wcstoll_l __wcstoll_l_XXX +#define __wcstoll_l ___wcstoll_l_XXX +#define wcstoll_l __wcstoll_l_XX #include <sysdeps/generic/wcstol_l.c> #undef ____wcstoll_l_internal #undef __wcstoll_l +#undef wcstoll_l strong_alias (____wcstol_l_internal, ____wcstoll_l_internal) weak_alias (__wcstol_l, __wcstoll_l) weak_alias (__wcstol_l, wcstoll_l) --- libc/sysdeps/wordsize-64/wcstoul_l.c.jj 2002-08-08 10:39:28.000000000 +0200 +++ libc/sysdeps/wordsize-64/wcstoul_l.c 2002-08-08 13:56:54.000000000 +0200 @@ -1,11 +1,13 @@ /* We have to irritate the compiler a bit. */ #define ____wcstoull_l_internal ____wcstoull_l_internal_XXX -#define __wcstoull_l __wcstoull_l_XXX +#define __wcstoull_l ___wcstoull_l_XXX +#define wcstoull_l __wcstoull_l_XXX #include <sysdeps/generic/wcstoul_l.c> #undef ____wcstoull_l_internal #undef __wcstoull_l +#undef wcstoull_l strong_alias (____wcstoul_l_internal, ____wcstoull_l_internal) weak_alias (__wcstoul_l, __wcstoull_l) weak_alias (__wcstoul_l, wcstoull_l) Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |