Package: vnc4
Version: 4.1.1+X4.3.0-37.6
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
...
> make[2]: Entering directory '/<<BUILDDIR>>/vnc4-4.1.1+X4.3.0/unix/tx'
> c++  -DX_DISPLAY_MISSING=1  -I../../common   -Wall -g -Wall  -c TXWindow.cxx
> TXWindow.cxx: In static member function 'static void TXWindow::init(Display*, 
> const char*)':
> TXWindow.cxx:93:76: error: narrowing conversion of '128' from 'int' to 'char' 
> inside { } [-Wnarrowing]
>    static char tickBits[] = { 0x80, 0xc0, 0xe2, 0x76, 0x3e, 0x1c, 0x08, 0x00};
>                                                                             ^
> 
> TXWindow.cxx:93:76: error: narrowing conversion of '192' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> TXWindow.cxx:93:76: error: narrowing conversion of '226' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> Makefile:55: recipe for target 'TXWindow.o' failed
> make[2]: *** [TXWindow.o] Error 1

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

Reply via email to