ca8e9f0342
Silence all casting errors by using casting functions. * lib/mes/cast.c: New file. * build-aux/configure-lib.sh (libmes_SOURCES): Add it. * lib/m2/cast.c: New file. * kaem.run: Add it. * simple.make: Add them both. * include/mes/lib.h: Add cast prototypes. * include/m2/lib.h: Likewise. * lib/linux/_getcwd.c (_getcwd): Use them. * lib/linux/access.c (access): Likewise. * lib/linux/brk.c (brk): Likewise. * lib/linux/chmod.c (chmod): Likewise. * lib/linux/clock_gettime.c (clock_gettime): Likewise. * lib/linux/gettimeofday.c (gettimeofday): Likewise. * lib/linux/unlink.c (unlink): Likewise. * lib/mes/fdputc.c (fdputc): Likewise. * lib/stdio/putchar.c (putchar): Likewise. * lib/linux/malloc.c (malloc): Likewise. |
||
---|---|---|
.. | ||
arm-mes | ||
arm-mes-gcc | ||
arm-mes-mescc | ||
ctype | ||
dirent | ||
freebsd | ||
gnu | ||
linux | ||
m2 | ||
mach | ||
math | ||
mes | ||
posix | ||
stdio | ||
stdlib | ||
string | ||
stub | ||
tests | ||
x86-mes | ||
x86-mes-gcc | ||
x86-mes-mescc | ||
x86_64-mes | ||
x86_64-mes-gcc | ||
x86_64-mes-mescc | ||
libtcc1.c |