aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-10-05 14:55:14 +0000
committerAndre Heinecke <[email protected]>2016-10-05 14:55:14 +0000
commit4984cc93db6b55f2420a9abd844c074a5fb4ed0c (patch)
tree16323eceaf93de36e193565c4655494611b6e258
parentqt: Fix unused variable warnings (diff)
downloadgpgme-4984cc93db6b55f2420a9abd844c074a5fb4ed0c.tar.gz
gpgme-4984cc93db6b55f2420a9abd844c074a5fb4ed0c.zip
Add warning flags for c++ compiler, too
* configure.ac (CXXFLAGS): Add Wall and Wextra.
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index efa1f19c..114225ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -588,6 +588,7 @@ if test "$GCC" = yes; then
CFLAGS="$CFLAGS -Wno-missing-field-initializers"
CFLAGS="$CFLAGS -Wno-sign-compare"
fi
+ CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wno-shadow"
AC_MSG_CHECKING([if gcc supports -Wpointer-arith])
_gcc_cflags_save=$CFLAGS