You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
direct access to buffer in "struct evbuffer" is forbidden in newer version of libevent(2.0.10):
clang -g -O2 -std=gnu99 -Wall -c -o redsocks.o redsocks.c
redsocks.c:185:69: error: incomplete definition of type 'struct evbuffer' log_vwrite(file, line, func, do_errno, priority, (const char)fmt->buffer, ap);
~~~^
In file included from redsocks.c:29:
In file included from /usr/include/event.h:194:
/usr/include/event2/buffer.h:78:8: note: forward declaration of 'struct evbuffer'
struct evbuffer;
^
1 error generated.
make: *_* [redsocks.o] Error 1
i guess evbuffer is not the best choice as variable length buffer of printf.
The text was updated successfully, but these errors were encountered:
direct access to buffer in "struct evbuffer" is forbidden in newer version of libevent(2.0.10):
clang -g -O2 -std=gnu99 -Wall -c -o redsocks.o redsocks.c
redsocks.c:185:69: error: incomplete definition of type 'struct evbuffer'
log_vwrite(file, line, func, do_errno, priority, (const char)fmt->buffer, ap);
~~~^
In file included from redsocks.c:29:
In file included from /usr/include/event.h:194:
/usr/include/event2/buffer.h:78:8: note: forward declaration of 'struct evbuffer'
struct evbuffer;
^
1 error generated.
make: *_* [redsocks.o] Error 1
i guess evbuffer is not the best choice as variable length buffer of printf.
The text was updated successfully, but these errors were encountered: