[Bug libc/252] hsearch_data is not usable with sizeof() as

benedict at starbak dot net sourceware-bugzilla@sources.redhat.com
Thu Mar 10 17:11:00 GMT 2005


------- Additional Comments From benedict at starbak dot net  2005-03-10 17:11 -------
I have a guess as to Damien's problem... if you do something like

#include <features.h>
#define _GNU_SOURCE
#include <search.h>

you will get the behavior he is seeing.  This is also true if some file is
included that includes features.h being preprocessed before _GNU_SOURCE is
defined.  Always make sure to define variables like this before including any files.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=252

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Glibc-bugs mailing list