On Thu, 12 Feb 2015 10:35:53 +0000 Matthias Klose <d...@debian.org> wrote:
> Package: src:powermanga
> Version: 0.93-1
> Severity: normal
> Tags: sid stretch
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-5

[...]

> The package fails to build in a test rebuild on at least amd64 with
> gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
> severity of this report may be raised before the stretch release.

Hello Bruno,

please find attached a trivial workaround for a powermanga build failure
with GCC-5. I recommend to remove the -pedantic flag when building
powermanga for production purposes to avoid similar build failures in
the future. Of course it is fine (even encouraged) to use it for testing
/ developing.

Regards,

Markus
From: Markus Koschany <a...@gambaru.de>
Date: Thu, 25 Jun 2015 20:04:04 +0200
Subject: no pedantic build

Forwarded: via e-mail to upstream
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index a502f5f..49db5dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,7 +54,7 @@ if test "x${enable_devel}" = "xyes"; then
   AC_DEFINE(USE_MALLOC_WRAPPER, 1, Define to use a malloc wrapper)
   CFLAGS="-Wall -Werror -pedantic -Wextra -std=gnu99 -g"
 else
-  CFLAGS="-O3 -Werror -Wall -pedantic -Wextra -std=gnu99 $CFLAGS"
+  CFLAGS="-O3 -Werror -Wall -Wextra -std=gnu99 $CFLAGS"
 fi
 
 dnl  Check for SDL_mixer

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to