Comments (8)
Ow! That's a genuine bug. AFAICT that function never got written. How annoying!
Should be fixed by 3b3e21d
from libevent.
I have double and triple checked that I have the latest version of libevent and I keep getting
"event_enable_debug_logging not declared in this scope" and "EVENT_DBG_ALL not declared in this scope" errors. I have checked the source code in the event2/event.h header that the libevent documentation says this function and macro are contained in and they are not there. Have they been implemented? Are the deprecated and no one documented it? If so what should I use instead of them?
from libevent.
They are not deprecated, but you can have too damn old version I guess, could you provide next info:
- environment (os/distribution)
- version of libevent
from libevent.
It was introduced in e30a82f - release-2.0.10-stable-5-ge30a82f1
from libevent.
I appreciate the reply azat, I'm running an Ubuntu 16.04 VM and I have version 2.0.21 of libevent. Any other ideas as to what might be wrong? I've tried updating the libevent-dev package, but that doesn't seem to help at all. Thanks in advance.
from libevent.
So this fails, yes?
#include <event2/event.h>
int main()
{
event_enable_debug_logging(EVENT_DBG_ALL);
return 0;
}
gcc -levent_core test.c || gcc -levent test.c
?
from libevent.
Yes, this fails.
from libevent.
Yeah, It was introduced around 2.0.10, but it never merged to 2.0, IOW it is only in 2.1, and I'm suggesting you to switch to 2.1, since 2.0 is more-or-less EOL.
from libevent.
Related Issues (20)
- question about `bufferevent_filter_new` and `bufferevent_getcb` HOT 1
- stack-buffer-overflow at evutil_parse_sockaddr_port HOT 15
- HTTP Server sample fails to compile for Windows x64
- feature request: websocket api including client and server
- bufferevent_replacefd close socket when bufferevent‘s socket fd is eq new fd HOT 3
- The callback of evsignal SIGUSR1 Can't be called HOT 1
- Privacy Manifest file for iOS HOT 5
- 📚 Where is documentation? HOT 4
- WSOptions enum value bug
- Potential NULL pointer dereference HOT 1
- Potential Null dereference in test-dumpevents.c HOT 1
- Potential Null pointer dereference in bufferevent_openssl.c HOT 1
- Potential Null pointer dereference in regress_ws.c HOT 1
- Potential Null pointer dereference in time-test.c HOT 1
- Failure making HTTP request to unix socket HOT 2
- Coverage report is broken
- Undefined symbols for architecture after building libevent HOT 2
- libevent for iOS HOT 8
- MacOS CI is broken HOT 3
- event_process_active_single_queue: Use of memory after it is freed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libevent.