Skip to content

Commit

Permalink
Remove -Wsuggest-attribute=format
Browse files Browse the repository at this point in the history
  • Loading branch information
StefansM committed Feb 2, 2019
1 parent ee24226 commit e74a9f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ LIBS=$libs
AX_COMPILER_FLAGS()

# Remove warning for declaration-after-statement: this does not apply to C99
# -Wsuggest-attribute=format is also annoying.
WARN_CFLAGS=$(AS_ECHO(["$WARN_CFLAGS"]) | dnl
$SED 's/-W\(error=\)\?declaration-after-statement *//g')
$SED 's/-W\(error=\)\?declaration-after-statement *//g' | dnl
%SED 's/-W\(error=\)\?suggest-attribute=format *//g')
AC_SUBST([WARN_CFLAGS])

# OSX requires linking against libiconv
Expand Down

0 comments on commit e74a9f3

Please sign in to comment.