[comp.unix.ultrix] C++ and X

csmoe@knuth.MTSU.EDU (Monisha Guglani) (03/09/91)

	
I'm sorry if this has been asked before but 
I've been trying to use AT&TC++2.1 with dec's x-windows on our
decstations and vaxstations running ultrix4.1 but Xlib.h and
Xutil.h still seem to be giving me the following errors. Are there
patches for this version of dec's Xlib and Xutil that are
fully compatible with C++?
----------------------------------------------------------------

ICCCM stuff at the end of the Xlib.h gives an error in that some
of the functions were already previously declared in the header
file. So they were redeclared here without function prototypes
that gave an error.

XGetSizeHints was declared twice in Xlib.h none with arguments
but was declared in Xutil.h with arguments.

XGetTextProperty was declared only once in Xlib.h but without 
arguments. It is however declared with arguments in Xutil.h

Also XScreenNumberofScreens and XSetErrorHandler were declared
duplicate in Xlib.h


---------------------------------------------------------------

Any information would be appreciated.
-- 
/**************************************************************/
/*       csmoe@knuth.mtsu.edu        Monisha Guglani          */	   
/* "I haven't lost my mind its backed-up on a tape somewhere" */
/**************************************************************/