[sr-dev] mem compiler warnings on trunk
Daniel-Constantin Mierla
miconda at gmail.com
Sun Jan 24 13:37:48 CET 2016
What is the gcc version and cpu architecture? The prototypes should be
equivalent, I am not getting the warnings on couple of debians/ubuntus
and macosx.
Cheers,
Daniel
On 22/01/16 03:24, Ovidiu Sas wrote:
> -- CC (gcc) [kamailio] mem/tlsf_malloc.o
> mem/tlsf_malloc.c: In function ‘tlsf_malloc_init_pkg_manager’:
> mem/tlsf_malloc.c:1353:16: warning: assignment from incompatible pointer type
> ma.xmalloc = tlsf_malloc;
> ^
> mem/tlsf_malloc.c:1355:16: warning: assignment from incompatible pointer type
> ma.xrealloc = tlsf_realloc;
> ^
> mem/tlsf_malloc.c:1358:16: warning: assignment from incompatible pointer type
> ma.xavailable = tlsf_available;
> ^
> mem/tlsf_malloc.c: In function ‘tlsf_malloc_init_shm_manager’:
> mem/tlsf_malloc.c:1501:20: warning: assignment from incompatible pointer type
> ma.xmalloc_unsafe = tlsf_malloc;
> ^
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu
More information about the sr-dev
mailing list