This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/252] hsearch_data is not usable with sizeof() as
- From: "damien_mattei at yahoo dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 18 Mar 2005 18:44:18 -0000
- Subject: [Bug libc/252] hsearch_data is not usable with sizeof() as
- References: <20040702165219.252.damien_mattei@yahoo.com>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From damien_mattei at yahoo dot com 2005-03-18 18:44 -------
Subject: Re: hsearch_data is not usable with sizeof() as
i had this answer to my problem since many months
but thank you
--- benedict at starbak dot net
<sourceware-bugzilla@sources.redhat.com> wrote:
>
> ------- 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 reported the bug, or are watching the reporter.
>
__________________________________
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs
--
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.