[Pkg-libvirt-commits] [libguestfs] 05/26: build: Remove -Wno-declaration-after-statement.
Hilko Bengen
bengen at moszumanska.debian.org
Thu Mar 20 23:06:09 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag upstream/1.25.46
in repository libguestfs.
commit 6035c764e67b9c142034848db7b3dd6390233420
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Mon Mar 17 18:56:57 2014 +0000
build: Remove -Wno-declaration-after-statement.
We have generally forbidden declaration-after-statement in our code
(although there are plenty of places that do it). In any case this
warning is not in the default set, so we don't need to turn off the
warning.
---
configure.ac | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index d6c33b5..1971225 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,9 +146,8 @@ if test "$gl_gcc_warnings" = yes; then
gl_WARN_ADD([-Werror], [WERROR_CFLAGS])
AC_SUBST([WERROR_CFLAGS])
- nw=
# This, $nw, is the list of warnings we disable.
- nw="$nw -Wdeclaration-after-statement" # too useful to forbid
+ nw=
nw="$nw -Waggregate-return" # anachronistic
nw="$nw -Wc++-compat" # We don't care about C++ compilers
nw="$nw -Wundef" # Warns on '#if GNULIB_FOO' etc in gnulib
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list