[PATCH] fails to build with gcc 4.4

Milos Jakubicek xjakub at fi.muni.cz
Sat May 30 15:04:55 CEST 2009


On 30.5.2009 10:52, Marc Lehmann wrote:
> On Tue, Apr 28, 2009 at 06:15:51PM +0200, Milos Jakubicek<xjakub at fi.muni.cz>  wrote:
>>> Looks like you need glibc 2.10 (which is apparently not yet released).
>>> See http://udrepper.livejournal.com/20948.html (the strchr change is
>>> described as new in glibc 2.10).
>>
>> Yes, sorry, that will be the reason, Fedora currently ships
>> glibc-2.9.90-22 (which is a 2.10 preversion).
>
> could you try and see if current CVS still needs any patches?
>

Yes -- of course it needs. This is no gcc/glibc bug, this is a (long) 
planned change in the behaviour of all glibc functions that take "const 
char*" and previously returned "char *". Now they return "const char*" 
and casting from "const char*" to "char*" must be done explicitly, if 
needed.

--
Milos




More information about the rxvt-unicode mailing list