Event::MakeMaker describes a callback like this: static void x_server_dispatch(void *ext_data) However, it is (quite sensibly) being called as: (* (void(*)(pe_event*)) ev->callback)(ev); this is especially bad as callback is a void *, so there is no type checking. -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |