Package: realtimebattle
Version: 1.0.8-14
Severity: important
User: [email protected]
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
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -pthread 
> -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include 
> -I/usr/include/atk-1.0 -I/usr/include/gtk-2.0 
> -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ 
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz 
> -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 
> -I/usr/include/freetype2 -I/usr/include/libpng12 
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -Wdate-time -D_FORTIFY_SOURCE=2 
> -DNDEBUG  -DNO_NETWORK -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security  -MT realtimebattle-Structs.o -MD -MP -MF 
> ".deps/realtimebattle-Structs.Tpo" -c -o realtimebattle-Structs.o `test -f 
> 'Structs.cc' || echo './'`Structs.cc; \
> then mv -f ".deps/realtimebattle-Structs.Tpo" 
> ".deps/realtimebattle-Structs.Po"; else rm -f 
> ".deps/realtimebattle-Structs.Tpo"; exit 1; fi
> Structs.cc: In member function 'void pixmap_t::set_pixmap(GdkColor&, 
> GdkWindow*)':
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
>      0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f, 0xff, 0x3f};
>                                                    ^
> 
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
> Structs.cc:52:51: error: narrowing conversion of '255' from 'int' to 'gchar 
> {aka char}' inside { } [-Wnarrowing]
> Makefile:785: recipe for target 'realtimebattle-Structs.o' failed
> make[3]: *** [realtimebattle-Structs.o] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'

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

Reply via email to