First I have to add some lines. The compilation broke at: ========================================================= TextOut.c:369: error: invalid lvalue in assignment
I have attached all three changes although only line 366 ff
is missing in the patch I already have sent.
Replacing (e.g. lib/Xm-2.1/Xme.c, line 265 ff):
===============================================
pix = _XmAccessColorData(_XmGetColors(XtScreenOfObject(widget),
ColormapOfObject(widget),
XmIsGadget(widget) ?
XmParentBackground(widget) :
XtBackground(widget)),
type);
with:
=====
bg = XtBackground(widget);
if(XmIsGadget(widget))
bg = XmParentBackground(widget);
pix = _XmAccessColorData(_XmGetColors(XtScreenOfObject(widget),
ColormapOfObject(widget),
bg), type);
seems to be necessary because of:
=================================
Xme.c:281: warning: operation on '_Xm_fastPtr' may be undefined
Comment: 100% 'defined' means 0% 'undefined'.
Inserting (e.g. lib/Xm-2.1/TextF.c, line 1667 ff:
=================================================
memset(&a, 0, sizeof(XtWidgetGeometry));
seems to be necessary because of:
=================================
TextF.c: In function 'query_geometry':
TextF.c:1720: warning: 'a.stack_mode' is used uninitialized in this function
TextF.c:1720: warning: 'a.sibling' is used uninitialized in this function
TextF.c:1720: warning: 'a.border_width' is used uninitialized in this function
TextF.c:1720: warning: 'a.y' is used uninitialized in this function
TextF.c:1720: warning: 'a.x' is used uninitialized in this function
Comment: 100% 'initialized' means 0% 'uninitialized'.
winfried
Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur 44,85 inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2
TextOut.c.dif.gz
Description: application/gzip-compressed

