Package: fs-uae
Version: 2.6.2+dfsg-3
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
...
> g++ -DHAVE_CONFIG_H -I.  -DLINUX -DUAE -DFSUAE -I./flac/include -I./gen 
> -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include 
> -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include  -I./manymouse  
> -I./src/slirp/include -I./libudis86/include  -I./prowizard/include 
> -I./softfloat  -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 
> -I/usr/include/libdrm -pthread -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DLUA_USE_POSIX 
> -I/usr/include/AL -I/usr/include/libdrm -I/usr/include/libpng12 -D_REENTRANT 
> -I/usr/include/SDL2   -fno-strict-overflow -Wmissing-declarations -Waddress 
> -fvisibility=hidden -I/usr/include/mpeg2dec -g -O2 -fstack-protector-strong 
> -Wformat -Werror=format-security -c -o src/expansion.o src/expansion.cpp
> src/expansion.cpp:2537:1: error: narrowing conversion of '2148532239u' from 
> 'unsigned int' to 'int' inside { } [-Wnarrowing]
>  };
>  ^
> 
> src/expansion.cpp:2537:1: error: narrowing conversion of '2148532225u' from 
> 'unsigned int' to 'int' inside { } [-Wnarrowing]
> src/expansion.cpp:2537:1: error: narrowing conversion of '2148532230u' from 
> 'unsigned int' to 'int' inside { } [-Wnarrowing]
> src/expansion.cpp:2537:1: error: narrowing conversion of '2148532232u' from 
> 'unsigned int' to 'int' inside { } [-Wnarrowing]
> src/expansion.cpp:2537:1: error: narrowing conversion of '2148532237u' from 
> 'unsigned int' to 'int' inside { } [-Wnarrowing]
> src/expansion.cpp:2537:1: error: narrowing conversion of '2148532238u' from 
> 'unsigned int' to 'int' inside { } [-Wnarrowing]
> src/expansion.cpp:2537:1: error: narrowing conversion of '2148532244u' from 
> 'unsigned int' to 'int' inside { } [-Wnarrowing]
> src/expansion.cpp:2537:1: error: narrowing conversion of '2148532241u' from 
> 'unsigned int' to 'int' inside { } [-Wnarrowing]
> src/expansion.cpp:2537:1: error: narrowing conversion of '2148532250u' from 
> 'unsigned int' to 'int' inside { } [-Wnarrowing]
> src/expansion.cpp:2537:1: error: narrowing conversion of '2148532251u' from 
> 'unsigned int' to 'int' inside { } [-Wnarrowing]
> src/expansion.cpp:2537:1: error: narrowing conversion of '2148532252u' from 
> 'unsigned int' to 'int' inside { } [-Wnarrowing]
> src/expansion.cpp:2537:1: error: narrowing conversion of '2148532253u' from 
> 'unsigned int' to 'int' inside { } [-Wnarrowing]
> src/expansion.cpp:2537:1: warning: converting to non-pointer type 'int' from 
> NULL [-Wconversion-null]
> src/expansion.cpp:2537:1: warning: converting to non-pointer type 'int' from 
> NULL [-Wconversion-null]
> src/expansion.cpp:2537:1: error: narrowing conversion of '2148532233u' from 
> 'unsigned int' to 'int' inside { } [-Wnarrowing]
> src/expansion.cpp:2859:1: warning: converting to non-pointer type 'int' from 
> NULL [-Wconversion-null]
>  };
>  ^
> 
> Makefile:4156: recipe for target 'src/expansion.o' failed
> make[3]: *** [src/expansion.o] Error 1

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

Reply via email to