Try to add -Wno-error=unused-parameter