add -Wall to compile flags