[supertransball2] 07/13: Update gcc-6-convert-bool.patch
Markus Koschany
apo at moszumanska.debian.org
Thu Jul 7 22:47:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository supertransball2.
commit be464372a50e70c89c67f3572c5a6d869b22b5c8
Author: Markus Koschany <apo at debian.org>
Date: Fri Jul 8 00:21:03 2016 +0200
Update gcc-6-convert-bool.patch
---
debian/patches/gcc-6-convert-bool.patch | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/patches/gcc-6-convert-bool.patch b/debian/patches/gcc-6-convert-bool.patch
index 1c30e66..6a6a40f 100644
--- a/debian/patches/gcc-6-convert-bool.patch
+++ b/debian/patches/gcc-6-convert-bool.patch
@@ -2,6 +2,13 @@ From: Markus Koschany <apo at debian.org>
Date: Thu, 7 Jul 2016 23:54:34 +0200
Subject: gcc-6 convert bool
+The current C++ standard only allows integer literals to be used as null
+pointer constants, so other constants such as false and (1 - 1) cannot be used
+where a null pointer is desired. Code that fails to compile with this error
+should be changed to use nullptr, or 0, or NULL.
+
+Debian-Bug: https://bugs.debian.org/811617
+Forwarded: no
---
sources/auxiliar.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/supertransball2.git
More information about the Pkg-games-commits
mailing list