[SR-Users] 4.4 compiler warnings on debian jessie

Juha Heinanen jh at tutpro.com
Tue May 10 16:46:40 CEST 2016


debian jessie c compiler complains about these in kamailio 4.4:

CC (gcc) [sip-proxy]		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;
                    ^
it would be highly appreciated to get rid of them.

-- juha



More information about the sr-users mailing list