Package: gxneur
Version: 0.17.0-1
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-misleading-indentation

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.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> e/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 -I/usr/include/libxml2 -pthread 
> -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 
> -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -Wall -Wextra -Werror -g0 -fPIC 
> -std=gnu99  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security 
> -c -o gxneur-configuration.o `test -f 'configuration.c' || echo 
> './'`configuration.c
> configuration.c: In function 'gxneur_config_read_str':
> configuration.c:107:4: error: statement is indented as if it were guarded 
> by... [-Werror=misleading-indentation]
>     result = 0;
>     ^~~~~~
> 
> configuration.c:104:3: note: ...this 'if' clause, but it is not
>    if(gcValue->type == GCONF_VALUE_STRING)
>    ^~
> 
> cc1: all warnings being treated as errors
> Makefile:504: recipe for target 'gxneur-configuration.o' failed
> make[3]: *** [gxneur-configuration.o] Error 1

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

Reply via email to