[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#811759: kdepim-runtime: FTBFS with GCC 6: narrowing conversion



Package: kdepim-runtime
Version: 4:4.14.10-2
Severity: important
User: debian-gcc@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
...
> make -f kcm/CMakeFiles/kcm_akonadi_resources.dir/build.make kcm/CMakeFiles/kcm_akonadi_resources.dir/depend
> make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> /<<PKGBUILDDIR>>/plugins/tests/kcalcoreserializertest.cpp: In member function 'void KCalCoreSerializerTest::testCharsets()':
> /<<PKGBUILDDIR>>/plugins/tests/kcalcoreserializertest.cpp:106:49: error: narrowing conversion of '252' from 'int' to 'char' inside { } [-Wnarrowing]
>        const char latin1_umlaut[] = { 0xFC, '\0' };
>                                                  ^
> 
> /<<PKGBUILDDIR>>/plugins/tests/kcalcoreserializertest.cpp:114:52: error: narrowing conversion of '195' from 'int' to 'char' inside { } [-Wnarrowing]
>        const char utf_umlaut[] = { 0xC3, 0XBC, '\0' };
>                                                     ^
> 
> /<<PKGBUILDDIR>>/plugins/tests/kcalcoreserializertest.cpp:114:52: error: narrowing conversion of '188' from 'int' to 'char' inside { } [-Wnarrowing]

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


Reply to: