-
Notifications
You must be signed in to change notification settings - Fork 15
[BUILD] jemalloc build error on macOS Catalina #121
Copy link
Copy link
Open
Description
What OS are you using?
macOS Catalina
What compiler are you using? What version?
Apple clang version 11.0.3
What's your CMake arguments?
cmake .. -DBUILD_JAVA_CLIENT=OFF
What is the output of the CMake and make commands on a fresh build? (Please sanitize any sensitive information)
make
In file included from src/jemalloc_cpp.cpp:9:
In file included from include/jemalloc/internal/jemalloc_preamble.h:21:
include/jemalloc/internal/../jemalloc.h:215:28: error: exception specification in declaration does not match previous declaration
void JEMALLOC_NOTHROW *je_malloc(size_t size)
^
include/jemalloc/internal/../jemalloc.h:66: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);
^
Work around by switching to the gcc.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels