[sr-dev] mem compiler warnings on trunk

Camille Oudot camille.oudot at orange.com
Tue Jan 26 14:44:30 CET 2016


Le Mon, 25 Jan 2016 22:18:24 -0500,
Ovidiu Sas <osas at voipembedded.com> a écrit :

> 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.

TLSF prototypes use size_t to represent chunk size, while the memory API
expects unsigned long. I thought this would be equivalent (same size
and same signedness). What do sizeof(size_t) and sizeof(unsigned long)
return on this platform?

-- 
Camille



More information about the sr-dev mailing list