[Pkg-netsim-devel] Bug#811737: nam: FTBFS with GCC 6: narrowing conversion
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 01:47:05 UTC 2016
Package: nam
Version: 1.15-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.
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
...
>
> In file included from /<<PKGBUILDDIR>>/main.cc:109:0:
> /<<PKGBUILDDIR>>/bitmap/play.xbm: At global scope:
> /<<PKGBUILDDIR>>/bitmap/play.xbm:7:20: error: narrowing conversion of '240' from 'int' to 'char' inside { } [-Wnarrowing]
> 0x00, 0x00, 0x00};
> ^
>
> /<<PKGBUILDDIR>>/bitmap/play.xbm:7:20: error: narrowing conversion of '240' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/play.xbm:7:20: error: narrowing conversion of '240' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/play.xbm:7:20: error: narrowing conversion of '240' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/play.xbm:7:20: error: narrowing conversion of '240' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/play.xbm:7:20: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/play.xbm:7:20: error: narrowing conversion of '240' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/play.xbm:7:20: error: narrowing conversion of '240' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/play.xbm:7:20: error: narrowing conversion of '240' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/play.xbm:7:20: error: narrowing conversion of '240' from 'int' to 'char' inside { } [-Wnarrowing]
> In file included from /<<PKGBUILDDIR>>/main.cc:110:0:
> /<<PKGBUILDDIR>>/bitmap/back.xbm:7:20: error: narrowing conversion of '192' from 'int' to 'char' inside { } [-Wnarrowing]
> 0x00, 0x00, 0x00};
> ^
>
> /<<PKGBUILDDIR>>/bitmap/back.xbm:7:20: error: narrowing conversion of '240' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/back.xbm:7:20: error: narrowing conversion of '252' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/back.xbm:7:20: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/back.xbm:7:20: error: narrowing conversion of '192' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/back.xbm:7:20: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/back.xbm:7:20: error: narrowing conversion of '240' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/back.xbm:7:20: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/back.xbm:7:20: error: narrowing conversion of '192' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/back.xbm:7:20: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/back.xbm:7:20: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/back.xbm:7:20: error: narrowing conversion of '252' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/back.xbm:7:20: error: narrowing conversion of '240' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/back.xbm:7:20: error: narrowing conversion of '192' from 'int' to 'char' inside { } [-Wnarrowing]
> In file included from /<<PKGBUILDDIR>>/main.cc:111:0:
> /<<PKGBUILDDIR>>/bitmap/stop.xbm:7:20: error: narrowing conversion of '224' from 'int' to 'char' inside { } [-Wnarrowing]
> 0x00, 0x00, 0x00};
> ^
>
> /<<PKGBUILDDIR>>/bitmap/stop.xbm:7:20: error: narrowing conversion of '224' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/stop.xbm:7:20: error: narrowing conversion of '224' from 'int' to 'char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/bitmap/stop.xbm:7:20: error: narrowing conversion of '224' from 'int' to 'char' inside { } [-Wnarrowing]
...
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the Pkg-netsim-devel
mailing list