Bug#811626: FTBFS with GCC 6: cannot convert x to y

Martin Michlmayr tbm at hpe.com
Wed Jan 20 00:24:47 UTC 2016


Package: berusky2
Version: 0.10-4
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-cannot-convert

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.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas  -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm  -I/usr/include/AL  -c -o animation_track_bezier.o `test -f 'age/graph/animation_track_bezier.cpp' || echo './'`age/graph/animation_track_bezier.cpp
> In file included from komat/Berusky3d_ini.cpp:21:0:
> komat/Berusky3d_ini.cpp: In function 'void user_directory_create()':
> komat/Berusky3d_ini.h:43:52: error: unable to find string literal operator 'operator""INI_FILE_NAME' with 'const char [27]', 'long unsigned int' arguments
>  #define INI_FILE_GLOBAL         INI_FILE_GLOBAL_DIR"/"INI_FILE_NAME
>                                                     ^
> 
> komat/Berusky3d_ini.cpp:271:53: note: in expansion of macro 'INI_FILE_GLOBAL'
>      pprintfnl("missing, try to copy it from %s...", INI_FILE_GLOBAL);
>                                                      ^~~~~~~~~~~~~~~
> 
> komat/Berusky3d_ini.h:43:52: error: unable to find string literal operator 'operator""INI_FILE_NAME' with 'const char [27]', 'long unsigned int' arguments
>  #define INI_FILE_GLOBAL         INI_FILE_GLOBAL_DIR"/"INI_FILE_NAME
>                                                     ^
> 
> komat/Berusky3d_ini.cpp:273:17: note: in expansion of macro 'INI_FILE_GLOBAL'
>        file_copy(INI_FILE_GLOBAL, NULL, INI_FILE_NAME, INI_USER_DIRECTORY,
>                  ^~~~~~~~~~~~~~~


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



More information about the Pkg-games-devel mailing list