Package: wbar
Version: 2.3.4-5
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-invalid-suffix-literal

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
...
> g++ -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" 
> -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -Wall -Wunused 
> -Werror -I../src/utils -Wdate-time -D_FORTIFY_SOURCE=2 -pthread 
> -I/usr/include/libglade-2.0 -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 -I/usr/include/libxml2 -g -O2 -fPIE 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o 
> wbar_config-OptParser.o `test -f '../src/utils/OptParser.cc' || echo 
> './'`../src/utils/OptParser.cc
> ../src/core/Main.cc:84:35: error: invalid suffix on literal; C++11 requires a 
> space between literal and string macro [-Werror=literal-suffix]
>              command = PACKAGE_NAME" "DEFAULT_ARGV;
>                                    ^
> 
> ../src/config/Run.cc:139:21: error: invalid suffix on literal; C++11 requires 
> a space between literal and string macro [-Werror=literal-suffix]
>          if (system ("killall "PACKAGE_NAME) != 0)
>                      ^
> 
> ../src/config/Functions.cc:14:31: error: invalid suffix on literal; C++11 
> requires a space between literal and string macro [-Werror=literal-suffix]
>  #define ICON_DEFAULT PIXMAPDIR"/"PACKAGE_NAME".png"
>                                ^
> 
> ../src/config/Functions.cc:307:35: error: invalid suffix on literal; C++11 
> requires a space between literal and string macro [-Werror=literal-suffix]
>              command = PACKAGE_NAME" "DEFAULT_ARGV;
>                                    ^
> 
> cc1plus: all warnings being treated as errors

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

Reply via email to