[comp.windows.x] problem compiling InterViews under R4

mike@ai.etl.army.mil (Mike McDonnell) (01/11/90)

When I compile InterViews, I get type clashes for all the
src/libInterViews/X11-*.c functions.  A small section of the voluminous
error printout is:

compiling ../X11-bitmap.c
rm -f X11-bitmap.o
CC -c    -I.. -I../Generated -I../../.././src/InterViews/Std -I../../.././src    ../X11-bitmap.c
In file included from ../../.././src/InterViews/X11/painterrep.h:31, from ../X11-bitmap.c:30:
../../.././src/InterViews/X11/Xlib.h:244: conflicting types for `void XCloseDisplay (struct _XDisplay *)'
../../.././src/InterViews/X11/Xlib.h:253: conflicting types for `void XSetScreenSaver (struct _XDisplay *, int, int, int, int)'
../../.././src/InterViews/X11/Xlib.h:254: conflicting types for `void XForceScreenSaver (struct _XDisplay *, int)'
../../.././src/InterViews/X11/Xlib.h:255: conflicting types for `void XActivateScreenSaver (struct _XDisplay *)'


So where is the problem with conflicting types coming from?  Things compiled 
okay under X11 rel. 3.  Did some of the X11 include files change from release
3 or what? 

I'm using g++ 1.36.1 as my "CC".  Thanks for any help.
-- 
Mike McDonnell at the U.S. Army Engineer Topographic Laboratories, Bldg. 2592
Fort Belvoir, VA 22060-5546   TEL:(202)355-2716   NET: mike@etl.army.mil