Package: open-invaders Version: 0.3-4.1 Severity: important User: [email protected] 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.. -DPACKAGE_SRC_DIR=\""."\" > -DPACKAGE_DATA_DIR=\""/usr/share"\" -g -O2 -c -o init.o init.cc > In file included from init.cc:34:0: > ../headers/declare.h:27:38: warning: invalid suffix on literal; C++11 > requires a space between literal and string macro [-Wliteral-suffix] > #define ALLEGRO_LOGO PACKAGE_DATA_DIR"/"PACKAGE"/allegro_logo.pcx" > ^ ... > ../headers/declare.h:75:38: warning: invalid suffix on literal; C++11 > requires a space between literal and string macro [-Wliteral-suffix] > #define HISCORE_SONG PACKAGE_DATA_DIR"/"PACKAGE"/hiscore.mod" > ^ > > init.cc: In function 'void load_config()': > init.cc:352:31: error: cannot convert 'std::basic_istream<char>' to 'bool' in > assignment > success_check=configfile >> string_to_compare; > ^~~~~~~~~~~~~~~~~ > > init.cc: In function 'BITMAP* oi_load_graphic(std::__cxx11::string, > std::__cxx11::string)': > init.cc:638:10: error: cannot convert 'bool' to 'BITMAP*' in return > return false; > ^~~~~ > > init.cc: In function 'SAMPLE* oi_load_sfx(std::__cxx11::string, > std::__cxx11::string)': > init.cc:664:10: error: cannot convert 'bool' to 'SAMPLE*' in return > return false; > ^~~~~ > > Makefile:349: recipe for target 'init.o' failed > make[3]: *** [init.o] Error 1 > make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' > Makefile:298: recipe for target 'all-recursive' failed > make[2]: *** [all-recursive] Error 1 -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

