use -Werror with -Wall and -Wunreachable-code flags