Update: shellcheck now has a gcc-style output mode.