[deal.ii] 03/03: Silence a two warnings for gcc-6

Matthias Maier tamiko-guest at moszumanska.debian.org
Tue Aug 9 17:42:33 UTC 2016


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

tamiko-guest pushed a commit to branch master
in repository deal.ii.

commit baae82a192229ba8229275e4bf7ce6a7cd7c4ab3
Author: Matthias Maier <tamiko at 43-1.org>
Date:   Tue Aug 9 12:36:54 2016 -0500

    Silence a two warnings for gcc-6
---
 debian/changelog | 2 ++
 debian/rules     | 1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 681f11e..516d5e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
 deal.ii (8.4.1-2) UNRELEASED; urgency=medium
 
+  * Silence two (in our case harmless) warnings for gcc-6 that trigger in
+    debug assertions.
   [ Graham Inggs ]
   * Build-depend on unversioned Boost packages.
 
diff --git a/debian/rules b/debian/rules
index 3a4a947..e35bfb6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,7 @@ DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
+	-DDEAL_II_CXX_FLAGS="-Wno-nonnull-compare -Wno-address" \
 	-DCMAKE_PREFIX_PATH="/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/openmpi;/usr/include/hdf5/openmpi" \
 	-DCMAKE_BUILD_TYPE=DebugRelease \
 	-DDEAL_II_ALLOW_AUTODETECTION=OFF \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/deal.ii.git



More information about the debian-science-commits mailing list