use -Wall and -Werror in compilation