Package: jlint
Version: 3.0-4.5
Severity: important
User: debian-...@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++ -c -Wall -O2 -g access_desc.cc
> In file included from class_desc.hh:4:0,
>                  from access_desc.hh:8,
>                  from access_desc.cc:1:
> types.hh:154:1: error: narrowing conversion of '4294967168u' from 'unsigned 
> int' to 'int4 {aka int}' inside { } [-Wnarrowing]
>  };
>  ^
> 
> types.hh:154:1: error: narrowing conversion of '4294934528u' from 'unsigned 
> int' to 'int4 {aka int}' inside { } [-Wnarrowing]
> types.hh:154:1: error: narrowing conversion of '2147483648u' from 'unsigned 
> int' to 'int4 {aka int}' inside { } [-Wnarrowing]
> Makefile:146: recipe for target 'access_desc.o' failed
> make[1]: *** [access_desc.o] Error 1

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

Reply via email to