add -Wno-error=return-type