Xref: utzoo comp.sys.dec:5217 comp.unix.ultrix:6492 Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!crdgw1!uunet!knuth!csmoe From: csmoe@knuth.MTSU.EDU (Monisha Guglani) Newsgroups: comp.sys.dec,comp.unix.ultrix Subject: C++ and X Keywords: DecX-windows and C++ compatibility. Ultrix4.1 and decstation3100/vaxstation3100 Message-ID: Date: 9 Mar 91 05:53:09 GMT Followup-To: comp.sys.dec Organization: Dept of CS, Mid-Tenn State Univ, Murfreesboro, TN Lines: 33 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" */ /**************************************************************/