Source: nted Version: 1.10.18-10 Severity: serious https://buildd.debian.org/status/package.php?p=nted&suite=sid
... g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -I.. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-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/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -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/aarch64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -c -o chords.o chords.cpp chordpainter.cpp:38:95: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] const char NedChordPainter::addoff[] = {0, 1, -1, 0, 1, -1, 0, 0, 1, -1, 0, 1, -1, 0, 1, -1, 0}; ^ chordpainter.cpp:38:95: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] chordpainter.cpp:38:95: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] chordpainter.cpp:38:95: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] chordpainter.cpp:38:95: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] chordpainter.cpp: In static member function 'static void NedChordPainter::draw_chord(cairo_t*, chord_str*, char*, unsigned int, bool, double, double, double, int)': chordpainter.cpp:367:5: warning: case label value is less than minimum value for type case -1: cairo_show_text(cr, "b"); break; ^~~~ Makefile:405: recipe for target 'chordpainter.o' failed make[3]: *** [chordpainter.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/«PKGBUILDDIR»/chords' Makefile:667: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/«PKGBUILDDIR»' Makefile:484: recipe for target 'all' failed make[1]: *** [all] Error 2