Currently jemalloc doesn't compile free of warnings with -Wextra enabled in GCC and clang (#1019 (comment))
-Wextra has helped diagnose bugs in the past:
It might be worth it to fix the warnings being reported here and raise the level from -Wall to -Wextra for those two compilers.