Added more compilation flags

-Wincompatible-pointer-types
-Wtype-limits
-Werror=type-limits