diff options
author | Jim Meyering <jim@meyering.net> | 2013-01-06 11:37:15 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2013-01-06 11:37:15 +0100 |
commit | 1c659d5cc6830c6f4f26660e9049582afbad3fd3 (patch) | |
tree | 5e7a184980a1657195ff75b209389867932e3752 /configure.ac | |
parent | ab9aecfc64b5a7f6ad70ea93bf76c007614220fd (diff) | |
download | parted-1c659d5cc6830c6f4f26660e9049582afbad3fd3.tar.gz |
maint: avoid new warning/error with gcc-4.8.0 20130105
* configure.ac (WERROR_CFLAGS): Disable -Wsuggest-attribute=format.
It was suggesting to apply the gnu_printf attribute to vsnprintf.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index fef0b53..b04eb3f 100644 --- a/configure.ac +++ b/configure.ac @@ -235,6 +235,7 @@ if test "$gl_gcc_warnings" = yes; then nw="$nw -Wstrict-overflow" # expr.c, pr.c, tr.c, factor.c nw="$nw -Wstack-protector" # libparted/label/gpt.c # ?? -Wstrict-overflow + nw="$nw -Wsuggest-attribute=format" # suggests to use gnu_printf for vsnprintf gl_MANYWARN_ALL_GCC([ws]) gl_MANYWARN_COMPLEMENT([ws], [$ws], [$nw]) |