Package: nted
Version: 1.10.18-9
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++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -I.. -I../commands 
> -I/usr/include/cairo -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 
> -I/usr/include/freetype2 -I/usr/include/libpng12 -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 -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
> -Wwrite-strings -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o changeidnotecommand.o changeidnotecommand.cpp
> idiotseditor.cpp: In member function 'void NedIdiotsEditor::draw_new()':
> idiotseditor.cpp:2552:12: error: narrowing conversion of '0.0' from 'double' 
> to 'unsigned int' inside { } [-Wnarrowing]
>    {COLOR64}};
>             ^
> 
> Makefile:408: recipe for target 'idiotseditor.o' failed
> make[3]: *** [idiotseditor.o] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/idiotseditor'

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

Reply via email to