Bug#811787: irrlicht: FTBFS with GCC 6: narrowing conversion

Martin Michlmayr tbm at hpe.com
Wed Jan 20 02:01:03 UTC 2016


Package: irrlicht
Version: 1.8.3+dfsg1-1
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.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pipe -fno-exceptions -fstrict-aliasing -fexpensive-optimizations -O3 -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -I../../include  -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1  -c -o aesGladman/sha2.o aesGladman/sha2.cpp
> aesGladman/sha2.cpp:392:1: error: narrowing conversion of '13096744586834688815ul' from 'long unsigned int' to 'sha2_64t {aka long int}' inside { } [-Wnarrowing]
>  };
>  ^
> 
> aesGladman/sha2.cpp:392:1: error: narrowing conversion of '16840607885511220156ul' from 'long unsigned int' to 'sha2_64t {aka long int}' inside { } [-Wnarrowing]
> aesGladman/sha2.cpp:392:1: error: narrowing conversion of '10538285296894168987ul' from 'long unsigned int' to 'sha2_64t {aka long int}' inside { } [-Wnarrowing]
> aesGladman/sha2.cpp:392:1: error: narrowing conversion of '12329834152419229976ul' from 'long unsigned int' to 'sha2_64t {aka long int}' inside { } [-Wnarrowing]
> aesGladman/sha2.cpp:392:1: error: narrowing conversion of '15566598209576043074ul' from 'long unsigned int' to 'sha2_64t {aka long int}' inside { } [-Wnarrowing]
> aesGladman/sha2.cpp:392:1: error: narrowing conversion of '9286055187155687089ul' from 'long unsigned int' to 'sha2_64t {aka long int}' inside { } [-Wnarrowing]
> aesGladman/sha2.cpp:392:1: error: narrowing conversion of '11230858885718282805ul' from 'long unsigned int' to 'sha2_64t {aka long int}' inside { } [-Wnarrowing]
> aesGladman/sha2.cpp:392:1: error: narrowing conversion of '13951009754708518548ul' from 'long unsigned int' to 'sha2_64t {aka long int}' inside { } [-Wnarrowing]
> aesGladman/sha2.cpp:392:1: error: narrowing conversion of '16472876342353939154ul' from 'long unsigned int' to 'sha2_64t {aka long int}' inside { } [-Wnarrowing]
...

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Pkg-games-devel mailing list