--- Begin Message ---
Package: splat
Version: 1.4.0-2
Severity: important
User: debian-...@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
...
> cp debian/std-parms.h splat.h
> g++ -g -Wall -fomit-frame-pointer -O3 -ffast-math itwom3.0.cpp splat.cpp -o
> splat -lm -lbz2
> itwom3.0.cpp: In function 'double adiff2(double, prop_type&, propa_type&)':
> itwom3.0.cpp:484:31: warning: variable 'dhec' set but not used
> [-Wunused-but-set-variable]
> dro2, drto, dtr, dhh1, dhh2, dhec, dtof, dto1f, drof, dro2f;
> ^~~~
>
> itwom3.0.cpp:485:32: warning: variable 'dfdh' set but not used
> [-Wunused-but-set-variable]
> double a, q, pk, rd, ds, dsl, dfdh, th, wa, ar, wd, sf1, sf2, ec, vv,
> kedr=0.0, arp=0.0,
> ^~~~
>
> itwom3.0.cpp:485:46: warning: variable 'ar' set but not used
> [-Wunused-but-set-variable]
> double a, q, pk, rd, ds, dsl, dfdh, th, wa, ar, wd, sf1, sf2, ec, vv,
> kedr=0.0, arp=0.0,
> ^~
>
> itwom3.0.cpp:485:50: warning: variable 'wd' set but not used
> [-Wunused-but-set-variable]
> double a, q, pk, rd, ds, dsl, dfdh, th, wa, ar, wd, sf1, sf2, ec, vv,
> kedr=0.0, arp=0.0,
> ^~
>
> itwom3.0.cpp:485:54: warning: variable 'sf1' set but not used
> [-Wunused-but-set-variable]
> double a, q, pk, rd, ds, dsl, dfdh, th, wa, ar, wd, sf1, sf2, ec, vv,
> kedr=0.0, arp=0.0,
> ^~~
>
> itwom3.0.cpp:485:64: warning: variable 'ec' set but not used
> [-Wunused-but-set-variable]
> double a, q, pk, rd, ds, dsl, dfdh, th, wa, ar, wd, sf1, sf2, ec, vv,
> kedr=0.0, arp=0.0,
> ^~
>
> itwom3.0.cpp: In function 'double alos2(double, prop_type&, propa_type&)':
> itwom3.0.cpp:918:6: warning: variable 'rp' set but not used
> [-Wunused-but-set-variable]
> int rp;
> ^~
>
> itwom3.0.cpp: In function 'void point_to_point_ITM(double*, double, double,
> double, double, double, double, int, int, double, double, double&, char*,
> int&)':
> itwom3.0.cpp:2368:9: warning: variable 'dkm' set but not used
> [-Wunused-but-set-variable]
> double dkm, xkm;
> ^~~
>
> itwom3.0.cpp:2368:14: warning: variable 'xkm' set but not used
> [-Wunused-but-set-variable]
> double dkm, xkm;
> ^~~
>
> itwom3.0.cpp: In function 'void point_to_point(double*, double, double,
> double, double, double, double, int, int, double, double, double&, char*,
> int&)':
> itwom3.0.cpp:2491:9: warning: variable 'dkm' set but not used
> [-Wunused-but-set-variable]
> double dkm, xkm;
> ^~~
>
> itwom3.0.cpp:2491:14: warning: variable 'xkm' set but not used
> [-Wunused-but-set-variable]
> double dkm, xkm;
> ^~~
>
> itwom3.0.cpp: In function 'void point_to_pointMDH_two(double*, double,
> double, double, double, double, double, double, double, double, double, int,
> int, int, double, double, double, double&, int&, double&, int&)':
> itwom3.0.cpp:2607:10: warning: variable 'dkm' set but not used
> [-Wunused-but-set-variable]
> double dkm, xkm;
> ^~~
>
> itwom3.0.cpp:2607:15: warning: variable 'xkm' set but not used
> [-Wunused-but-set-variable]
> double dkm, xkm;
> ^~~
>
> itwom3.0.cpp: In function 'void point_to_pointDH(double*, double, double,
> double, double, double, double, double, double, double, double, int, int,
> double, double, double, double&, double&, int&)':
> itwom3.0.cpp:2705:10: warning: variable 'dkm' set but not used
> [-Wunused-but-set-variable]
> double dkm, xkm;
> ^~~
>
> itwom3.0.cpp:2705:15: warning: variable 'xkm' set but not used
> [-Wunused-but-set-variable]
> double dkm, xkm;
> ^~~
>
> In file included from splat.cpp:30:0:
> fontdata.h:343:27: error: narrowing conversion of '129' from 'int' to 'char'
> inside { } [-Wnarrowing]
> 0x00, 0x00, 0x00, 0x00 };
> ^
>
> fontdata.h:343:27: error: narrowing conversion of '231' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '165' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '153' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '129' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '153' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '255' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '153' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '219' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '231' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '255' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '231' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '254' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '254' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '254' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '254' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '254' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '254' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '214' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '254' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '214' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '254' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '254' from 'int' to 'char'
> inside { } [-Wnarrowing]
> fontdata.h:343:27: error: narrowing conversion of '255' from 'int' to 'char'
> inside { } [-Wnarrowing]
...
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
--- End Message ---