Package: ragel
Version: 6.8-1
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. -I../aapl   -Wall -g -O2 -MT ragel-common.o -MD -MP 
> -MF .deps/ragel-common.Tpo -c -o ragel-common.o `test -f 'common.cpp' || echo 
> './'`common.cpp
> common.cpp:38:1: error: narrowing conversion of '18446744073709551615ul' from 
> 'long unsigned int' to 'long long int' inside { } [-Wnarrowing]
>  };
>  ^
> 
> common.cpp:92:1: error: narrowing conversion of '18446744073709551615ull' 
> from 'long long unsigned int' to 'long long int' inside { } [-Wnarrowing]
>  };
>  ^
> 
> common.cpp:120:1: error: narrowing conversion of '18446744073709551615ul' 
> from 'long unsigned int' to 'long long int' inside { } [-Wnarrowing]
>  };
>  ^
> 
> Makefile:571: recipe for target 'ragel-common.o' failed

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

Reply via email to