Package: imspector
Version: 0.9-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++ -Wall -O2 -fPIC  icqprotocolplugin.cpp -c
> icqprotocolplugin.cpp: In function 'int loginpacket(char**, char*, int, bool, 
> bool, std::__cxx11::string&)':
> icqprotocolplugin.cpp:232:2: error: narrowing conversion of '243' from 'int' 
> to 'char' inside { } [-Wnarrowing]
>   };
>   ^
> 
> icqprotocolplugin.cpp:232:2: error: narrowing conversion of '129' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> icqprotocolplugin.cpp:232:2: error: narrowing conversion of '196' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> icqprotocolplugin.cpp:232:2: error: narrowing conversion of '134' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> icqprotocolplugin.cpp:232:2: error: narrowing conversion of '219' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> icqprotocolplugin.cpp:232:2: error: narrowing conversion of '146' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> icqprotocolplugin.cpp:232:2: error: narrowing conversion of '163' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> icqprotocolplugin.cpp:232:2: error: narrowing conversion of '185' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> icqprotocolplugin.cpp:232:2: error: narrowing conversion of '230' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> icqprotocolplugin.cpp:232:2: error: narrowing conversion of '149' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> icqprotocolplugin.cpp: In function 'int snacpacket(char**, char*, int, bool, 
> std::vector<imevent>&, std::__cxx11::string&)':
> icqprotocolplugin.cpp:512:8: error: narrowing conversion of '209' from 'int' 
> to 'char' inside { } [-Wnarrowing]
>         };
>         ^
> 
> icqprotocolplugin.cpp:512:8: error: narrowing conversion of '130' from 'int' 
> to 'char' inside { } [-Wnarrowing]
> Makefile:121: recipe for target 'icqprotocolplugin.o' failed
> make[1]: *** [icqprotocolplugin.o] Error 1

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

Reply via email to