[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] Re: [Libevent-users] Re: [Libevent-users] Re: [Libevent-users] error: aggregate ‘evkeyvalq query’ has incomplete type and cannot be defined



On Thu, Jul 29, 2010 at 4:02 AM, Mihai Draghicioiu
<mihai.draghicioiu@xxxxxxxxx> wrote:
> Thanks to your suggestion, i've fixed it by prepending #include
> <sys/queue.h> to the other libevent headers. Thanks!

Ugh.  That's what I suspected, but it really shouldn't be necessary.
I've added a bug about it, targeting 2.1:
https://sourceforge.net/tracker/?func=detail&aid=3036645&group_id=50884&atid=461322

(I'd try to get it fixed in 2.0, but historically the handling of
TAILQ in user-visible headers has lead to some hard-to-diagnose bugs
in older versions of Libevent, so rather than take the risk of making
things much worse for some people in order to remove this (not so bad
but kind of annoying) issue in a stable release, I think we're better
off trying to fix it in the next alpha series.)

yrs,
-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.