AMBER: leap - compilation error

From: Tomas Kubar <tomas.kubar.marge.uochb.cas.cz>
Date: Tue, 07 Nov 2006 10:47:33 +0100

hello Ambers

I encountered an error compiling leap in Amber 9, regarding conflicting
types of the parameters of XawScrolledTableSetLocation in file
src/leap/src/Xraw/ScrolledTable.h

as a workaround I propose replacing line 99

extern void XawScrolledTableSetLocation( Widget w, double xoff, double
yoff );

by this:

#if NeedWidePrototypes
extern void XawScrolledTableSetLocation( Widget gw, double xoff, double
yoff );
#else
extern void XawScrolledTableSetLocation( Widget gw, float xoff, float
yoff );
#endif

regards, tom
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed Nov 08 2006 - 06:07:31 PST
Custom Search