compilation error for client app w/ clang and 913e9a8

Matthew Hall mhall at mhcomputing.net
Wed Sep 24 00:21:45 PDT 2014


On Wed, Sep 24, 2014 at 01:42:17AM -0400, Qinfan Wu wrote:
> You actually need to include stdbool.h:
> 
> #include <stdbool.h>
> #include <stdlib.h>
> #include <jemalloc/jemalloc.h>

To me this seems buggy.

Shouldn't jemalloc include this, if it requires this to be present?

Another observation... when you compile with jemalloc built with libunwind you 
have to specify -lunwind to get the compile to work. I was wondering if there 
is some script or other place one should look to get the linker flags for the 
current jemalloc.

Matthew.


More information about the jemalloc-discuss mailing list