memcpy warnings on 3.5.0

Eduardo Silva edsiper at gmail.com
Tue Jan 28 23:10:01 PST 2014


> > My guess is that you don't have heap profiling enabled (--enable-prof),
> and that the compiler is complaining about what is effectively dead code.
>  An easy solution is to protect the memcpy() with a conditional:
> >
> >       if (config_prof)
> >
> > I'll make a note to do something like this in order to silence the
> warnings.
>
> I took a slightly different approach:
>
>
> https://github.com/jemalloc/jemalloc/commit/5f60afa01eb2cf7d44024d162a1ecc6cceedcca1
>
> Jason


thanks for your quick response. would make any problem that patch if i set
my own prefix like --with-jemalloc-prefix=je_ ?

regards,

-- 
Eduardo Silva
http://edsiper.linuxchile.cl
http://monkey-project.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jemalloc.net/mailman/jemalloc-discuss/attachments/20140129/e7b97622/attachment.html>


More information about the jemalloc-discuss mailing list