Re: [Freeciv-Dev] FreeCiv coredump
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Mitch Davis <mjd@xxxxxxxxxxxxxxxx> writes:
> > 406 XtVaGetValues(map_canvas, XtNheight, &h, XtNwidth, &w);
>
> Dear John,
>
> This is a known problem with Freeciv 1.7.1 on non-Intel platforms.
> You can do a hack-fix by adding ", NULL" to line 406, or you can
> try a more recent version of Freeciv from the cvs snapshot directory:
That would be a bug-fix, not a hack-fix. ;-) All XtVaXxx functions
must be NULL-terminated, IIRC (I don't have the Xt book with me now).
The line above just happens to work on Linux/Intel.
I hope all the instances of XtVaXxx are properly NULL-terminated in
the latest CVS.
Massimo Campostrini
|
|