Hi,

when I try to compile libevent, gcc exits with an error. Sorry I don't
remember the exact error message, but it occurs in evhttp:109, which
is:

TAILQ_ENTRY(evhttp_request) next;

I have to replace this with:

struct {
        struct evhttp_request *tqe_next;        /* next element */
        struct evhttp_request **tqe_prev;       /* address of previous next 
element */
} next;

to get it to compile. It's odd because that's what the macro should
expand to anyway. I'm using gcc 4.1 on Linux.

-- 
Ralph Moritz
Ph: +27 84 626 9070
GPG Public Key: http://ralphm.info/public.gpg
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to