Subject: RE: C++ and X11 Compile Errors
From: Suhaib Siddiqi <[email-masked]>
To: "[email-masked]'" <[email-masked]>, [email-masked]
Cc: [email-masked]
Date: Fri, 26 Jan 2001 09:01:02 -0500

Get the new cygwin.* from from CVS at xfree86.org.
The latest CVS code in XFree86 CVS has SGI GLU which is written in
C++ and it compiles ok.  I added flages to cygwin.cf for
g++.  If you still get ANSI forbid errors, please check
GCC list or cygwin mail archive, 
hint: adding -fpermssive to g++ flag in cygwin.cf would take care of
it, or fix your code to be more ANSI compliant ;-)

Suhaib

PS: Please answer to cygwin-xfree mailing list.

> -----Original Message-----
> From: Earnie Boyd [mailto:[email-masked]]
> Sent: Friday, January 26, 2001 8:52 AM
> To: [email-masked]
> Cc: [email-masked]; [email-masked]
> Subject: Re: C++ and X11 Compile Errors
> 
> 
> This question should be asked at [email-masked].  For your
> convenience I've CC'ed that list.
> 
> Earnie.
> 
> Paul Martindale wrote:
> > 
> > Hi,
> >         I'm trying to compile the blackbox window manager 
> ontop of cygwin, but my
> > build goes horribly wrong. This seems to be a general 
> problem with C++ and
> > X11. C and X11 compiles fine.
> > 
> > Any help would be much appreciated.
> > 
> > Many regards Paul
> > 
> > administrator@MKPCP195 /usr/blackbox-0.61.1
> > $ make
> > make  all-recursive
> > make[1]: Entering directory `/usr/blackbox-0.61.1'
> > Making all in data
> > make[2]: Entering directory `/usr/blackbox-0.61.1/data'
> > Making all in styles
> > make[3]: Entering directory `/usr/blackbox-0.61.1/data/styles'
> > make[3]: Nothing to be done for `all'.
> > make[3]: Leaving directory `/usr/blackbox-0.61.1/data/styles'
> > make[3]: Entering directory `/usr/blackbox-0.61.1/data'
> > make[3]: Nothing to be done for `all-am'.
> > make[3]: Leaving directory `/usr/blackbox-0.61.1/data'
> > make[2]: Leaving directory `/usr/blackbox-0.61.1/data'
> > Making all in doc
> > make[2]: Entering directory `/usr/blackbox-0.61.1/doc'
> > make[2]: Nothing to be done for `all'.
> > make[2]: Leaving directory `/usr/blackbox-0.61.1/doc'
> > Making all in nls
> > make[2]: Entering directory `/usr/blackbox-0.61.1/nls'
> > Making all in C
> > make[3]: Entering directory `/usr/blackbox-0.61.1/nls/C'
> > make[3]: Leaving directory `/usr/blackbox-0.61.1/nls/C'
> > Making all in da_DK
> > make[3]: Entering directory `/usr/blackbox-0.61.1/nls/da_DK'
> > make[3]: Leaving directory `/usr/blackbox-0.61.1/nls/da_DK'
> > Making all in es_ES
> > make[3]: Entering directory `/usr/blackbox-0.61.1/nls/es_ES'
> > make[3]: Leaving directory `/usr/blackbox-0.61.1/nls/es_ES'
> > Making all in et_EE
> > make[3]: Entering directory `/usr/blackbox-0.61.1/nls/et_EE'
> > make[3]: Leaving directory `/usr/blackbox-0.61.1/nls/et_EE'
> > Making all in fr_FR
> > make[3]: Entering directory `/usr/blackbox-0.61.1/nls/fr_FR'
> > make[3]: Leaving directory `/usr/blackbox-0.61.1/nls/fr_FR'
> > Making all in pt_BR
> > make[3]: Entering directory `/usr/blackbox-0.61.1/nls/pt_BR'
> > make[3]: Leaving directory `/usr/blackbox-0.61.1/nls/pt_BR'
> > Making all in ru_RU
> > make[3]: Entering directory `/usr/blackbox-0.61.1/nls/ru_RU'
> > make[3]: Leaving directory `/usr/blackbox-0.61.1/nls/ru_RU'
> > Making all in sv_SE
> > make[3]: Entering directory `/usr/blackbox-0.61.1/nls/sv_SE'
> > make[3]: Leaving directory `/usr/blackbox-0.61.1/nls/sv_SE'
> > Making all in tr_TR
> > make[3]: Entering directory `/usr/blackbox-0.61.1/nls/tr_TR'
> > make[3]: Leaving directory `/usr/blackbox-0.61.1/nls/tr_TR'
> > make[3]: Entering directory `/usr/blackbox-0.61.1/nls'
> > make[3]: Nothing to be done for `all-am'.
> > make[3]: Leaving directory `/usr/blackbox-0.61.1/nls'
> > make[2]: Leaving directory `/usr/blackbox-0.61.1/nls'
> > Making all in src
> > make[2]: Entering directory `/usr/blackbox-0.61.1/src'
> > c++ -DHAVE_CONFIG_H -I. -I. -I..   -DSHAPE -DSLIT 
> -DINTERLACE     -DTIMEDCAC
> > HE -DLOCALEPATH=\"/usr/local/share/Blackbox/nls\" 
> -DDEFAULTMENU=\"/usr/local
> > /share/Blackbox/menu\" 
> -DDEFAULTSTYLE=\"/usr/local/share/Blackbox/styles/Res
> > ults\"  -g -O2  -I/usr/X11R6.4/include -c BaseDisplay.cc
> > In file included from BaseDisplay.cc:32:
> > /usr/X11R6.4/include/X11/Xlib.h:2058: ANSI C++ forbids declaration
> > `XSetTransientForHint' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2066: ANSI C++ forbids declaration
> > `XActivateScreenSaver' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2073: ANSI C++ forbids declaration
> > `XAddHost' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2081: ANSI C++ forbids declaration
> > `XAddHosts' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2088: ANSI C++ forbids declaration
> > `XAddToExtensionList' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2095: ANSI C++ forbids declaration
> > `XAddToSaveSet' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2149: ANSI C++ forbids declaration
> > `XAllowEvents' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2155: ANSI C++ forbids declaration
> > `XAutoRepeatOff' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2161: ANSI C++ forbids declaration
> > `XAutoRepeatOn' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2168: ANSI C++ forbids 
> declaration `XBell'
> > with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2201: ANSI C++ forbids declaration
> > `XChangeActivePointerGrab' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2210: ANSI C++ forbids declaration
> > `XChangeGC' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2218: ANSI C++ forbids declaration
> > `XChangeKeyboardControl' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2228: ANSI C++ forbids declaration
> > `XChangeKeyboardMapping' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2239: ANSI C++ forbids declaration
> > `XChangePointerControl' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2252: ANSI C++ forbids declaration
> > `XChangeProperty' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2260: ANSI C++ forbids declaration
> > `XChangeSaveSet' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2269: ANSI C++ forbids declaration
> > `XChangeWindowAttributes' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2326: ANSI C++ forbids declaration
> > `XCirculateSubwindows' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2333: ANSI C++ forbids declaration
> > `XCirculateSubwindowsDown' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2340: ANSI C++ forbids declaration
> > `XCirculateSubwindowsUp' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2352: ANSI C++ forbids declaration
> > `XClearArea' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2359: ANSI C++ forbids declaration
> > `XClearWindow' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2365: ANSI C++ forbids declaration
> > `XCloseDisplay' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2374: ANSI C++ forbids declaration
> > `XConfigureWindow' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2391: ANSI C++ forbids declaration
> > `XConvertSelection' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2406: ANSI C++ forbids declaration
> > `XCopyArea' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2415: ANSI C++ forbids 
> declaration `XCopyGC'
> > with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2431: ANSI C++ forbids declaration
> > `XCopyPlane' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2458: ANSI C++ forbids declaration
> > `XDefineCursor' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2466: ANSI C++ forbids declaration
> > `XDeleteProperty' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2473: ANSI C++ forbids declaration
> > `XDestroyWindow' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2480: ANSI C++ forbids declaration
> > `XDestroySubwindows' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2498: ANSI C++ forbids declaration
> > `XDisableAccessControl' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2528: ANSI C++ forbids declaration
> > `XDisplayKeycodes' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2563: ANSI C++ forbids declaration
> > `XDrawArc' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2573: ANSI C++ forbids declaration
> > `XDrawArcs' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2585: ANSI C++ forbids declaration
> > `XDrawImageString' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2597: ANSI C++ forbids declaration
> > `XDrawImageString16' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2609: ANSI C++ forbids declaration
> > `XDrawLine' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2620: ANSI C++ forbids declaration
> > `XDrawLines' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2630: ANSI C++ forbids declaration
> > `XDrawPoint' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2641: ANSI C++ forbids declaration
> > `XDrawPoints' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2653: ANSI C++ forbids declaration
> > `XDrawRectangle' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2663: ANSI C++ forbids declaration
> > `XDrawRectangles' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2673: ANSI C++ forbids declaration
> > `XDrawSegments' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2685: ANSI C++ forbids declaration
> > `XDrawString' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2697: ANSI C++ forbids declaration
> > `XDrawString16' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2709: ANSI C++ forbids declaration
> > `XDrawText' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2721: ANSI C++ forbids declaration
> > `XDrawText16' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2727: ANSI C++ forbids declaration
> > `XEnableAccessControl' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2756: ANSI C++ forbids declaration
> > `XFillArc' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2766: ANSI C++ forbids declaration
> > `XFillArcs' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2778: ANSI C++ forbids declaration
> > `XFillPolygon' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2790: ANSI C++ forbids declaration
> > `XFillRectangle' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2800: ANSI C++ forbids declaration
> > `XFillRectangles' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2806: ANSI C++ forbids 
> declaration `XFlush'
> > with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2813: ANSI C++ forbids declaration
> > `XForceScreenSaver' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2819: ANSI C++ forbids 
> declaration `XFree'
> > with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2826: ANSI C++ forbids declaration
> > `XFreeColormap' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2836: ANSI C++ forbids declaration
> > `XFreeColors' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2843: ANSI C++ forbids declaration
> > `XFreeCursor' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2849: ANSI C++ forbids declaration
> > `XFreeExtensionList' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2856: ANSI C++ forbids declaration
> > `XFreeFont' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2864: ANSI C++ forbids declaration
> > `XFreeFontInfo' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2870: ANSI C++ forbids declaration
> > `XFreeFontNames' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2876: ANSI C++ forbids declaration
> > `XFreeFontPath' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2883: ANSI C++ forbids 
> declaration `XFreeGC'
> > with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2889: ANSI C++ forbids declaration
> > `XFreeModifiermap' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2896: ANSI C++ forbids declaration
> > `XFreePixmap' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2925: ANSI C++ forbids declaration
> > `XGetErrorDatabaseText' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2934: ANSI C++ forbids declaration
> > `XGetErrorText' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2981: ANSI C++ forbids declaration
> > `XGetInputFocus' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2988: ANSI C++ forbids declaration
> > `XGetKeyboardControl' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:2997: ANSI C++ forbids declaration
> > `XGetPointerControl' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3015: ANSI C++ forbids declaration
> > `XGetScreenSaver' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3063: ANSI C++ forbids declaration
> > `XGrabButton' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3075: ANSI C++ forbids declaration
> > `XGrabKey' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3106: ANSI C++ forbids declaration
> > `XGrabServer' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3133: ANSI C++ forbids declaration
> > `XIfEvent' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3146: ANSI C++ forbids declaration
> > `XInstallColormap' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3160: ANSI C++ forbids declaration
> > `XKillClient' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3177: ANSI C++ forbids declaration
> > `XLowerWindow' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3184: ANSI C++ forbids declaration
> > `XMapRaised' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3191: ANSI C++ forbids declaration
> > `XMapSubwindows' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3198: ANSI C++ forbids declaration
> > `XMapWindow' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3206: ANSI C++ forbids declaration
> > `XMaskEvent' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3229: ANSI C++ forbids declaration
> > `XMoveResizeWindow' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3238: ANSI C++ forbids declaration
> > `XMoveWindow' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3245: ANSI C++ forbids declaration
> > `XNextEvent' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3251: ANSI C++ forbids 
> declaration `XNoOp'
> > with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3277: ANSI C++ forbids declaration
> > `XPeekEvent' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3292: ANSI C++ forbids declaration
> > `XPeekIfEvent' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3325: ANSI C++ forbids declaration
> > `XPutBackEvent' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3340: ANSI C++ forbids declaration
> > `XPutImage' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3399: ANSI C++ forbids declaration
> > `XQueryColor' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3408: ANSI C++ forbids declaration
> > `XQueryColors' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3425: ANSI C++ forbids declaration
> > `XQueryKeymap' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3452: ANSI C++ forbids declaration
> > `XQueryTextExtents' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3465: ANSI C++ forbids declaration
> > `XQueryTextExtents16' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3483: ANSI C++ forbids declaration
> > `XRaiseWindow' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3518: ANSI C++ forbids declaration
> > `XRebindKeysym' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3527: ANSI C++ forbids declaration
> > `XRecolorCursor' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3533: ANSI C++ forbids declaration
> > `XRefreshKeyboardMapping' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3540: ANSI C++ forbids declaration
> > `XRemoveFromSaveSet' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3547: ANSI C++ forbids declaration
> > `XRemoveHost' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3555: ANSI C++ forbids declaration
> > `XRemoveHosts' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3565: ANSI C++ forbids declaration
> > `XReparentWindow' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3571: ANSI C++ forbids declaration
> > `XResetScreenSaver' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3580: ANSI C++ forbids declaration
> > `XResizeWindow' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3588: ANSI C++ forbids declaration
> > `XRestackWindows' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3595: ANSI C++ forbids declaration
> > `XRotateBuffers' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3605: ANSI C++ forbids declaration
> > `XRotateWindowProperties' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3619: ANSI C++ forbids declaration
> > `XSelectInput' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3636: ANSI C++ forbids declaration
> > `XSetAccessControl' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3644: ANSI C++ forbids declaration
> > `XSetArcMode' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3652: ANSI C++ forbids declaration
> > `XSetBackground' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3660: ANSI C++ forbids declaration
> > `XSetClipMask' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3669: ANSI C++ forbids declaration
> > `XSetClipOrigin' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3681: ANSI C++ forbids declaration
> > `XSetClipRectangles' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3688: ANSI C++ forbids declaration
> > `XSetCloseDownMode' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3697: ANSI C++ forbids declaration
> > `XSetCommand' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3707: ANSI C++ forbids declaration
> > `XSetDashes' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3715: ANSI C++ forbids declaration
> > `XSetFillRule' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3723: ANSI C++ forbids declaration
> > `XSetFillStyle' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3731: ANSI C++ forbids declaration
> > `XSetFont' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3739: ANSI C++ forbids declaration
> > `XSetFontPath' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3747: ANSI C++ forbids declaration
> > `XSetForeground' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3755: ANSI C++ forbids declaration
> > `XSetFunction' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3763: ANSI C++ forbids declaration
> > `XSetGraphicsExposures' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3771: ANSI C++ forbids declaration
> > `XSetIconName' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3780: ANSI C++ forbids declaration
> > `XSetInputFocus' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3791: ANSI C++ forbids declaration
> > `XSetLineAttributes' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3806: ANSI C++ forbids declaration
> > `XSetPlaneMask' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3824: ANSI C++ forbids declaration
> > `XSetScreenSaver' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3833: ANSI C++ forbids declaration
> > `XSetSelectionOwner' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3844: ANSI C++ forbids declaration
> > `XSetState' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3852: ANSI C++ forbids declaration
> > `XSetStipple' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3860: ANSI C++ forbids declaration
> > `XSetSubwindowMode' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3869: ANSI C++ forbids declaration
> > `XSetTSOrigin' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3877: ANSI C++ forbids declaration
> > `XSetTile' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3885: ANSI C++ forbids declaration
> > `XSetWindowBackground' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3893: ANSI C++ forbids declaration
> > `XSetWindowBackgroundPixmap' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3901: ANSI C++ forbids declaration
> > `XSetWindowBorder' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3909: ANSI C++ forbids declaration
> > `XSetWindowBorderPixmap' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3917: ANSI C++ forbids declaration
> > `XSetWindowBorderWidth' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3925: ANSI C++ forbids declaration
> > `XSetWindowColormap' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3934: ANSI C++ forbids declaration
> > `XStoreBuffer' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3942: ANSI C++ forbids declaration
> > `XStoreBytes' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3950: ANSI C++ forbids declaration
> > `XStoreColor' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3959: ANSI C++ forbids declaration
> > `XStoreColors' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3967: ANSI C++ forbids declaration
> > `XStoreName' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3977: ANSI C++ forbids declaration
> > `XStoreNamedColor' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3984: ANSI C++ forbids 
> declaration `XSync'
> > with no type
> > /usr/X11R6.4/include/X11/Xlib.h:3996: ANSI C++ forbids declaration
> > `XTextExtents' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:4008: ANSI C++ forbids declaration
> > `XTextExtents16' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:4044: ANSI C++ forbids declaration
> > `XUndefineCursor' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:4053: ANSI C++ forbids declaration
> > `XUngrabButton' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:4062: ANSI C++ forbids declaration
> > `XUngrabKey' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:4069: ANSI C++ forbids declaration
> > `XUngrabKeyboard' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:4076: ANSI C++ forbids declaration
> > `XUngrabPointer' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:4082: ANSI C++ forbids declaration
> > `XUngrabServer' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:4089: ANSI C++ forbids declaration
> > `XUninstallColormap' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:4096: ANSI C++ forbids declaration
> > `XUnloadFont' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:4103: ANSI C++ forbids declaration
> > `XUnmapSubwindows' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:4110: ANSI C++ forbids declaration
> > `XUnmapWindow' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:4130: ANSI C++ forbids declaration
> > `XWarpPointer' with no type
> > /usr/X11R6.4/include/X11/Xlib.h:4151: ANSI C++ forbids declaration
> > `XWindowEvent' with no type
> > In file included from BaseDisplay.cc:34:
> > /usr/X11R6.4/include/X11/Xutil.h:358: ANSI C++ forbids declaration
> > `XClipBox' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:384: ANSI C++ forbids declaration
> > `XDestroyRegion' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:390: ANSI C++ forbids declaration
> > `XEmptyRegion' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:397: ANSI C++ forbids declaration
> > `XEqualRegion' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:543: ANSI C++ forbids declaration
> > `XIntersectRegion' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:579: ANSI C++ forbids declaration
> > `XOffsetRegion' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:622: ANSI C++ forbids declaration
> > `XSetClassHint' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:631: ANSI C++ forbids declaration
> > `XSetIconSizes' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:639: ANSI C++ forbids declaration
> > `XSetNormalHints' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:658: ANSI C++ forbids declaration
> > `XSetSizeHints' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:671: ANSI C++ forbids declaration
> > `XSetStandardProperties' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:696: ANSI C++ forbids declaration
> > `XSetWMHints' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:765: ANSI C++ forbids declaration
> > `XSetRegion' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:782: ANSI C++ forbids declaration
> > `XSetZoomHints' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:790: ANSI C++ forbids declaration
> > `XShrinkRegion' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:806: ANSI C++ forbids declaration
> > `XSubtractRegion' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:866: ANSI C++ forbids declaration
> > `XUnionRectWithRegion' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:874: ANSI C++ forbids declaration
> > `XUnionRegion' with no type
> > /usr/X11R6.4/include/X11/Xutil.h:898: ANSI C++ forbids declaration
> > `XXorRegion' with no type
> > In file included from BaseDisplay.cc:41:
> > i18n.hh:45: syntax error before `;'
> > i18n.hh:60: ANSI C++ forbids declaration `nl_catd' with no type
> > i18n.hh:60: `nl_catd' declared as an `inline' field
> > i18n.hh:60: parse error before `&'
> > i18n.hh:62: extraneous `char' ignored
> > i18n.hh:64: parse error before `}'
> > BaseDisplay.cc: In function `void signalhandler(int)':
> > BaseDisplay.cc:164: no matching function for call to 
> `I18n::getMessage (int,
> > int, const char[23])'
> > BaseDisplay.cc:178: no matching function for call to 
> `I18n::getMessage (int,
> > int, const char[15])'
> > BaseDisplay.cc:190: no matching function for call to 
> `I18n::getMessage (int,
> > int, const char[26])'
> > BaseDisplay.cc: In method `BaseDisplay::BaseDisplay(char *, 
> char * = 0)':
> > BaseDisplay.cc:267: no matching function for call to 
> `I18n::getMessage (int,
> > int, const char[58])'
> > BaseDisplay.cc:279: no matching function for call to 
> `I18n::getMessage (int,
> > int, const char[77])'
> > make[2]: *** [BaseDisplay.o] Error 1
> > make[2]: Leaving directory `/usr/blackbox-0.61.1/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/blackbox-0.61.1'
> > make: *** [all-recursive-am] Error 2
> > 
> > administrator@MKPCP195 /usr/blackbox-0.61.1
> > 
> > Paul Martindale          Mailto:[email-masked]
> > Jennic Ltd               Tel:            +44 (0)1908 295 700
> > The Pavilion             Fax:            +44 (0)1908 295 800
> > Sunrise Parkway          Direct:         +44 (0)1908 295 722
> > Linford Wood East
> > Milton Keynes
> > MK14 6LS
> > 
> > --
> > Want to unsubscribe from this list?
> > Check out: http://cygwin.com/ml/#unsubscribe-simple
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple