On Tue, Jul 23, 2019 at 12:26:56AM -0700, Jerry wrote: > Hello. I am trying to compile libevent 2.1.10 on MacOS X 10.9 with Xcode > 5.1. A warning and error message was generated and is appended below. > > The compiler does not seem to expand or define the __attribute__ macro. The > EVUTIL_FALLTHROUGH macro is defined via EVUTIL_HAS_ATTRIBUTE, which is > simply a wrapper for __has_attribute, which is a feature of clang. The > comment says that clang 3.2-3.5 has a bug with __has_attribute, does the bug > continue even in clang 5.1?
Hi! This issue should be fixed by the following patch: https://github.com/libevent/libevent/commit/7d569b0fafe76e9036695ccc9d22d2195c214bce -- Azat. *********************************************************************** To unsubscribe, send an e-mail to [email protected] with unsubscribe libevent-users in the body.
