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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev