Closed Bug 22266 Opened 25 years ago Closed 23 years ago

Fix Motif toolkit...

Categories

(SeaMonkey :: Build Config, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: roland.mainz, Unassigned)

References

Details

(Keywords: helpwanted)

Attachments

(1 file)

This is a request to fix the Motif toolkit and get it in sync with GTK+...
Blocks: 10001
Added bug 10001 (CDE support) as (AFAIK) some CDE features like drag&drop
require Motif widgets...
Blocks: 20075
Blocks: 16208
Status: NEW → ASSIGNED
Target Milestone: M15
Target Milestone: M15 → M18
Failed to compile Mozilla post-M13 (16.2.2000 source tarball) with the following
error:

-- snip --
/usr/openwin/include/X11/Xresource.h:249: warning: ANSI C++ forbids declaration
`XrmQGetResource' with no type
c++ -o nsGfxFactoryMotif.o -c -fno-rtti -fno-exceptions -pedantic -Wno-long-long
-g -I/usr/dt/include -DMOZILLA_CLIENT -include ../../../config-defs.h
-Wp,-MD,.deps/nsGfxFactoryMotif.pp -DOSTYPE=\"SunOS5\" -DOJI
-D_IMPL_NS_GFXNONXP  -I../../../dist/include -I../../../../include 
-I../../../dist/include -I../../../dist/include -I../../../dist/include
-I../../../../gfx/src/motif/. -I../../../../gfx/src/motif/.. 
-I/usr/openwin/include   -fPIC ../../../../gfx/src/motif/nsGfxFactoryMotif.cpp
In file included from ../../../../gfx/src/motif/nsFontMetricsMotif.h:33,
                 from ../../../../gfx/src/motif/nsGfxFactoryMotif.cpp:28:
/usr/openwin/include/X11/Xlib.h:2063: warning: ANSI C++ forbids declaration
`XSetTransientForHint' with no type
/usr/openwin/include/X11/Xlib.h:2071: warning: ANSI C++ forbids declaration
`XActivateScreenSaver' with no type
/usr/openwin/include/X11/Xlib.h:2078: warning: ANSI C++ forbids declaration
`XAddHost' with no type
/usr/openwin/include/X11/Xlib.h:2086: warning: ANSI C++ forbids declaration
`XAddHosts' with no type
/usr/openwin/include/X11/Xlib.h:2093: warning: ANSI C++ forbids declaration
`XAddToExtensionList' with no type
/usr/openwin/include/X11/Xlib.h:2100: warning: ANSI C++ forbids declaration
`XAddToSaveSet' with no type
/usr/openwin/include/X11/Xlib.h:2154: warning: ANSI C++ forbids declaration
`XAllowEvents' with no type
/usr/openwin/include/X11/Xlib.h:2160: warning: ANSI C++ forbids declaration
`XAutoRepeatOff' with no type
/usr/openwin/include/X11/Xlib.h:2166: warning: ANSI C++ forbids declaration
`XAutoRepeatOn' with no type
/usr/openwin/include/X11/Xlib.h:2173: warning: ANSI C++ forbids declaration
`XBell' with no type
/usr/openwin/include/X11/Xlib.h:2206: warning: ANSI C++ forbids declaration
`XChangeActivePointerGrab' with no type
/usr/openwin/include/X11/Xlib.h:2215: warning: ANSI C++ forbids declaration
`XChangeGC' with no type
/usr/openwin/include/X11/Xlib.h:2223: warning: ANSI C++ forbids declaration
`XChangeKeyboardControl' with no type
/usr/openwin/include/X11/Xlib.h:2233: warning: ANSI C++ forbids declaration
`XChangeKeyboardMapping' with no type
/usr/openwin/include/X11/Xlib.h:2244: warning: ANSI C++ forbids declaration
`XChangePointerControl' with no type
/usr/openwin/include/X11/Xlib.h:2257: warning: ANSI C++ forbids declaration
`XChangeProperty' with no type
/usr/openwin/include/X11/Xlib.h:2265: warning: ANSI C++ forbids declaration
`XChangeSaveSet' with no type
/usr/openwin/include/X11/Xlib.h:2274: warning: ANSI C++ forbids declaration
`XChangeWindowAttributes' with no type
/usr/openwin/include/X11/Xlib.h:2331: warning: ANSI C++ forbids declaration
`XCirculateSubwindows' with no type
/usr/openwin/include/X11/Xlib.h:2338: warning: ANSI C++ forbids declaration
`XCirculateSubwindowsDown' with no type
/usr/openwin/include/X11/Xlib.h:2345: warning: ANSI C++ forbids declaration
`XCirculateSubwindowsUp' with no type
/usr/openwin/include/X11/Xlib.h:2357: warning: ANSI C++ forbids declaration
`XClearArea' with no type
/usr/openwin/include/X11/Xlib.h:2364: warning: ANSI C++ forbids declaration
`XClearWindow' with no type
/usr/openwin/include/X11/Xlib.h:2370: warning: ANSI C++ forbids declaration
`XCloseDisplay' with no type
/usr/openwin/include/X11/Xlib.h:2379: warning: ANSI C++ forbids declaration
`XConfigureWindow' with no type
/usr/openwin/include/X11/Xlib.h:2396: warning: ANSI C++ forbids declaration
`XConvertSelection' with no type
/usr/openwin/include/X11/Xlib.h:2411: warning: ANSI C++ forbids declaration
`XCopyArea' with no type
/usr/openwin/include/X11/Xlib.h:2420: warning: ANSI C++ forbids declaration
`XCopyGC' with no type
/usr/openwin/include/X11/Xlib.h:2436: warning: ANSI C++ forbids declaration
`XCopyPlane' with no type
/usr/openwin/include/X11/Xlib.h:2463: warning: ANSI C++ forbids declaration
`XDefineCursor' with no type
/usr/openwin/include/X11/Xlib.h:2471: warning: ANSI C++ forbids declaration
`XDeleteProperty' with no type
/usr/openwin/include/X11/Xlib.h:2478: warning: ANSI C++ forbids declaration
`XDestroyWindow' with no type
/usr/openwin/include/X11/Xlib.h:2485: warning: ANSI C++ forbids declaration
`XDestroySubwindows' with no type
/usr/openwin/include/X11/Xlib.h:2503: warning: ANSI C++ forbids declaration
`XDisableAccessControl' with no type
/usr/openwin/include/X11/Xlib.h:2533: warning: ANSI C++ forbids declaration
`XDisplayKeycodes' with no type
/usr/openwin/include/X11/Xlib.h:2568: warning: ANSI C++ forbids declaration
`XDrawArc' with no type
/usr/openwin/include/X11/Xlib.h:2578: warning: ANSI C++ forbids declaration
`XDrawArcs' with no type
/usr/openwin/include/X11/Xlib.h:2590: warning: ANSI C++ forbids declaration
`XDrawImageString' with no type
/usr/openwin/include/X11/Xlib.h:2602: warning: ANSI C++ forbids declaration
`XDrawImageString16' with no type
/usr/openwin/include/X11/Xlib.h:2614: warning: ANSI C++ forbids declaration
`XDrawLine' with no type
/usr/openwin/include/X11/Xlib.h:2625: warning: ANSI C++ forbids declaration
`XDrawLines' with no type
/usr/openwin/include/X11/Xlib.h:2635: warning: ANSI C++ forbids declaration
`XDrawPoint' with no type
/usr/openwin/include/X11/Xlib.h:2646: warning: ANSI C++ forbids declaration
`XDrawPoints' with no type
/usr/openwin/include/X11/Xlib.h:2658: warning: ANSI C++ forbids declaration
`XDrawRectangle' with no type
/usr/openwin/include/X11/Xlib.h:2668: warning: ANSI C++ forbids declaration
`XDrawRectangles' with no type
/usr/openwin/include/X11/Xlib.h:2678: warning: ANSI C++ forbids declaration
`XDrawSegments' with no type
/usr/openwin/include/X11/Xlib.h:2690: warning: ANSI C++ forbids declaration
`XDrawString' with no type
/usr/openwin/include/X11/Xlib.h:2702: warning: ANSI C++ forbids declaration
`XDrawString16' with no type
/usr/openwin/include/X11/Xlib.h:2714: warning: ANSI C++ forbids declaration
`XDrawText' with no type
/usr/openwin/include/X11/Xlib.h:2726: warning: ANSI C++ forbids declaration
`XDrawText16' with no type
/usr/openwin/include/X11/Xlib.h:2732: warning: ANSI C++ forbids declaration
`XEnableAccessControl' with no type
/usr/openwin/include/X11/Xlib.h:2761: warning: ANSI C++ forbids declaration
`XFillArc' with no type
/usr/openwin/include/X11/Xlib.h:2771: warning: ANSI C++ forbids declaration
`XFillArcs' with no type
/usr/openwin/include/X11/Xlib.h:2783: warning: ANSI C++ forbids declaration
`XFillPolygon' with no type
/usr/openwin/include/X11/Xlib.h:2795: warning: ANSI C++ forbids declaration
`XFillRectangle' with no type
/usr/openwin/include/X11/Xlib.h:2805: warning: ANSI C++ forbids declaration
`XFillRectangles' with no type
/usr/openwin/include/X11/Xlib.h:2811: warning: ANSI C++ forbids declaration
`XFlush' with no type
/usr/openwin/include/X11/Xlib.h:2818: warning: ANSI C++ forbids declaration
`XForceScreenSaver' with no type
/usr/openwin/include/X11/Xlib.h:2824: warning: ANSI C++ forbids declaration
`XFree' with no type
/usr/openwin/include/X11/Xlib.h:2831: warning: ANSI C++ forbids declaration
`XFreeColormap' with no type
/usr/openwin/include/X11/Xlib.h:2841: warning: ANSI C++ forbids declaration
`XFreeColors' with no type
/usr/openwin/include/X11/Xlib.h:2848: warning: ANSI C++ forbids declaration
`XFreeCursor' with no type
/usr/openwin/include/X11/Xlib.h:2854: warning: ANSI C++ forbids declaration
`XFreeExtensionList' with no type
/usr/openwin/include/X11/Xlib.h:2861: warning: ANSI C++ forbids declaration
`XFreeFont' with no type
/usr/openwin/include/X11/Xlib.h:2869: warning: ANSI C++ forbids declaration
`XFreeFontInfo' with no type
/usr/openwin/include/X11/Xlib.h:2875: warning: ANSI C++ forbids declaration
`XFreeFontNames' with no type
/usr/openwin/include/X11/Xlib.h:2881: warning: ANSI C++ forbids declaration
`XFreeFontPath' with no type
/usr/openwin/include/X11/Xlib.h:2888: warning: ANSI C++ forbids declaration
`XFreeGC' with no type
/usr/openwin/include/X11/Xlib.h:2894: warning: ANSI C++ forbids declaration
`XFreeModifiermap' with no type
/usr/openwin/include/X11/Xlib.h:2901: warning: ANSI C++ forbids declaration
`XFreePixmap' with no type
/usr/openwin/include/X11/Xlib.h:2930: warning: ANSI C++ forbids declaration
`XGetErrorDatabaseText' with no type
/usr/openwin/include/X11/Xlib.h:2939: warning: ANSI C++ forbids declaration
`XGetErrorText' with no type
/usr/openwin/include/X11/Xlib.h:2986: warning: ANSI C++ forbids declaration
`XGetInputFocus' with no type
/usr/openwin/include/X11/Xlib.h:2993: warning: ANSI C++ forbids declaration
`XGetKeyboardControl' with no type
/usr/openwin/include/X11/Xlib.h:3002: warning: ANSI C++ forbids declaration
`XGetPointerControl' with no type
/usr/openwin/include/X11/Xlib.h:3020: warning: ANSI C++ forbids declaration
`XGetScreenSaver' with no type
/usr/openwin/include/X11/Xlib.h:3068: warning: ANSI C++ forbids declaration
`XGrabButton' with no type
/usr/openwin/include/X11/Xlib.h:3080: warning: ANSI C++ forbids declaration
`XGrabKey' with no type
/usr/openwin/include/X11/Xlib.h:3111: warning: ANSI C++ forbids declaration
`XGrabServer' with no type
/usr/openwin/include/X11/Xlib.h:3138: warning: ANSI C++ forbids declaration
`XIfEvent' with no type
/usr/openwin/include/X11/Xlib.h:3151: warning: ANSI C++ forbids declaration
`XInstallColormap' with no type
/usr/openwin/include/X11/Xlib.h:3165: warning: ANSI C++ forbids declaration
`XKillClient' with no type
/usr/openwin/include/X11/Xlib.h:3188: warning: ANSI C++ forbids declaration
`XLowerWindow' with no type
/usr/openwin/include/X11/Xlib.h:3195: warning: ANSI C++ forbids declaration
`XMapRaised' with no type
/usr/openwin/include/X11/Xlib.h:3202: warning: ANSI C++ forbids declaration
`XMapSubwindows' with no type
/usr/openwin/include/X11/Xlib.h:3209: warning: ANSI C++ forbids declaration
`XMapWindow' with no type
/usr/openwin/include/X11/Xlib.h:3217: warning: ANSI C++ forbids declaration
`XMaskEvent' with no type
/usr/openwin/include/X11/Xlib.h:3240: warning: ANSI C++ forbids declaration
`XMoveResizeWindow' with no type
/usr/openwin/include/X11/Xlib.h:3249: warning: ANSI C++ forbids declaration
`XMoveWindow' with no type
/usr/openwin/include/X11/Xlib.h:3256: warning: ANSI C++ forbids declaration
`XNextEvent' with no type
/usr/openwin/include/X11/Xlib.h:3262: warning: ANSI C++ forbids declaration
`XNoOp' with no type
/usr/openwin/include/X11/Xlib.h:3288: warning: ANSI C++ forbids declaration
`XPeekEvent' with no type
/usr/openwin/include/X11/Xlib.h:3303: warning: ANSI C++ forbids declaration
`XPeekIfEvent' with no type
/usr/openwin/include/X11/Xlib.h:3336: warning: ANSI C++ forbids declaration
`XPutBackEvent' with no type
/usr/openwin/include/X11/Xlib.h:3351: warning: ANSI C++ forbids declaration
`XPutImage' with no type
/usr/openwin/include/X11/Xlib.h:3410: warning: ANSI C++ forbids declaration
`XQueryColor' with no type
/usr/openwin/include/X11/Xlib.h:3419: warning: ANSI C++ forbids declaration
`XQueryColors' with no type
/usr/openwin/include/X11/Xlib.h:3436: warning: ANSI C++ forbids declaration
`XQueryKeymap' with no type
/usr/openwin/include/X11/Xlib.h:3463: warning: ANSI C++ forbids declaration
`XQueryTextExtents' with no type
/usr/openwin/include/X11/Xlib.h:3476: warning: ANSI C++ forbids declaration
`XQueryTextExtents16' with no type
/usr/openwin/include/X11/Xlib.h:3494: warning: ANSI C++ forbids declaration
`XRaiseWindow' with no type
/usr/openwin/include/X11/Xlib.h:3529: warning: ANSI C++ forbids declaration
`XRebindKeysym' with no type
/usr/openwin/include/X11/Xlib.h:3538: warning: ANSI C++ forbids declaration
`XRecolorCursor' with no type
/usr/openwin/include/X11/Xlib.h:3544: warning: ANSI C++ forbids declaration
`XRefreshKeyboardMapping' with no type
/usr/openwin/include/X11/Xlib.h:3551: warning: ANSI C++ forbids declaration
`XRemoveFromSaveSet' with no type
/usr/openwin/include/X11/Xlib.h:3558: warning: ANSI C++ forbids declaration
`XRemoveHost' with no type
/usr/openwin/include/X11/Xlib.h:3566: warning: ANSI C++ forbids declaration
`XRemoveHosts' with no type
/usr/openwin/include/X11/Xlib.h:3576: warning: ANSI C++ forbids declaration
`XReparentWindow' with no type
/usr/openwin/include/X11/Xlib.h:3582: warning: ANSI C++ forbids declaration
`XResetScreenSaver' with no type
/usr/openwin/include/X11/Xlib.h:3591: warning: ANSI C++ forbids declaration
`XResizeWindow' with no type
/usr/openwin/include/X11/Xlib.h:3599: warning: ANSI C++ forbids declaration
`XRestackWindows' with no type
/usr/openwin/include/X11/Xlib.h:3606: warning: ANSI C++ forbids declaration
`XRotateBuffers' with no type
/usr/openwin/include/X11/Xlib.h:3616: warning: ANSI C++ forbids declaration
`XRotateWindowProperties' with no type
/usr/openwin/include/X11/Xlib.h:3630: warning: ANSI C++ forbids declaration
`XSelectInput' with no type
/usr/openwin/include/X11/Xlib.h:3647: warning: ANSI C++ forbids declaration
`XSetAccessControl' with no type
/usr/openwin/include/X11/Xlib.h:3655: warning: ANSI C++ forbids declaration
`XSetArcMode' with no type
/usr/openwin/include/X11/Xlib.h:3663: warning: ANSI C++ forbids declaration
`XSetBackground' with no type
/usr/openwin/include/X11/Xlib.h:3671: warning: ANSI C++ forbids declaration
`XSetClipMask' with no type
/usr/openwin/include/X11/Xlib.h:3680: warning: ANSI C++ forbids declaration
`XSetClipOrigin' with no type
/usr/openwin/include/X11/Xlib.h:3692: warning: ANSI C++ forbids declaration
`XSetClipRectangles' with no type
/usr/openwin/include/X11/Xlib.h:3699: warning: ANSI C++ forbids declaration
`XSetCloseDownMode' with no type
/usr/openwin/include/X11/Xlib.h:3708: warning: ANSI C++ forbids declaration
`XSetCommand' with no type
/usr/openwin/include/X11/Xlib.h:3718: warning: ANSI C++ forbids declaration
`XSetDashes' with no type
/usr/openwin/include/X11/Xlib.h:3726: warning: ANSI C++ forbids declaration
`XSetFillRule' with no type
/usr/openwin/include/X11/Xlib.h:3734: warning: ANSI C++ forbids declaration
`XSetFillStyle' with no type
/usr/openwin/include/X11/Xlib.h:3742: warning: ANSI C++ forbids declaration
`XSetFont' with no type
/usr/openwin/include/X11/Xlib.h:3750: warning: ANSI C++ forbids declaration
`XSetFontPath' with no type
/usr/openwin/include/X11/Xlib.h:3758: warning: ANSI C++ forbids declaration
`XSetForeground' with no type
/usr/openwin/include/X11/Xlib.h:3766: warning: ANSI C++ forbids declaration
`XSetFunction' with no type
/usr/openwin/include/X11/Xlib.h:3774: warning: ANSI C++ forbids declaration
`XSetGraphicsExposures' with no type
/usr/openwin/include/X11/Xlib.h:3782: warning: ANSI C++ forbids declaration
`XSetIconName' with no type
/usr/openwin/include/X11/Xlib.h:3791: warning: ANSI C++ forbids declaration
`XSetInputFocus' with no type
/usr/openwin/include/X11/Xlib.h:3802: warning: ANSI C++ forbids declaration
`XSetLineAttributes' with no type
/usr/openwin/include/X11/Xlib.h:3817: warning: ANSI C++ forbids declaration
`XSetPlaneMask' with no type
/usr/openwin/include/X11/Xlib.h:3835: warning: ANSI C++ forbids declaration
`XSetScreenSaver' with no type
/usr/openwin/include/X11/Xlib.h:3844: warning: ANSI C++ forbids declaration
`XSetSelectionOwner' with no type
/usr/openwin/include/X11/Xlib.h:3855: warning: ANSI C++ forbids declaration
`XSetState' with no type
/usr/openwin/include/X11/Xlib.h:3863: warning: ANSI C++ forbids declaration
`XSetStipple' with no type
/usr/openwin/include/X11/Xlib.h:3871: warning: ANSI C++ forbids declaration
`XSetSubwindowMode' with no type
/usr/openwin/include/X11/Xlib.h:3880: warning: ANSI C++ forbids declaration
`XSetTSOrigin' with no type
/usr/openwin/include/X11/Xlib.h:3888: warning: ANSI C++ forbids declaration
`XSetTile' with no type
/usr/openwin/include/X11/Xlib.h:3896: warning: ANSI C++ forbids declaration
`XSetWindowBackground' with no type
/usr/openwin/include/X11/Xlib.h:3904: warning: ANSI C++ forbids declaration
`XSetWindowBackgroundPixmap' with no type
/usr/openwin/include/X11/Xlib.h:3912: warning: ANSI C++ forbids declaration
`XSetWindowBorder' with no type
/usr/openwin/include/X11/Xlib.h:3920: warning: ANSI C++ forbids declaration
`XSetWindowBorderPixmap' with no type
/usr/openwin/include/X11/Xlib.h:3928: warning: ANSI C++ forbids declaration
`XSetWindowBorderWidth' with no type
/usr/openwin/include/X11/Xlib.h:3936: warning: ANSI C++ forbids declaration
`XSetWindowColormap' with no type
/usr/openwin/include/X11/Xlib.h:3945: warning: ANSI C++ forbids declaration
`XStoreBuffer' with no type
/usr/openwin/include/X11/Xlib.h:3953: warning: ANSI C++ forbids declaration
`XStoreBytes' with no type
/usr/openwin/include/X11/Xlib.h:3961: warning: ANSI C++ forbids declaration
`XStoreColor' with no type
/usr/openwin/include/X11/Xlib.h:3970: warning: ANSI C++ forbids declaration
`XStoreColors' with no type
/usr/openwin/include/X11/Xlib.h:3978: warning: ANSI C++ forbids declaration
`XStoreName' with no type
/usr/openwin/include/X11/Xlib.h:3988: warning: ANSI C++ forbids declaration
`XStoreNamedColor' with no type
/usr/openwin/include/X11/Xlib.h:3995: warning: ANSI C++ forbids declaration
`XSync' with no type
/usr/openwin/include/X11/Xlib.h:4007: warning: ANSI C++ forbids declaration
`XTextExtents' with no type
/usr/openwin/include/X11/Xlib.h:4019: warning: ANSI C++ forbids declaration
`XTextExtents16' with no type
/usr/openwin/include/X11/Xlib.h:4055: warning: ANSI C++ forbids declaration
`XUndefineCursor' with no type
/usr/openwin/include/X11/Xlib.h:4064: warning: ANSI C++ forbids declaration
`XUngrabButton' with no type
/usr/openwin/include/X11/Xlib.h:4073: warning: ANSI C++ forbids declaration
`XUngrabKey' with no type
/usr/openwin/include/X11/Xlib.h:4080: warning: ANSI C++ forbids declaration
`XUngrabKeyboard' with no type
/usr/openwin/include/X11/Xlib.h:4087: warning: ANSI C++ forbids declaration
`XUngrabPointer' with no type
/usr/openwin/include/X11/Xlib.h:4093: warning: ANSI C++ forbids declaration
`XUngrabServer' with no type
/usr/openwin/include/X11/Xlib.h:4100: warning: ANSI C++ forbids declaration
`XUninstallColormap' with no type
/usr/openwin/include/X11/Xlib.h:4107: warning: ANSI C++ forbids declaration
`XUnloadFont' with no type
/usr/openwin/include/X11/Xlib.h:4114: warning: ANSI C++ forbids declaration
`XUnmapSubwindows' with no type
/usr/openwin/include/X11/Xlib.h:4121: warning: ANSI C++ forbids declaration
`XUnmapWindow' with no type
/usr/openwin/include/X11/Xlib.h:4141: warning: ANSI C++ forbids declaration
`XWarpPointer' with no type
/usr/openwin/include/X11/Xlib.h:4162: warning: ANSI C++ forbids declaration
`XWindowEvent' with no type
In file included from ../../../../gfx/src/motif/nsImageMotif.h:29,
                 from ../../../../gfx/src/motif/nsRenderingContextMotif.h:37,
                 from ../../../../gfx/src/motif/nsGfxFactoryMotif.cpp:29:
/usr/openwin/include/X11/Xutil.h:363: warning: ANSI C++ forbids declaration
`XClipBox' with no type
/usr/openwin/include/X11/Xutil.h:389: warning: ANSI C++ forbids declaration
`XDestroyRegion' with no type
/usr/openwin/include/X11/Xutil.h:395: warning: ANSI C++ forbids declaration
`XEmptyRegion' with no type
/usr/openwin/include/X11/Xutil.h:402: warning: ANSI C++ forbids declaration
`XEqualRegion' with no type
/usr/openwin/include/X11/Xutil.h:548: warning: ANSI C++ forbids declaration
`XIntersectRegion' with no type
/usr/openwin/include/X11/Xutil.h:584: warning: ANSI C++ forbids declaration
`XOffsetRegion' with no type
/usr/openwin/include/X11/Xutil.h:627: warning: ANSI C++ forbids declaration
`XSetClassHint' with no type
/usr/openwin/include/X11/Xutil.h:636: warning: ANSI C++ forbids declaration
`XSetIconSizes' with no type
/usr/openwin/include/X11/Xutil.h:644: warning: ANSI C++ forbids declaration
`XSetNormalHints' with no type
/usr/openwin/include/X11/Xutil.h:663: warning: ANSI C++ forbids declaration
`XSetSizeHints' with no type
/usr/openwin/include/X11/Xutil.h:676: warning: ANSI C++ forbids declaration
`XSetStandardProperties' with no type
/usr/openwin/include/X11/Xutil.h:701: warning: ANSI C++ forbids declaration
`XSetWMHints' with no type
/usr/openwin/include/X11/Xutil.h:770: warning: ANSI C++ forbids declaration
`XSetRegion' with no type
/usr/openwin/include/X11/Xutil.h:787: warning: ANSI C++ forbids declaration
`XSetZoomHints' with no type
/usr/openwin/include/X11/Xutil.h:795: warning: ANSI C++ forbids declaration
`XShrinkRegion' with no type
/usr/openwin/include/X11/Xutil.h:811: warning: ANSI C++ forbids declaration
`XSubtractRegion' with no type
/usr/openwin/include/X11/Xutil.h:871: warning: ANSI C++ forbids declaration
`XUnionRectWithRegion' with no type
/usr/openwin/include/X11/Xutil.h:879: warning: ANSI C++ forbids declaration
`XUnionRegion' with no type
/usr/openwin/include/X11/Xutil.h:903: warning: ANSI C++ forbids declaration
`XXorRegion' with no type
In file included from /usr/openwin/include/X11/Intrinsic.h:58,
                 from ../../../../gfx/src/motif/nsDeviceContextMotif.h:33,
                 from ../../../../gfx/src/motif/nsRenderingContextMotif.h:41,
                 from ../../../../gfx/src/motif/nsGfxFactoryMotif.cpp:29:
/usr/openwin/include/X11/Xresource.h:249: warning: ANSI C++ forbids declaration
`XrmQGetResource' with no type
../../../../gfx/src/motif/nsGfxFactoryMotif.cpp: In method `nsresult
nsGfxFactoryMotif::CreateInstance(nsISupports *, const nsIID &, void **)':
../../../../gfx/src/motif/nsGfxFactoryMotif.cpp:117: cannot allocate an object
of type `nsFontMetricsMotif'
../../../../gfx/src/motif/nsGfxFactoryMotif.cpp:117:   since the following
virtual functions are abstract:
../../../dist/include/nsIFontMetrics.h:63:      nsresult
nsIFontMetrics::Init(const nsFont &, nsIAtom *, nsIDeviceContext *)
../../../dist/include/nsIFontMetrics.h:151:     nsresult
nsIFontMetrics::GetLangGroup(nsIAtom **)
make[3]: *** [nsGfxFactoryMotif.o] Error 1
make[3]: Leaving directory
`/home/gisburn/package-builds/mozilla5/mozilla/objdir_gcc_motif/gfx/src/motif'
make[2]: *** [libs] Error 2
make[2]: Leaving directory
`/home/gisburn/package-builds/mozilla5/mozilla/objdir_gcc_motif/gfx/src'
make[1]: *** [libs] Error 2
make[1]: Leaving directory
`/home/gisburn/package-builds/mozilla5/mozilla/objdir_gcc_motif/gfx'
make: *** [libs] Error 2
-- snip --

Question to granrose@netscape.com: Do you have time to step through all
compillation errors and fix them (with/without my help) ?
This patch should fix that particular problem with the motif build.  Untested as
I don't have motif on this box but the equivalent fix worked for BeOS.
1. Thanks for the patch
2. Can someone (granrose@netscape.com ?) integrate the patch, please (or tell me
how to extract the patch and run diff over
nsFontMetricsMotif.cpp/nsFontMetricsMotif.h ??) ?
Attachement 5360 (motif gfx patch) has been checked in.
Ok, the original patch had problems with it.  I installed motif and fixed the
problems with gfx.  Now if only widget was so easy... :-/.


Argh.  This is *sooo* painful.  Apparently, the motif widgets were not rewritten
to use the base classes from xpwidget.  But according to the comments in
nsBaseWidget.h,
/**
 * Common widget implementation used as base class for native
 * or crossplatform implementations of Widgets.
 * All cross-platform behavior that all widgets need to implement
 * should be placed in this class.
 * (Note: widget implementations are not required to use this
 * class, but it gives them a head start.)
 */

So if the motif port has any hope of not falling into complete and utter bitrot
again (assuming it gets out of it), it needs to be rewritten to use xpwidgets as
all of the other toolkits have been.

Hi all,

It has been a while since I've even tried to use Mozilla...  But now that I've
been looking at it again, and found this, I'll say this: I once tried to do some
work on fixing the Motif port...  But I eventually gave up, deciding that it was
not really worth fixing.  Why?  Because 1) Mozilla is using xpwidgets anyway, so
why bother with another layer?  Why not simply use raw Xlib, as Blizzard's Xlib
port does? 2) Motif is a dying toolkit anyway.  The open source world has
largely settled on GTK+ as its preferred toolkit.  Only proprietary Unices have
any interest in Motif still. 3) Motif GFX is 98% Xlib anyway, so I think if you
want to fix the Motif port, why not just use the Xlib GFX code?  In fact, Ramiro
did some great work on enabling the use of Xlib GFX, with Motif widgets.

I just want to say that I think man-hours are best spent on other things than
the Motif port.  Sorry.  That's just my personal opinion.
no way I'm going to be able to work on this.  reassigning to nobody@mozilla.org 
and keyword helpwanted to see if anyone in the mozilla.org community is 
interested in working on this.
Assignee: granrose → nobody
Status: ASSIGNED → NEW
Keywords: helpwanted
Target Milestone: M18 → ---
I think the bug can be closed because Mozilla now has it's own widget scheme.
Better would be a bug/RFE: "xpwidgets should fit in Motif (CDE) enviroments"
which means that xpwidgets should act like other Motif-based apps (e.g. should
be configurable to...)...
Another issue is to get the libXp/Xprt print stuff into Mozilla because it is
_much_ easier than the crap postscript...
Needless to say, I agree that this bug should be closed. :-)  As I say, there is

no good reason to be wasting effort on it that could be better spent elsewhere,

like on the Xlib port.  As to making Mozilla fit in CDE environments, I

wonder--won't the skins allow enough customizability of Mozilla's interface?

visual appearance!=functionality. A CDE version of Mozilla would require some
more than a simple skin:
- Support for libXp/libDtPrint - e.g. Xprt print system
- Support for Motif drag&drop
- Support for CDE vCard extensions (UID, CDE calendar-name etc.)
- Support for CDE style of bookmarking
- Support for CDE datatyping - CDE has a _much_ better scheme for datatyping
than stupid ~/.mime.types and ~/.mailcap
- Support for "editres" protocol
- ... and so on. CDE has many goodies which can be integrated into Mozilla. But
noone has some to do them ;-(
Hmm...  I don't know much about CDE, especially since I use GNOME myself.

However, if the relationship between CDE/Motif is anything like that of

GNOME/GTK, or like that of KDE/Qt, then I would think that supporting the

features you mentioned would require the use of toolkit features, and not just

the desktop environment features.  Anyone else out there want to teach me

something about this?

Another thought has just occured to me...  Since we already have an ActiveX
embedding control, and a GTK embedding widget, why not take this concept to the
next stage, by creating a Motif embedding widget?  Anybody out there know if
this is possible?  Would this help at all?  I thought of it because some people
have already talked about using the GTK embedding widget for GNOME integration,
so I am wondering if a Motif embedding widget wouldn't allow for CDE integration
in the same way.
Except DnD most of the CDE functions don't need Motif (for example CDE
datatyping is completly non-GUI).
The idea of the Motif embedding widget sounds nice (but at first it would be
better to fix the GTK+ widget which is currently broken)...
Actually, it looks like Christopher Blizzard has been working on creating a new
GTK+ embedding widget to go with the new embedding APIs, and has even turned off
the build of the old webshell-based embedding widget.  So I'm not sure if it is
still broken or not...  Any comments on this part, blizzard?

I say, if the GTK+ embedding widget works, it would be interesting if someone
created an equivalent Motif embedding widget, if only for the sake of spreading
Mozilla's embedding wings.  Anyone out there know if this is possible?
mass re-assign of all bugs where i was listed as the qa contact
QA Contact: cyeh → chofmann
I just created bug 38637 to deal with creating a Motif embedding widget, for 
those who are interested.
I am adding dependencies on some various Motif-related issues, because I think
since this bug is so general, it makes sense to use it as a tracking bug for the
more specific Motif-related issues.  Beware however...  The Motif port is now
SOOOOO bitrotted that I almost think it needs to be re-written from the ground
up.  The GFX portion can probably be copied almost verbatim from Xlib, as a
starting point. :-)

I am also removing some of the bugs depending on this one that have since been
marked "WONTFIX," because they obviously don't depend on this bug anymore. :-)
No longer blocks: 16208, 20075
Depends on: 77984, 78653, 84816, 89329
For the purposes of finding all IRIX specific problems with the Motif port, I 
managed to get gfx and widget to build (but sadly not run).  The patches are 
attached to bug 89329 if any one is interested.
Motif port has now been removed (bug 89330).  WONTFIX.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: