Boost logo

Boost :

Subject: Re: [boost] [ASIO] Compilation error on NetBSD
From: Arnaud Degroote (arnaud.degroote_at_[hidden])
Date: 2011-01-14 06:48:28

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)


Arnaud Degroote
PhD Student 

Boost list run by bdawes at, gregod at, cpdaniel at, john at