[PATCH] fails to build with gcc 4.4
xjakub at fi.muni.cz
Sat Apr 25 20:55:15 CEST 2009
Marc Lehmann napsal(a):
> On Sat, Apr 25, 2009 at 01:50:29AM +0200, Milos Jakubicek <xjakub at fi.muni.cz> wrote:
>> Hi all,
>> please merge the attached patch which makes rxvt-unicode building with
>> gcc 4.4 in Fedora packages.
> what kind of build failures should that be? strchr and strrchr both return a
> char *, casting to char * does not fix anything.
It does, because starting with gcc 4.4, str(r)chr returns const char*,
if you pass const char* as parameter. See the following page for details:
More information about the rxvt-unicode