Bob Bernstein <b...@fanatick.org> writes: > In file included from ./../libev/ev_kqueue.c:42:0, > from ./../libev/ev.c:2684, > from ev_cpp.C:2: > ./../libev/ev_kqueue.c: In function 'void kqueue_change(int, int, int, int)': > ./../libev/ev_kqueue.c:52:3: error: call of overloaded '_EV_SET(kevent*, > uintptr_t, int&, int&, int&, int, int)' is ambiguous > EV_SET (&kqueue_changes [kqueue_changecnt - 1], fd, filter, flags, fflags, > 0, 0); > ^ > /usr/include/sys/event.h:59:1: note: candidate: void _EV_SET(kevent*, > uintptr_t, uint32_t, uint32_t, uint32_t, int64_t, intptr_t) > _EV_SET(struct kevent *_kevp, uintptr_t _ident, uint32_t _filter, > ^~~~~~~ > /usr/include/sys/event.h:76:1: note: candidate: void _EV_SET(kevent*, > uintptr_t, uint32_t, uint32_t, uint32_t, int64_t, void*) > _EV_SET(struct kevent *_kevp, uintptr_t _ident, uint32_t _filter, > ^~~~~~~
I have been seeint EV_SET issues in a lot of places, but am unclear on the cause and usual resolution. Could someone who really understands the EV_SET troubles explain?