Package: free42-nologo
Version: 1.4.77-1.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++ -MMD -Wall -Wno-parentheses -Wno-write-strings -g -I/usr/X11R6/include 
> -fno-exceptions -fno-rtti -pthread -I/usr/include/gtk-2.0 
> -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ 
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 
> -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 
> -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
> -I/usr/include/freetype2 -DVERSION="\"1.4.77\"" -fPIC -c -o core_display.o 
> core_display.cc
> core_display.cc:176:5: error: narrowing conversion of '168' from 'int' to 
> 'char' inside { } [-Wnarrowing]
>      };
>      ^
> 
> core_display.cc:176:5: error: narrowing conversion of '176' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '182' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '128' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '128' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '128' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '128' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '128' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '164' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '164' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '164' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '128' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '132' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '252' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '252' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '160' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '160' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc:176:5: error: narrowing conversion of '160' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> core_display.cc: In function 'void draw_catalog()':
> core_display.cc:1541:32: warning: statement is indented as if it were guarded 
> by... [-Wmisleading-indentation]
>        if (show_real) vcount++; break;
>                                 ^~~~~
> 
> core_display.cc:1541:7: note: ...this 'if' clause, but it is not
>        if (show_real) vcount++; break;
>        ^~
> 
> core_display.cc:1543:31: warning: statement is indented as if it were guarded 
> by... [-Wmisleading-indentation]
>        if (show_cpx) vcount++; break;
>                                ^~~~~
> 
> core_display.cc:1543:7: note: ...this 'if' clause, but it is not
>        if (show_cpx) vcount++; break;
>        ^~
> 
> core_display.cc:1546:31: warning: statement is indented as if it were guarded 
> by... [-Wmisleading-indentation]
>        if (show_mat) vcount++; break;
>                                ^~~~~
> 
> core_display.cc:1546:7: note: ...this 'if' clause, but it is not
>        if (show_mat) vcount++; break;
>        ^~
> 
> Makefile:75: recipe for target 'core_display.o' failed

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

Reply via email to