Bug#811885: brainparty: FTBFS with GCC 6: template argument X is invalid

James Cowgill jcowgill at debian.org
Sat Jul 2 19:45:15 UTC 2016


Control: tags -1 - help

On Tue, 19 Jan 2016 18:57:11 -0800 Martin Michlmayr <tbm at hpe.com> wrote:
> > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
> ...
> > g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -g -c -Wno-deprecated `sdl-config --cflags` -I/usr/X11R6/include -o flashcounting.o flashcounting.cpp
> > In file included from wordsmash.h:22:0,
> >                  from wordsmash.cpp:18:
> > WordList.h:38:39: error: template argument 2 is invalid
> >  typedef hash_set<string, hash<string> > string_hash_set;
> >                                        ^

I'm on this. Replacing hash_set with unordered_set is probably the best
solution for this bug.

James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20160702/d429a596/attachment.sig>


More information about the Pkg-games-devel mailing list