I am running AVS v5.01 under OSF/1 v1.3, and I have run into an
annoying problem with X11. This may be just an X probkem but its on an
Alpha so here goes ...
if my code looks like this ...
#include <X11/Xlib.h>
#include <X11/Xlibint.h>
.
.
.
main()
{
.
.
}
and I compile with
cc -Dstd -Dunix -DNeedFunctionPrototypes -DXLIB_ILLEGAL_ACCESS -DUSE_FILE_UTILS
(using defines which are included in the AVS Makeinclude file) then
the compilation will fail with repeated declaration errors in
Xlibint.h (such as "typedef struct _XFC *GC;")
Does anyone know/understand the purpose of the -DXLIB_ILLEGAL_ACCESS,
and/or how to work around it? If I turn it off, my AVS/X11 module consistently
dies during a call to XGetWindowProperties(). But with it in, I keep
getting errors during calls to XQueryTree(). My real purpose in
calling Xlibint.h is to include the source to XQueryTree() so I can
see where it failing.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Roddy McColl PhD
Assistant Professor of Radiology
Radiology Imaging Center
UT Southwestern Medical Center at Dallas
5323 Harry Hines Blvd
Dallas TX 75235-9058
(214) 648-2910
(214) 648-4538 FAX roddy_at_mri.swmed.edu
http://www-mri.swmed.edu/homes/roddy.html
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Received on Mon May 22 1995 - 18:25:21 NZST