Turn on -Wall -Wno-unused-function