Package: glob2
Version: 0.9.4.4-2.4
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-no-match

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
...
> g++ -o src/EditorMainMenu.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 
> -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL src/EditorMainMenu.cpp
> src/EditorMainMenu.cpp: In member function 'virtual void 
> EditorMainMenu::onAction(GAGGUI::Widget*, GAGGUI::Action, int, int)':
> src/EditorMainMenu.cpp:93:80: error: no matching function for call to 
> 'ChooseMapScreen::ChooseMapScreen(const char [5], const char [4], bool, const 
> char [6], const char [5], bool)'
>     ChooseMapScreen chooseMapScreen("maps", "map", false, "games", "game", 
> false);
>                                                                               
>   ^
> 
> In file included from src/EditorMainMenu.cpp:24:0:
> src/ChooseMapScreen.h:46:2: note: candidate: 
> ChooseMapScreen::ChooseMapScreen(const char*, const char*, bool, const char*, 
> const char*, const char*)
>   ChooseMapScreen(const char *directory, const char *extension, bool recurse, 
> const char* alternateDirectory=NULL, const char* alternateExtension=NULL, 
> const char* alternateRecurse=NULL);
>   ^~~~~~~~~~~~~~~
> 
> src/ChooseMapScreen.h:46:2: note:   no known conversion for argument 6 from 
> 'bool' to 'const char*'
> src/ChooseMapScreen.h:40:7: note: candidate: 
> ChooseMapScreen::ChooseMapScreen(const ChooseMapScreen&)
>  class ChooseMapScreen : public Glob2Screen
>        ^~~~~~~~~~~~~~~
> 
> src/ChooseMapScreen.h:40:7: note:   candidate expects 1 argument, 6 provided
> scons: *** [src/EditorMainMenu.o] Error 1
> scons: building terminated because of errors.
> debian/rules:31: recipe for target 'build-stamp' failed
> make: *** [build-stamp] Error 2

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

Reply via email to