Bug#811778: din: FTBFS with GCC 6: narrowing conversion

Philip Chung philipchung1995 at yahoo.com
Fri Sep 2 04:17:27 UTC 2016


Control: tags -1 patch

On Tue, 19 Jan 2016 17:58:59 -0800 Martin Michlmayr <tbm at hpe.com> wrote:
> Package: din
> Version: 5.2.1-3
> Severity: important
> User: debian-gcc at lists.debian.org
> Usertags: ftbfs-gcc-6 gcc-6-narrowing
> 
> This package fails to build with GCC 6.  GCC 6 has not been released
> yet, but it's expected that GCC 6 will become the default compiler for
> stretch.

Attached is a patch to fix the errors. The package now builds on my
amd64 system.

The patch redefines some constants in include/random.h as unsigned, for
consistency with the variables they are used with. (Though, strictly
speaking, only MATRIX_A needs to be redefined for the package to build.)

Philip Chung
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-random-constants.patch
Type: text/x-patch
Size: 1279 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20160901/e1547f8a/attachment.bin>


More information about the pkg-multimedia-maintainers mailing list