
14 Jan
2011
14 Jan
'11
11:48 a.m.
On 14/Jan - 00:55, Marek Dopiera wrote:
Hello everybody, this is my first post to this list.
Recently I got an error when compiling a program which uses ASIO on NetBSD. It is related to kqueue. From what I see it is caused by passing descriptor_state* to EV_SET. Under NetBSD it should be intptr_t. Moreover, the udata field of kevent is implicitly cast to void* later on, which also causes an error. Explicit casts solve the issue. Maybe it's worth adding? Could someone with commit access check it and eventually correct it, please? I don't know how it is under FreeBSD, maybe an ifdef is needed to support both.
It has been fixed in 1.45 (see ticket 4662, and svn rev 66159) Regards, -- Arnaud Degroote PhD Student RIA LAAS / CNRS