AMBER Archive (2006)

Subject: AMBER: leap - compilation error

From: Tomas Kubar (tomas.kubar_at_marge.uochb.cas.cz)
Date: Tue Nov 07 2006 - 03:47:33 CST


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_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu