<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39849 >

> [EMAIL PROTECTED] - Tue Nov 27 17:48:50 2007]:
> 
> On 27/11/2007, Marko Lindqvist wrote:
> >  Now I got this same error in Ubuntu system.
> >
> >  It seems that user has to define "_GNU_SOURCE" for "__USE_GNU" to
> be defined.
> >
> >  No idea how it always gets set at configure time.
> 
>  Patch to define it both configure and compile time.

This *can't* be the right fix.

First of all, why is configure finding the function when it can't be
found by gcc later?

Secondly, _GNU_SOURCE? Is this a real define or just something internal
to glibc?  Why would strcasestr not be presented to the user by default
as the manual indicated?

Honestly this looks like a glibc bug.

-jason


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to