Menu

#6 Bug in xopws.c

open
nobody
None
5
2003-01-17
2003-01-17
Anonymous
No

I have just downloaded xgks-2.6.tar.Z

I first try to install it on a redhat linux PC, but
a linux.m4 file is missing in the distribution.

So I try to install it on an IBM RS6000 (AIX 4.2).
I encountered problems with doing the libxgks.a file
because the makefile created by configure does not
seems to run correctly.
Finaly I succeed to create the library by running
each makefile by hand in the directories under /lib/c.

But now all the demo programs are crashing !

I have recreated libxgks.a in debug mode , and I
think that now I have found a bug in the file
xopws.c :
at line 305 there is a call to XCreateWindow
with, at line 311, &wk->vinfo as the 8th argument.
The X-window documentation indicate a Visual*
argument, while according to wslist.h, vinfo is
of XVisualInfo type !!!

wk->vinfo.visual would be better , no ???
------------------------------------------------------
Alain.Soyer@lmcp.jussieu.fr
Laboratoire de Mineralogie Cristallographie - Case 115
Universite P. et M.Curie et Paris 7 - CNRS UMR 7590
4, place Jussieu - 75252 Paris CEDEX 05 - FRANCE

Discussion


Log in to post a comment.

MongoDB Logo MongoDB