Remove -pedantic from WARN_CFLAGS. It generates only pointless noise (like about void * and function pointers). Also use newer name for -W: -Wextra.