Bug#811991: hyperrogue: FTBFS with GCC 6: call overloaded is ambiguous

Martin Michlmayr tbm at hpe.com
Wed Jan 20 04:18:25 UTC 2016


Package: hyperrogue
Version: 4.2+dfsg-1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-overloaded-ambiguous

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.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> make[2]: Entering directory '/<<BUILDDIR>>/hyperrogue-4.2+dfsg'
> g++ hyper.cpp -o hyper -lSDL -lSDL_ttf -lSDL_mixer -lfontconfig -DFHS -Wall -g -lSDL_gfx -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pie -Wl,-z,relro -Wl,-z,now -lGL -O3
> In file included from hyper.cpp:62:0:
> game.cpp:2216:14: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>    fprintf(f, "HyperRogue: game statistics (version "VER")\n");
>               ^
> 
> In file included from hyper.cpp:63:0:
> graph.cpp:1398:3: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>    "Welcome to HyperRogue! (version "VER")\n"
>    ^
> 
> hyper.cpp:67:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
>    printf("HyperRogue by Zeno Rogue <zeno at attnam.com>, version "VER"\n");
>           ^
> 
> In file included from hyper.cpp:58:0:
> hyperpoint.cpp: In function 'transmatrix xpush(ld)':
> hyperpoint.cpp:115:24: error: call of overloaded 'cosh(ld&)' is ambiguous
>    T[0][0] = +cosh(alpha); T[0][2] = +sinh(alpha);
>                         ^
> 

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



More information about the Pkg-games-devel mailing list