error in Event::MakeMaker
[email protected] (( Marc) (A.) (Lehmann ))
| Newsgroups | perl.loop |
|---|---|
| Message-ID | <[email protected]> |
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 |
|