[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compilation of V on Digital Unix



LS,

I tried to compile V on digital Unix and ran into
the following problem when compiling the athena version.

awscl3d.c: In function `RepeatNotify':
awscl3d.c:993: warning: cast to pointer from integer of different size

 XtCallCallbacks((Widget)sbw, XtNscrollProc, (XtPointer) call_data);

call_data is an int (4 byte) and XtPointer is defined in X11/Intrinsic.h
as void * (8 byte), so conversion is difficult. The
compiler (gcc) then runs into an internal compiler error.

What is your opinion about this?

The motif version does compile but does not look good.

Thanks,

regards

Teun Burgers


Reply to: