Bug#811697: FTBFS with GCC 6: invalid suffix on literal
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 01:04:19 UTC 2016
Package: lmms
Version: 1.1.3-1
Severity: important
User: debian-gcc at lists.debian.org
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
...
> /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_XML_LIB -D_REENTRANT -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtCore -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/include -I/usr/include/SDL -O2 -g -fno-exceptions -Wall -Werror=unused-function -Wno-sign-compare -Wno-strict-overflow -Werror -Wno-array-bounds -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPIC -D'QT_TRANSLATIONS_DIR="/usr/share/qt4/translations"' -D'LIB_DIR="../lib/x86_64-linux-gnu/"' -D'PLUGIN_DIR="../lib/x86_64-linux-gnu/lmms/"' -o CMakeFiles/lmms.dir/src/core/main.o -c /<<PKGBUILDDIR>>/src/core/main.cpp
> In file included from /<<PKGBUILDDIR>>/src/core/main.cpp:28:0:
> /<<PKGBUILDDIR>>/include/versioninfo.h:2:21: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
> #define GCC_VERSION "GCC "__VERSION__
> ^
>
> cc1plus: all warnings being treated as errors
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the Debian-edu-pkg-team
mailing list