motif porting problem

David Brooks dbrooks at penge.osf.org
Fri Dec 7 15:40:27 AEST 1990


In article <9435 at ncar.ucar.edu> boote at bierstadt.scd.ucar.edu (Jeff W. Boote) writes:
>I am currently porting motif1.1 to IBM's RISC6000.  I was able to get the
>whole thing to compile without too many hassle's but I am having one problem.
>The geometry of popupshells seems to be messed up.  It appears that the x
>and y values for the sizes is switched.

I think this is the bug: you have managed the impressive feat of
compiling the Xm library with prototypes enabled.  Unfortunately,
there's a routine with two parameters out of order in the prototype
part of its definition.  Look at lib/Xm/GeoUtils.c/_XmGeoArrangeBoxes,
and reverse the order of the pH and pW parameters in the prototype
definition (lines 1518 and 1519).  This is actually usually reported
only against MessageBox (hence the "I think" at the start).  Anyway,
try it.

-- 
David Brooks				dbrooks at osf.org
Systems Engineering, OSF		uunet!osf.org!dbrooks
"No, I didn't say I wanted a Bud light!!!" -- Oedipus



More information about the Comp.unix.aix mailing list