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
I updated my XCode yesterday, now I can not compile jemalloc's master branch.
Error:
include/jemalloc/internal/../jemalloc.h:226:28: error: exception specification in declaration does not match previous declaration
void JEMALLOC_NOTHROW *je_malloc(size_t size)
^
include/jemalloc/internal/../jemalloc.h:69:21: note: expanded from macro 'je_malloc'
# define je_malloc malloc
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/malloc/_malloc.h:40:7: note:
previous declaration is here
void *malloc(size_t __size) __result_use_check __alloc_size(1);
^
In file included from src/jemalloc_cpp.cpp:9:
In file included from include/jemalloc/internal/jemalloc_preamble.h:21:
The text was updated successfully, but these errors were encountered:
This should be fixed in current DEV head -- patching in 3b4a03b should fix things. (If you're getting jemalloc via homebrew, I think that they've already backported the patch).
I updated my XCode yesterday, now I can not compile jemalloc's master branch.
Error:
The text was updated successfully, but these errors were encountered: