Git Product home page Git Product logo

Comments (8)

nmathewson avatar nmathewson commented on May 19, 2024

Ow! That's a genuine bug. AFAICT that function never got written. How annoying!

Should be fixed by 3b3e21d

from libevent.

zane-a-karl avatar zane-a-karl commented on May 19, 2024

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.

azat avatar azat commented on May 19, 2024

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.

azat avatar azat commented on May 19, 2024

It was introduced in e30a82f - release-2.0.10-stable-5-ge30a82f1

from libevent.

zane-a-karl avatar zane-a-karl commented on May 19, 2024

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.

azat avatar azat commented on May 19, 2024

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.

zane-a-karl avatar zane-a-karl commented on May 19, 2024

Yes, this fails.

from libevent.

azat avatar azat commented on May 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.