Ahhhhha! You can remove the warning messages. Your X11
header files have function declarations like:

extern XSetTransientForHint(
#if NeedFunctionPrototypes
    Display*            /* display */,
    Window              /* w */,
    Window              /* prop_window */
#endif
);

That is, no return type is defined, violating ANSI C++

I can get around this by including -Wall -W -Wno-return-type 
at the end of the compiler options. (Note, -Wno-return-type
must occur after the other two -W options. The current
configure script is incorrect in this regard, Lars)

Hope this at least removes some of your warning messages!

Best wishes,
Angus



                                                          
                  


 On Wed, 23 Feb 2000, you wrote:
> > Manfred Huber <[EMAIL PROTECTED]> writes:
> > 
> > | I added -fpermissive and it worked. Many Thanks. But now I got another error 
> > | with this output:
> > 
> > Is this from a clean make?
> > 
> > If not do a:
> > 
> > make distclean
> > make
> > 
> > and see if that helps.
> > 
> > This looks like a library problem.
> > 
> >     Lgb
> 
> It doesn't help. I tried it with Solaris 2.5 and 2.6. So I installed gcc and 
> libstdc++ once again and it changed a little bit. Now I got an error with 
> src/mathed/formula.C. The output from make is at the end of the mail. Maybe it 
> is a problem with the C++-headerfiles from gcc and libstdc++. I would be very 
> happy for help.
> 
> Manfred
> 
> 
> 
> make[3]: Entering directory `/home/st3/src/lyx-1.1.4/src/mathed'
> /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src 
> -I../../images -I./../   -I/home/tec3/include/g++-v3   -I/home/tec3/include   
> -I/usr/openwin/include  -g -O2 -fpermissive -fno-rtti -fno-exceptions -c 
> formula.C
> g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ 
> -I/home/tec3/include/g++-v3 -I/home/tec3/include -I/usr/openwin/include -g -O2 
> -fpermissive -fno-rtti -fno-exceptions -c formula.C -o formula.o
> In file included from /home/tec3/include/g++-v3/bits/std_iostream.h:37,
>                  from /home/tec3/include/g++-v3/iostream:2,
>                  from ../../src/support/LOstream.h:19,
>                  from ../../src/support/lyxstring.h:28,
>                  from ../../src/LString.h:19,
>                  from ../../src/lyxfont.h:19,
>                  from ../../src/insets/lyxinset.h:20,
>                  from formula.h:24,
>                  from formula.C:25:
> /home/tec3/include/g++-v3/bits/c++config.h:450: warning: `PACKAGE' redefined
> ../../src/config.h:275: warning: this is the location of the previous definition
> //home/tec3/include/g++-v3/bits/c++config.h:453: warning: `VERSION' redefined
> ../../src/config.h:278: warning: this is the location of the previous definition
> IIn file included from /home/tec3/include/forms.h:983,
>                  from ../../src/lyxfont.h:18,
>                  from ../../src/insets/lyxinset.h:20,
>                  from formula.h:24,
>                  from formula.C:25:
> /usr/openwin/include/X11/Xlib.h:1894: warning: ANSI C++ forbids declaration 
> `XSetTransientForHint' with no type
> /usr/openwin/include/X11/Xlib.h:1902: warning: ANSI C++ forbids declaration 
> `XActivateScreenSaver' with no type
> /usr/openwin/include/X11/Xlib.h:1909: warning: ANSI C++ forbids declaration 
> `XAddHost' with no type
> /usr/openwin/include/X11/Xlib.h:1917: warning: ANSI C++ forbids declaration 
> `XAddHosts' with no type
> /usr/openwin/include/X11/Xlib.h:1924: warning: ANSI C++ forbids declaration 
> `XAddToExtensionList' with no type
> /usr/openwin/include/X11/Xlib.h:1931: warning: ANSI C++ forbids declaration 
> `XAddToSaveSet' with no type
> /usr/openwin/include/X11/Xlib.h:1985: warning: ANSI C++ forbids declaration 
> `XAllowEvents' with no type
> /usr/openwin/include/X11/Xlib.h:1991: warning: ANSI C++ forbids declaration 
> `XAutoRepeatOff' with no type
> /usr/openwin/include/X11/Xlib.h:1997: warning: ANSI C++ forbids declaration 
> `XAutoRepeatOn' with no type
> /usr/openwin/include/X11/Xlib.h:2004: warning: ANSI C++ forbids declaration 
> `XBell' with no type
> /usr/openwin/include/X11/Xlib.h:2037: warning: ANSI C++ forbids declaration 
> `XChangeActivePointerGrab' with no type
> /usr/openwin/include/X11/Xlib.h:2046: warning: ANSI C++ forbids declaration 
> `XChangeGC' with no type
> /usr/openwin/include/X11/Xlib.h:2054: warning: ANSI C++ forbids declaration 
> `XChangeKeyboardControl' with no type
> /usr/openwin/include/X11/Xlib.h:2064: warning: ANSI C++ forbids declaration 
> `XChangeKeyboardMapping' with no type
> /usr/openwin/include/X11/Xlib.h:2075: warning: ANSI C++ forbids declaration 
> `XChangePointerControl' with no type
> /usr/openwin/include/X11/Xlib.h:2088: warning: ANSI C++ forbids declaration 
> `XChangeProperty' with no type
> /usr/openwin/include/X11/Xlib.h:2096: warning: ANSI C++ forbids declaration 
> `XChangeSaveSet' with no type
> /usr/openwin/include/X11/Xlib.h:2105: warning: ANSI C++ forbids declaration 
> `XChangeWindowAttributes' with no type
> /usr/openwin/include/X11/Xlib.h:2162: warning: ANSI C++ forbids declaration 
> `XCirculateSubwindows' with no type
> /usr/openwin/include/X11/Xlib.h:2169: warning: ANSI C++ forbids declaration 
> `XCirculateSubwindowsDown' with no type
> /usr/openwin/include/X11/Xlib.h:2176: warning: ANSI C++ forbids declaration 
> `XCirculateSubwindowsUp' with no type
> /usr/openwin/include/X11/Xlib.h:2188: warning: ANSI C++ forbids declaration 
> `XClearArea' with no type
> /usr/openwin/include/X11/Xlib.h:2195: warning: ANSI C++ forbids declaration 
> `XClearWindow' with no type
> /usr/openwin/include/X11/Xlib.h:2201: warning: ANSI C++ forbids declaration 
> `XCloseDisplay' with no type
> /usr/openwin/include/X11/Xlib.h:2210: warning: ANSI C++ forbids declaration 
> `XConfigureWindow' with no type
> /usr/openwin/include/X11/Xlib.h:2227: warning: ANSI C++ forbids declaration 
> `XConvertSelection' with no type
> /usr/openwin/include/X11/Xlib.h:2242: warning: ANSI C++ forbids declaration 
> `XCopyArea' with no type
> /usr/openwin/include/X11/Xlib.h:2251: warning: ANSI C++ forbids declaration 
> `XCopyGC' with no type
> /usr/openwin/include/X11/Xlib.h:2267: warning: ANSI C++ forbids declaration 
> `XCopyPlane' with no type
> /usr/openwin/include/X11/Xlib.h:2294: warning: ANSI C++ forbids declaration 
> `XDefineCursor' with no type
> /usr/openwin/include/X11/Xlib.h:2302: warning: ANSI C++ forbids declaration 
> `XDeleteProperty' with no type
> /usr/openwin/include/X11/Xlib.h:2309: warning: ANSI C++ forbids declaration 
> `XDestroyWindow' with no type
> /usr/openwin/include/X11/Xlib.h:2316: warning: ANSI C++ forbids declaration 
> `XDestroySubwindows' with no type
> /usr/openwin/include/X11/Xlib.h:2334: warning: ANSI C++ forbids declaration 
> `XDisableAccessControl' with no type
> /usr/openwin/include/X11/Xlib.h:2364: warning: ANSI C++ forbids declaration 
> `XDisplayKeycodes' with no type
> /usr/openwin/include/X11/Xlib.h:2399: warning: ANSI C++ forbids declaration 
> `XDrawArc' with no type
> /usr/openwin/include/X11/Xlib.h:2409: warning: ANSI C++ forbids declaration 
> `XDrawArcs' with no type
> /usr/openwin/include/X11/Xlib.h:2421: warning: ANSI C++ forbids declaration 
> `XDrawImageString' with no type
> /usr/openwin/include/X11/Xlib.h:2433: warning: ANSI C++ forbids declaration 
> `XDrawImageString16' with no type
> /usr/openwin/include/X11/Xlib.h:2445: warning: ANSI C++ forbids declaration 
> `XDrawLine' with no type
> /usr/openwin/include/X11/Xlib.h:2456: warning: ANSI C++ forbids declaration 
> `XDrawLines' with no type
> /usr/openwin/include/X11/Xlib.h:2466: warning: ANSI C++ forbids declaration 
> `XDrawPoint' with no type
> /usr/openwin/include/X11/Xlib.h:2477: warning: ANSI C++ forbids declaration 
> `XDrawPoints' with no type
> /usr/openwin/include/X11/Xlib.h:2489: warning: ANSI C++ forbids declaration 
> `XDrawRectangle' with no type
> /usr/openwin/include/X11/Xlib.h:2499: warning: ANSI C++ forbids declaration 
> `XDrawRectangles' with no type
> /usr/openwin/include/X11/Xlib.h:2509: warning: ANSI C++ forbids declaration 
> `XDrawSegments' with no type
> /usr/openwin/include/X11/Xlib.h:2521: warning: ANSI C++ forbids declaration 
> `XDrawString' with no type
> /usr/openwin/include/X11/Xlib.h:2533: warning: ANSI C++ forbids declaration 
> `XDrawString16' with no type
> /usr/openwin/include/X11/Xlib.h:2545: warning: ANSI C++ forbids declaration 
> `XDrawText' with no type
> /usr/openwin/include/X11/Xlib.h:2557: warning: ANSI C++ forbids declaration 
> `XDrawText16' with no type
> /usr/openwin/include/X11/Xlib.h:2563: warning: ANSI C++ forbids declaration 
> `XEnableAccessControl' with no type
> /usr/openwin/include/X11/Xlib.h:2592: warning: ANSI C++ forbids declaration 
> `XFillArc' with no type
> /usr/openwin/include/X11/Xlib.h:2602: warning: ANSI C++ forbids declaration 
> `XFillArcs' with no type
> /usr/openwin/include/X11/Xlib.h:2614: warning: ANSI C++ forbids declaration 
> `XFillPolygon' with no type
> /usr/openwin/include/X11/Xlib.h:2626: warning: ANSI C++ forbids declaration 
> `XFillRectangle' with no type
> /usr/openwin/include/X11/Xlib.h:2636: warning: ANSI C++ forbids declaration 
> `XFillRectangles' with no type
> /usr/openwin/include/X11/Xlib.h:2642: warning: ANSI C++ forbids declaration 
> `XFlush' with no type
> /usr/openwin/include/X11/Xlib.h:2649: warning: ANSI C++ forbids declaration 
> `XForceScreenSaver' with no type
> /usr/openwin/include/X11/Xlib.h:2655: warning: ANSI C++ forbids declaration 
> `XFree' with no type
> /usr/openwin/include/X11/Xlib.h:2662: warning: ANSI C++ forbids declaration 
> `XFreeColormap' with no type
> /usr/openwin/include/X11/Xlib.h:2672: warning: ANSI C++ forbids declaration 
> `XFreeColors' with no type
> /usr/openwin/include/X11/Xlib.h:2679: warning: ANSI C++ forbids declaration 
> `XFreeCursor' with no type
> /usr/openwin/include/X11/Xlib.h:2685: warning: ANSI C++ forbids declaration 
> `XFreeExtensionList' with no type
> /usr/openwin/include/X11/Xlib.h:2692: warning: ANSI C++ forbids declaration 
> `XFreeFont' with no type
> /usr/openwin/include/X11/Xlib.h:2700: warning: ANSI C++ forbids declaration 
> `XFreeFontInfo' with no type
> /usr/openwin/include/X11/Xlib.h:2706: warning: ANSI C++ forbids declaration 
> `XFreeFontNames' with no type
> /usr/openwin/include/X11/Xlib.h:2712: warning: ANSI C++ forbids declaration 
> `XFreeFontPath' with no type
> /usr/openwin/include/X11/Xlib.h:2719: warning: ANSI C++ forbids declaration 
> `XFreeGC' with no type
> /usr/openwin/include/X11/Xlib.h:2725: warning: ANSI C++ forbids declaration 
> `XFreeModifiermap' with no type
> /usr/openwin/include/X11/Xlib.h:2732: warning: ANSI C++ forbids declaration 
> `XFreePixmap' with no type
> /usr/openwin/include/X11/Xlib.h:2761: warning: ANSI C++ forbids declaration 
> `XGetErrorDatabaseText' with no type
> /usr/openwin/include/X11/Xlib.h:2770: warning: ANSI C++ forbids declaration 
> `XGetErrorText' with no type
> /usr/openwin/include/X11/Xlib.h:2817: warning: ANSI C++ forbids declaration 
> `XGetInputFocus' with no type
> /usr/openwin/include/X11/Xlib.h:2824: warning: ANSI C++ forbids declaration 
> `XGetKeyboardControl' with no type
> /usr/openwin/include/X11/Xlib.h:2833: warning: ANSI C++ forbids declaration 
> `XGetPointerControl' with no type
> /usr/openwin/include/X11/Xlib.h:2851: warning: ANSI C++ forbids declaration 
> `XGetScreenSaver' with no type
> /usr/openwin/include/X11/Xlib.h:2899: warning: ANSI C++ forbids declaration 
> `XGrabButton' with no type
> /usr/openwin/include/X11/Xlib.h:2911: warning: ANSI C++ forbids declaration 
> `XGrabKey' with no type
> /usr/openwin/include/X11/Xlib.h:2942: warning: ANSI C++ forbids declaration 
> `XGrabServer' with no type
> /usr/openwin/include/X11/Xlib.h:2969: warning: ANSI C++ forbids declaration 
> `XIfEvent' with no type
> /usr/openwin/include/X11/Xlib.h:2982: warning: ANSI C++ forbids declaration 
> `XInstallColormap' with no type
> /usr/openwin/include/X11/Xlib.h:2996: warning: ANSI C++ forbids declaration 
> `XKillClient' with no type
> /usr/openwin/include/X11/Xlib.h:3019: warning: ANSI C++ forbids declaration 
> `XLowerWindow' with no type
> /usr/openwin/include/X11/Xlib.h:3026: warning: ANSI C++ forbids declaration 
> `XMapRaised' with no type
> /usr/openwin/include/X11/Xlib.h:3033: warning: ANSI C++ forbids declaration 
> `XMapSubwindows' with no type
> /usr/openwin/include/X11/Xlib.h:3040: warning: ANSI C++ forbids declaration 
> `XMapWindow' with no type
> /usr/openwin/include/X11/Xlib.h:3048: warning: ANSI C++ forbids declaration 
> `XMaskEvent' with no type
> /usr/openwin/include/X11/Xlib.h:3071: warning: ANSI C++ forbids declaration 
> `XMoveResizeWindow' with no type
> /usr/openwin/include/X11/Xlib.h:3080: warning: ANSI C++ forbids declaration 
> `XMoveWindow' with no type
> /usr/openwin/include/X11/Xlib.h:3087: warning: ANSI C++ forbids declaration 
> `XNextEvent' with no type
> /usr/openwin/include/X11/Xlib.h:3093: warning: ANSI C++ forbids declaration 
> `XNoOp' with no type
> /usr/openwin/include/X11/Xlib.h:3119: warning: ANSI C++ forbids declaration 
> `XPeekEvent' with no type
> /usr/openwin/include/X11/Xlib.h:3134: warning: ANSI C++ forbids declaration 
> `XPeekIfEvent' with no type
> /usr/openwin/include/X11/Xlib.h:3167: warning: ANSI C++ forbids declaration 
> `XPutBackEvent' with no type
> /usr/openwin/include/X11/Xlib.h:3182: warning: ANSI C++ forbids declaration 
> `XPutImage' with no type
> /usr/openwin/include/X11/Xlib.h:3241: warning: ANSI C++ forbids declaration 
> `XQueryColor' with no type
> /usr/openwin/include/X11/Xlib.h:3250: warning: ANSI C++ forbids declaration 
> `XQueryColors' with no type
> /usr/openwin/include/X11/Xlib.h:3267: warning: ANSI C++ forbids declaration 
> `XQueryKeymap' with no type
> /usr/openwin/include/X11/Xlib.h:3294: warning: ANSI C++ forbids declaration 
> `XQueryTextExtents' with no type
> /usr/openwin/include/X11/Xlib.h:3307: warning: ANSI C++ forbids declaration 
> `XQueryTextExtents16' with no type
> /usr/openwin/include/X11/Xlib.h:3325: warning: ANSI C++ forbids declaration 
> `XRaiseWindow' with no type
> /usr/openwin/include/X11/Xlib.h:3349: warning: ANSI C++ forbids declaration 
> `XRebindKeysym' with no type
> /usr/openwin/include/X11/Xlib.h:3358: warning: ANSI C++ forbids declaration 
> `XRecolorCursor' with no type
> /usr/openwin/include/X11/Xlib.h:3364: warning: ANSI C++ forbids declaration 
> `XRefreshKeyboardMapping' with no type
> /usr/openwin/include/X11/Xlib.h:3371: warning: ANSI C++ forbids declaration 
> `XRemoveFromSaveSet' with no type
> /usr/openwin/include/X11/Xlib.h:3378: warning: ANSI C++ forbids declaration 
> `XRemoveHost' with no type
> /usr/openwin/include/X11/Xlib.h:3386: warning: ANSI C++ forbids declaration 
> `XRemoveHosts' with no type
> /usr/openwin/include/X11/Xlib.h:3396: warning: ANSI C++ forbids declaration 
> `XReparentWindow' with no type
> /usr/openwin/include/X11/Xlib.h:3402: warning: ANSI C++ forbids declaration 
> `XResetScreenSaver' with no type
> /usr/openwin/include/X11/Xlib.h:3411: warning: ANSI C++ forbids declaration 
> `XResizeWindow' with no type
> /usr/openwin/include/X11/Xlib.h:3419: warning: ANSI C++ forbids declaration 
> `XRestackWindows' with no type
> /usr/openwin/include/X11/Xlib.h:3426: warning: ANSI C++ forbids declaration 
> `XRotateBuffers' with no type
> /usr/openwin/include/X11/Xlib.h:3436: warning: ANSI C++ forbids declaration 
> `XRotateWindowProperties' with no type
> /usr/openwin/include/X11/Xlib.h:3450: warning: ANSI C++ forbids declaration 
> `XSelectInput' with no type
> /usr/openwin/include/X11/Xlib.h:3467: warning: ANSI C++ forbids declaration 
> `XSetAccessControl' with no type
> /usr/openwin/include/X11/Xlib.h:3475: warning: ANSI C++ forbids declaration 
> `XSetArcMode' with no type
> /usr/openwin/include/X11/Xlib.h:3483: warning: ANSI C++ forbids declaration 
> `XSetBackground' with no type
> /usr/openwin/include/X11/Xlib.h:3491: warning: ANSI C++ forbids declaration 
> `XSetClipMask' with no type
> /usr/openwin/include/X11/Xlib.h:3500: warning: ANSI C++ forbids declaration 
> `XSetClipOrigin' with no type
> /usr/openwin/include/X11/Xlib.h:3512: warning: ANSI C++ forbids declaration 
> `XSetClipRectangles' with no type
> /usr/openwin/include/X11/Xlib.h:3519: warning: ANSI C++ forbids declaration 
> `XSetCloseDownMode' with no type
> /usr/openwin/include/X11/Xlib.h:3528: warning: ANSI C++ forbids declaration 
> `XSetCommand' with no type
> /usr/openwin/include/X11/Xlib.h:3538: warning: ANSI C++ forbids declaration 
> `XSetDashes' with no type
> /usr/openwin/include/X11/Xlib.h:3546: warning: ANSI C++ forbids declaration 
> `XSetFillRule' with no type
> /usr/openwin/include/X11/Xlib.h:3554: warning: ANSI C++ forbids declaration 
> `XSetFillStyle' with no type
> /usr/openwin/include/X11/Xlib.h:3562: warning: ANSI C++ forbids declaration 
> `XSetFont' with no type
> /usr/openwin/include/X11/Xlib.h:3570: warning: ANSI C++ forbids declaration 
> `XSetFontPath' with no type
> /usr/openwin/include/X11/Xlib.h:3578: warning: ANSI C++ forbids declaration 
> `XSetForeground' with no type
> /usr/openwin/include/X11/Xlib.h:3586: warning: ANSI C++ forbids declaration 
> `XSetFunction' with no type
> /usr/openwin/include/X11/Xlib.h:3594: warning: ANSI C++ forbids declaration 
> `XSetGraphicsExposures' with no type
> /usr/openwin/include/X11/Xlib.h:3602: warning: ANSI C++ forbids declaration 
> `XSetIconName' with no type
> /usr/openwin/include/X11/Xlib.h:3611: warning: ANSI C++ forbids declaration 
> `XSetInputFocus' with no type
> /usr/openwin/include/X11/Xlib.h:3622: warning: ANSI C++ forbids declaration 
> `XSetLineAttributes' with no type
> /usr/openwin/include/X11/Xlib.h:3637: warning: ANSI C++ forbids declaration 
> `XSetPlaneMask' with no type
> /usr/openwin/include/X11/Xlib.h:3655: warning: ANSI C++ forbids declaration 
> `XSetScreenSaver' with no type
> /usr/openwin/include/X11/Xlib.h:3664: warning: ANSI C++ forbids declaration 
> `XSetSelectionOwner' with no type
> /usr/openwin/include/X11/Xlib.h:3675: warning: ANSI C++ forbids declaration 
> `XSetState' with no type
> /usr/openwin/include/X11/Xlib.h:3683: warning: ANSI C++ forbids declaration 
> `XSetStipple' with no type
> /usr/openwin/include/X11/Xlib.h:3691: warning: ANSI C++ forbids declaration 
> `XSetSubwindowMode' with no type
> /usr/openwin/include/X11/Xlib.h:3700: warning: ANSI C++ forbids declaration 
> `XSetTSOrigin' with no type
> /usr/openwin/include/X11/Xlib.h:3708: warning: ANSI C++ forbids declaration 
> `XSetTile' with no type
> /usr/openwin/include/X11/Xlib.h:3716: warning: ANSI C++ forbids declaration 
> `XSetWindowBackground' with no type
> /usr/openwin/include/X11/Xlib.h:3724: warning: ANSI C++ forbids declaration 
> `XSetWindowBackgroundPixmap' with no type
> /usr/openwin/include/X11/Xlib.h:3732: warning: ANSI C++ forbids declaration 
> `XSetWindowBorder' with no type
> /usr/openwin/include/X11/Xlib.h:3740: warning: ANSI C++ forbids declaration 
> `XSetWindowBorderPixmap' with no type
> /usr/openwin/include/X11/Xlib.h:3748: warning: ANSI C++ forbids declaration 
> `XSetWindowBorderWidth' with no type
> /usr/openwin/include/X11/Xlib.h:3756: warning: ANSI C++ forbids declaration 
> `XSetWindowColormap' with no type
> /usr/openwin/include/X11/Xlib.h:3765: warning: ANSI C++ forbids declaration 
> `XStoreBuffer' with no type
> /usr/openwin/include/X11/Xlib.h:3773: warning: ANSI C++ forbids declaration 
> `XStoreBytes' with no type
> /usr/openwin/include/X11/Xlib.h:3781: warning: ANSI C++ forbids declaration 
> `XStoreColor' with no type
> /usr/openwin/include/X11/Xlib.h:3790: warning: ANSI C++ forbids declaration 
> `XStoreColors' with no type
> /usr/openwin/include/X11/Xlib.h:3798: warning: ANSI C++ forbids declaration 
> `XStoreName' with no type
> /usr/openwin/include/X11/Xlib.h:3808: warning: ANSI C++ forbids declaration 
> `XStoreNamedColor' with no type
> /usr/openwin/include/X11/Xlib.h:3815: warning: ANSI C++ forbids declaration 
> `XSync' with no type
> /usr/openwin/include/X11/Xlib.h:3827: warning: ANSI C++ forbids declaration 
> `XTextExtents' with no type
> /usr/openwin/include/X11/Xlib.h:3839: warning: ANSI C++ forbids declaration 
> `XTextExtents16' with no type
> /usr/openwin/include/X11/Xlib.h:3875: warning: ANSI C++ forbids declaration 
> `XUndefineCursor' with no type
> /usr/openwin/include/X11/Xlib.h:3884: warning: ANSI C++ forbids declaration 
> `XUngrabButton' with no type
> /usr/openwin/include/X11/Xlib.h:3893: warning: ANSI C++ forbids declaration 
> `XUngrabKey' with no type
> /usr/openwin/include/X11/Xlib.h:3900: warning: ANSI C++ forbids declaration 
> `XUngrabKeyboard' with no type
> /usr/openwin/include/X11/Xlib.h:3907: warning: ANSI C++ forbids declaration 
> `XUngrabPointer' with no type
> /usr/openwin/include/X11/Xlib.h:3913: warning: ANSI C++ forbids declaration 
> `XUngrabServer' with no type
> /usr/openwin/include/X11/Xlib.h:3920: warning: ANSI C++ forbids declaration 
> `XUninstallColormap' with no type
> /usr/openwin/include/X11/Xlib.h:3927: warning: ANSI C++ forbids declaration 
> `XUnloadFont' with no type
> /usr/openwin/include/X11/Xlib.h:3934: warning: ANSI C++ forbids declaration 
> `XUnmapSubwindows' with no type
> /usr/openwin/include/X11/Xlib.h:3941: warning: ANSI C++ forbids declaration 
> `XUnmapWindow' with no type
> /usr/openwin/include/X11/Xlib.h:3961: warning: ANSI C++ forbids declaration 
> `XWarpPointer' with no type
> /usr/openwin/include/X11/Xlib.h:3982: warning: ANSI C++ forbids declaration 
> `XWindowEvent' with no type
> In file included from /home/tec3/include/forms.h:984,
>                  from ../../src/lyxfont.h:18,
>                  from ../../src/insets/lyxinset.h:20,
>                  from formula.h:24,
>                  from formula.C:25:
> /usr/openwin/include/X11/Xutil.h:335: warning: ANSI C++ forbids declaration 
> `XClipBox' with no type
> /usr/openwin/include/X11/Xutil.h:361: warning: ANSI C++ forbids declaration 
> `XDestroyRegion' with no type
> /usr/openwin/include/X11/Xutil.h:367: warning: ANSI C++ forbids declaration 
> `XEmptyRegion' with no type
> /usr/openwin/include/X11/Xutil.h:374: warning: ANSI C++ forbids declaration 
> `XEqualRegion' with no type
> /usr/openwin/include/X11/Xutil.h:520: warning: ANSI C++ forbids declaration 
> `XIntersectRegion' with no type
> /usr/openwin/include/X11/Xutil.h:548: warning: ANSI C++ forbids declaration 
> `XOffsetRegion' with no type
> /usr/openwin/include/X11/Xutil.h:591: warning: ANSI C++ forbids declaration 
> `XSetClassHint' with no type
> /usr/openwin/include/X11/Xutil.h:600: warning: ANSI C++ forbids declaration 
> `XSetIconSizes' with no type
> /usr/openwin/include/X11/Xutil.h:608: warning: ANSI C++ forbids declaration 
> `XSetNormalHints' with no type
> /usr/openwin/include/X11/Xutil.h:627: warning: ANSI C++ forbids declaration 
> `XSetSizeHints' with no type
> /usr/openwin/include/X11/Xutil.h:640: warning: ANSI C++ forbids declaration 
> `XSetStandardProperties' with no type
> /usr/openwin/include/X11/Xutil.h:665: warning: ANSI C++ forbids declaration 
> `XSetWMHints' with no type
> /usr/openwin/include/X11/Xutil.h:734: warning: ANSI C++ forbids declaration 
> `XSetRegion' with no type
> /usr/openwin/include/X11/Xutil.h:751: warning: ANSI C++ forbids declaration 
> `XSetZoomHints' with no type
> /usr/openwin/include/X11/Xutil.h:759: warning: ANSI C++ forbids declaration 
> `XShrinkRegion' with no type
> /usr/openwin/include/X11/Xutil.h:775: warning: ANSI C++ forbids declaration 
> `XSubtractRegion' with no type
> /usr/openwin/include/X11/Xutil.h:835: warning: ANSI C++ forbids declaration 
> `XUnionRectWithRegion' with no type
> /usr/openwin/include/X11/Xutil.h:843: warning: ANSI C++ forbids declaration 
> `XUnionRegion' with no type
> /usr/openwin/include/X11/Xutil.h:867: warning: ANSI C++ forbids declaration 
> `XXorRegion' with no type
> In file included from /home/tec3/include/forms.h:987,
>                  from ../../src/lyxfont.h:18,
>                  from ../../src/insets/lyxinset.h:20,
>                  from formula.h:24,
>                  from formula.C:25:
> /usr/openwin/include/X11/Xresource.h:225: warning: ANSI C++ forbids declaration 
> `XrmQGetResource' with no type
> In file included from /home/tec3/include/g++-v3/bits/std_ios.h:49,
>                  from /home/tec3/include/g++-v3/bits/std_ostream.h:37,
>                  from /home/tec3/include/g++-v3/bits/std_iostream.h:38,
>                  from /home/tec3/include/g++-v3/iostream:2,
>                  from ../../src/support/LOstream.h:19,
>                  from ../../src/support/lyxstring.h:28,
>                  from ../../src/LString.h:19,
>                  from ../../src/lyxfont.h:19,
>                  from ../../src/insets/lyxinset.h:20,
>                  from formula.h:24,
>                  from formula.C:25:
> /home/tec3/include/g++-v3/bits/localefwd.h: In method `void 
> locale::_Impl::_M_remove_reference()':
> /home/tec3/include/g++-v3/bits/localefwd.h:344: exception handling disabled, use 
> -fexceptions to enable
> In file included from ../../src/lyxfont.h:19,
>                  from ../../src/insets/lyxinset.h:20,
>                  from formula.h:24,
>                  from formula.C:25:
> ../../src/LString.h: At top level:
> .../../src/LString.h:20: conflicting types for `typedef class lyxstring string'
> //home/tec3/include/g++-v3/bits/stl_string_fwd.h:29: previous declaration as 
> `typedef class basic_string<char,char_traits<char>,allocator<char> > string'
> In file included from 
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:31,
>                  from 
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/s
> trstream.h:32,
>                  from 
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/s
> trstream:6,
>                  from ../../src/support/lstrings.h:18,
>                  from ../../src/debug.h:8,
>                  from ../../src/lyxfont.h:20,
>                  from ../../src/insets/lyxinset.h:20,
>                  from formula.h:24,
>                  from formula.C:25:
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/s
> treambuf.h:66: conflicting types for `struct istream'
> /home/tec3/include/g++-v3/bits/std_iosfwd.h:120: previous declaration as 
> `typedef class basic_istream<char,char_traits<char> > istream'
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/s
> treambuf.h:67: conflicting types for `struct ostream'
> /home/tec3/include/g++-v3/bits/std_iosfwd.h:121: previous declaration as 
> `typedef class basic_ostream<char,char_traits<char> > ostream'
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/s
> treambuf.h:78: conflicting types for `typedef _G_fpos_t streampos'
> /home/tec3/include/g++-v3/bits/char_traits.h:49: previous declaration as 
> `typedef struct fpos<mbstate_t> streampos'
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/s
> treambuf.h:126: conflicting types for `struct ios'
> /home/tec3/include/g++-v3/bits/std_iosfwd.h:118: previous declaration as 
> `typedef class basic_ios<char,char_traits<char> > ios'
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/s
> treambuf.h:346: parse error before `int'
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/s
> treambuf.h:350: destructor `streambuf' must match class name `basic_streambuf'
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/s
> treambuf.h:425: conflicting types for `struct filebuf'
> /home/tec3/include/g++-v3/bits/std_iosfwd.h:127: previous declaration as 
> `typedef class basic_filebuf<char,char_traits<char> > filebuf'
> In file included from 
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/s
> trstream.h:32,
>                  from 
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/s
> trstream:6,
>                  from ../../src/support/lstrings.h:18,
>                  from ../../src/debug.h:8,
>                  from ../../src/lyxfont.h:20,
>                  from ../../src/insets/lyxinset.h:20,
>                  from formula.h:24,
>                  from formula.C:25:
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:227: conflicting types for `struct iostream'
> /home/tec3/include/g++-v3/bits/std_iosfwd.h:122: previous declaration as 
> `typedef class basic_iostream<char,char_traits<char> > iostream'
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:248: conflicting types for `class _IO_istream_withassign cin'
> /home/tec3/include/g++-v3/bits/std_iostream.h:43: previous declaration as `class 
> istream cin'
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:250: conflicting types for `class _IO_ostream_withassign cout'
> /home/tec3/include/g++-v3/bits/std_iostream.h:44: previous declaration as `class 
> ostream cout'
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:250: conflicting types for `class _IO_ostream_withassign cerr'
> /home/tec3/include/g++-v3/bits/std_iostream.h:45: previous declaration as `class 
> ostream cerr'
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:256: conflicting types for `class _IO_ostream_withassign clog'
> /home/tec3/include/g++-v3/bits/std_iostream.h:46: previous declaration as `class 
> ostream clog'
> In file included from /home/tec3/include/g++-v3/fstream:2,
>                  from ../../src/lyxlex.h:14,
>                  from ../../src/insets/lyxinset.h:21,
>                  from formula.h:24,
>                  from formula.C:25:
> /home/tec3/include/g++-v3/bits/std_fstream.h:188: conflicting types for `typedef 
> class basic_filebuf<char,char_traits<char> > filebuf'
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/s
> treambuf.h:467: previous declaration as `class filebuf'
> formula.C: In method `int InsetFormula::Latex(ostream &, signed char)':
> formula.C:333: no match for `ostream & << lyxstring &'
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:77: candidates are: class ostream & ostream::operator <<(char)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:78:                 class ostream & ostream::operator <<(unsigned 
> char)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:79:                 class ostream & ostream::operator <<(signed char)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:80:                 class ostream & ostream::operator <<(const char *)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:82:                 class ostream & ostream::operator <<(const 
> unsigned char *)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:84:                 class ostream & ostream::operator <<(const signed 
> char *)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:85:                 class ostream & ostream::operator <<(const void *)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:86:                 class ostream & ostream::operator <<(int)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:87:                 class ostream & ostream::operator <<(unsigned int)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:88:                 class ostream & ostream::operator <<(long int)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:89:                 class ostream & ostream::operator <<(long unsigned 
> int)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:91:                 class ostream & ostream::operator <<(long long 
> int)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:92:                 class ostream & ostream::operator <<(long long 
> unsigned int)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:94:                 class ostream & ostream::operator <<(short int)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:95:                 class ostream & ostream::operator <<(short 
> unsigned int)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:97:                 class ostream & ostream::operator <<(bool)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:99:                 class ostream & ostream::operator <<(double)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:100:                 class ostream & ostream::operator <<(float)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:104:                 class ostream & ostream::operator <<(long double)
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:106:                 class ostream & ostream::operator <<(ostream & 
> (*)(ostream &))
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:107:                 class ostream & ostream::operator <<(ios & 
> (*)(ios &))
> /home/tec3/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/../../../../include/g++-3/i
> ostream.h:108:                 class ostream & ostream::operator 
> <<(basic_streambuf<char,char_traits<char> > *)
> ../../src/support/lyxstring.h:652:                 class ostream & operator 
> <<<(ostream &, const lyxstring &)
> ../../src/debug.h:90:                 class ostream & operator <<(ostream &, 
> DDebug::type)
> ../../src/lyxfont.h:471:                 class ostream & operator <<(ostream &, 
> LLyXFont::FONT_MISC_STATE)
> ../../src/commandtags.h:249:                 class ostream & operator <<(ostream 
> &&, kb_action)
> math_defs.h:144:                 class ostream & operator <<(ostream &, 
> MathedTextCodes)
> ../../src/layout.h:495:                 class ostream & operator <<(ostream &, 
> LLyXTextClass::PageSides)
> make[3]: *** [formula.lo] Error 1
> make[3]: Leaving directory `/home/st3/src/lyx-1.1.4/src/mathed'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/st3/src/lyx-1.1.4/src'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/home/st3/src/lyx-1.1.4/src'
> make: *** [all-recursive] Error 1
--
DR ANGUS LEEMING <[EMAIL PROTECTED]>
Department of Biological and Medical Systems
Imperial College
LONDON SW7 2BX

Tel. 0171 594 5186
Fax. 0171 584 6897
--
DR ANGUS LEEMING <[EMAIL PROTECTED]>
Department of Biological and Medical Systems
Imperial College
LONDON SW7 2BX

Tel. 0171 594 5186
Fax. 0171 584 6897

Reply via email to