Bug#811763: clipper: FTBFS with GCC 6: narrowing conversion

Martin Michlmayr tbm at hpe.com
Wed Jan 20 01:54:46 UTC 2016


Package: clipper
Version: 2.1.20130601-2
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../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c spacegroup_data.cpp  -fPIC -DPIC -o .libs/libclipper_core_la-spacegroup_data.o
> spacegroup_data.cpp:198:1: error: narrowing conversion of '2610067359u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
>  };
>  ^
> 
> spacegroup_data.cpp:198:1: error: narrowing conversion of '2962048719u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '3813317101u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '3877911484u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '2287542463u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '3917543540u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '4258748853u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '4067859496u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '3444278312u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '2614353140u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '3651312556u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '3484884337u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '2324054638u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '4148985731u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '3933373658u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '2979257203u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '4231977723u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '3591180704u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '4157935919u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '4223201675u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '2748618130u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> spacegroup_data.cpp:198:1: error: narrowing conversion of '3102871870u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
...

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



More information about the debian-science-maintainers mailing list