add 3 warning flags to g++