[Freeciv-Dev] Re: (PR#8661) compile problem in gui-stuff.c
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8661 >
So, i resend the patch. Maybe it didn't got applied...
En/na Brett Albertson ha escrit:
><URL: http://rt.freeciv.org/Ticket/Display.html?id=8661 >
>
>gtk
>
>Brett Albertson brett.albertson@xxxxxxxxxxxx
>Strategic Technologies voice: 919-379-8449 FAX: 919-379-8100
>Solaris Core, Enterprise, E10K, F15K certified.
>
>
>-----Original Message-----
>From: Jason Short [mailto:jshort@xxxxxxxxxxxxxx]
>Sent: Monday, May 03, 2004 4:37 PM
>To: brett.albertson@xxxxxxxxxxxx
>Subject: Re: [Freeciv-Dev] (PR#8661) compile problem in gui-stuff.c
>
>
><URL: http://rt.freeciv.org/Ticket/Display.html?id=8661 >
>
>
>
>><URL: http://rt.freeciv.org/Ticket/Display.html?id=8661 >
>>
>>On Solaris 9 using gcc, I get a compile error in gui-stuff.c. The
>>compiler doesn't like the line:
>>
>>ret[i] = _(s[i]);
>>
>>If I change it to:
>>
>>ret[i] = (char *)(s[i]);
>>
>>everything compiles and works fine.
>>
>>
>
>Um, what client?
>
>jason
>
>
>
>
>
> ------------------------------------------------------------------------
>
> gtk
>
> Brett Albertson brett.albertson@xxxxxxxxxxxx
> Strategic Technologies voice: 919-379-8449 FAX: 919-379-8100
> Solaris Core, Enterprise, E10K, F15K certified.
>
>
> -----Original Message-----
> From: Jason Short [mailto:jshort@xxxxxxxxxxxxxx]
> Sent: Monday, May 03, 2004 4:37 PM
> To: brett.albertson@xxxxxxxxxxxx
> Subject: Re: [Freeciv-Dev] (PR#8661) compile problem in gui-stuff.c
>
>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8661 >
>
> >
> > <URL: http://rt.freeciv.org/Ticket/Display.html?id=8661 >
> >
> > On Solaris 9 using gcc, I get a compile error in gui-stuff.c. The
> > compiler doesn't like the line:
> >
> > ret[i] = _(s[i]);
> >
> > If I change it to:
> >
> > ret[i] = (char *)(s[i]);
> >
> > everything compiles and works fine.
>
> Um, what client?
>
> jason
>
--
La guerra contra la SGAE ha comenzado, y sabemos quienes serán los vencedores.
Porque somos más, somos mejores y somos quienes les damos de comer.
http://www.putaSGAE.org
--- gui_stuff_orig.c 2004-03-18 12:54:55.000000000 +0100
+++ gui_stuff.c 2004-03-17 18:50:25.000000000 +0100
@@ -168,7 +168,7 @@
int i;
for(i=0; i<n; i++) {
- ret[i] = _(s[i]);
+ ret[i] = (char *)_(s[i]);
}
return ret;
}
|
|