Bug#811725: sipxtapi: FTBFS with GCC 6: narrowing conversion

Martin Michlmayr tbm at hpe.com
Wed Jan 20 01:43:34 UTC 2016


Package: sipxtapi
Version: 3.3.0~test17-1
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
...
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../sipXportLib/include -I../../sipXcallLib/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_SSL -DDEFAULT_CODECS_PATH=\"/usr/lib/x86_64-linux-gnu/sipxtapi/codecs\" -DSIPX_TMPDIR=\"/var/tmp\" -DSIPX_CONFDIR=\"/etc/sipxpbx\" -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_SPEEX -D__pingtel_on_posix__ -D_linux_ -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -Wall -Wformat -Wwrite-strings -Wpointer-arith -c os/OsExcept.cpp -fPIE -o libsipXport_la-OsExcept.o >/dev/null 2>&1
> os/OsEncryption.cpp:62:1: error: narrowing conversion of '201u' from 'unsigned char' to 'char' inside { } [-Wnarrowing]
>  };
>  ^
> 
> os/OsEncryption.cpp:62:1: error: narrowing conversion of '153u' from 'unsigned char' to 'char' inside { } [-Wnarrowing]
> os/OsEncryption.cpp:62:1: error: narrowing conversion of '234u' from 'unsigned char' to 'char' inside { } [-Wnarrowing]
> os/OsEncryption.cpp:62:1: error: narrowing conversion of '242u' from 'unsigned char' to 'char' inside { } [-Wnarrowing]

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



More information about the Pkg-voip-maintainers mailing list