This is the mail archive of the libc-hacker@sourceware.cygnus.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] |
Ulrich Drepper <drepper@redhat.com> writes: > Greg McGary <greg@kayak.mcgary.org> writes: > > > I don't recall exactly. Without this patch, I get warnings about > > undeclared __strdup when building the BP lib. The BP build disables > > the macro-mania in string2.h and that's why it gets warnings while > > other builds don't. > > I don't doubt this. I still want to know where exactly the use of > __strdup is. I get these warnings without the decl of __strdup in include/string.h: gconv_db.c:204: warning: implicit declaration of function `__strdup' bindtextdom.c:156: warning: implicit declaration of function `__strdup' textdomain.c:114: warning: implicit declaration of function `__strdup' fmtmsg.c:344: warning: implicit declaration of function `__strdup' tempnam.c:40: warning: implicit declaration of function `__strdup' tzset.c:169: warning: implicit declaration of function `__strdup' ../sysdeps/generic/glob.c:832: warning: implicit declaration of function `__strdup' ../sysdeps/generic/glob.c:832: warning: implicit declaration of function `__strdup' wordexp.c:167: warning: implicit declaration of function `__strdup' getdirname.c:41: warning: implicit declaration of function `__strdup' getnetgrent_r.c:116: warning: implicit declaration of function `__strdup' getnameinfo.c:101: warning: implicit declaration of function `__strdup' ../sysdeps/unix/sysv/linux/if_index.c:143: warning: implicit declaration of function `__strdup' utmpname.c:60: warning: implicit declaration of function `__strdup'
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |