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
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.
The text was updated successfully, but these errors were encountered:
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.
Could you explain how did you work around this issue? How did you switch to gcc in this case?
Thanks
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
Work around by switching to the gcc.
The text was updated successfully, but these errors were encountered: