<p dir="ltr">If you have a patch, I can test it for you.</p>
<p dir="ltr">-ovidiu</p>
<div class="gmail_quote">On May 11, 2016 10:56,  <<a href="mailto:camille.oudot@orange.com">camille.oudot@orange.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> debian jessie c compiler complains about these in kamailio 4.4:<br>
><br>
> CC (gcc) [sip-proxy]            mem/tlsf_malloc.o<br>
> mem/tlsf_malloc.c: In function 'tlsf_malloc_init_pkg_manager':<br>
> mem/tlsf_malloc.c:1353:16: warning: assignment from incompatible pointer type<br>
>   ma.xmalloc    = tlsf_malloc;<br>
<br>
Hi,<br>
<br>
is this happening on a x86 32 bits machine? This issue was pointed out already<br>
by Ovidu Sas: <<a href="http://lists.sip-router.org/pipermail/sr-dev/2016-January/thread.html#32757" rel="noreferrer" target="_blank">http://lists.sip-router.org/pipermail/sr-dev/2016-January/thread.html#32757</a>>,<br>
but I had no 32 bits machine to test this on, and also no idea why it does not<br>
work (I see no error message on my 64 bits Debian Jessie).<br>
<br>
All I see is that we are assigning a<br>
    void* (*)(tlsf_t, size_t)<br>
to a<br>
    void* (*)(void* , unsigned long)<br>
yet tlsf_t is defined as `typedef void* tlsf_t`, and size_t and unsigned long<br>
have the same width on this architecture...<br>
<br>
Do compiling with clang generates an error too? If yes, is the error message<br>
more specific about the issue?<br>
<br>
Any other idea?<br>
<br>
--<br>
Camille<br>
<br>
_________________________________________________________________________________________________________________________<br>
<br>
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc<br>
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler<br>
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,<br>
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.<br>
<br>
This message and its attachments may contain confidential or privileged information that may be protected by law;<br>
they should not be distributed, used or copied without authorisation.<br>
If you have received this email in error, please notify the sender and delete this message and its attachments.<br>
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.<br>
Thank you.<br>
<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>