So what's the resolution with button.c? I still cannot compile it, now with one more error:
button.c:62: error: invalid conversion from `void (*)(SPAction*, int, void*)' to `void (*)(SPAction*, unsigned int, void*)' button.c: In function `void sp_button_toggle_set_down(SPButton*, int)': button.c:189: error: invalid conversion from `void (*)()' to `void*' button.c:191: error: invalid conversion from `void (*)()' to `void*'
_________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
On Mon, 2003-12-08 at 19:02, bulia byak wrote:
So what's the resolution with button.c? I still cannot compile it, now with one more error:
button.c:62: error: invalid conversion from `void (*)(SPAction*, int, void*)' to `void (*)(SPAction*, unsigned int, void*)' button.c: In function `void sp_button_toggle_set_down(SPButton*, int)': button.c:189: error: invalid conversion from `void (*)()' to `void*' button.c:191: error: invalid conversion from `void (*)()' to `void*'
I gues we'll have to do the casts for now.
It should apparently work on ia64 anyway, as ia64 function pointers are the normal size -- they just point to function descriptor structures rather than code.
GLib still needs to fix their standards-compliance problem though.
Anyway, I'll commit a fix as soon as I verify it builds with g++.
-mental
participants (2)
-
bulia byak
-
MenTaLguY