[sr-dev] mem compiler warnings on trunk

Ovidiu Sas osas at voipembedded.com
Tue Jan 26 04:18:24 CET 2016


gcc version 4.9.2 (Debian 4.9.2-10)

$ uname -a
Linux t40 3.16.0-4-586 #1 Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17)
i686 GNU/Linux

debian 8.2 on 32bit.

-ovidiu

On Sun, Jan 24, 2016 at 7:37 AM, Daniel-Constantin Mierla
<miconda at gmail.com> wrote:
> 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
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev



-- 
VoIP Embedded, Inc.
http://www.voipembedded.com



More information about the sr-dev mailing list