[Pkg-gnupg-commit] [gpgme] 20/53: Add warning flags for c++ compiler, too

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Oct 24 19:26:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gpgme.

commit 4984cc93db6b55f2420a9abd844c074a5fb4ed0c
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Wed Oct 5 16:55:14 2016 +0200

    Add warning flags for c++ compiler, too
    
    * configure.ac (CXXFLAGS): Add Wall and Wextra.
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index efa1f19..114225a 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list