Complete.Org: Mailing Lists: Archives: freeciv-dev: November 1998:
Re: [Freeciv-Dev] FreeCiv coredump
Home

Re: [Freeciv-Dev] FreeCiv coredump

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] FreeCiv coredump
From: Massimo Campostrini <campo@xxxxxxxxxxxxxxxxxxxxx>
Date: 04 Nov 1998 08:36:17 +0100

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


[Prev in Thread] Current Thread [Next in Thread]