D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/burgerspace-1.9.2-10.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.IPdHuq + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf burgerspace-1.9.2 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/burgerspace-1.9.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd burgerspace-1.9.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.9JTKje + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd burgerspace-1.9.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I macros autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in 'macros'. libtoolize: copying file 'macros/libtool.m4' libtoolize: copying file 'macros/ltoptions.m4' libtoolize: copying file 'macros/ltsugar.m4' libtoolize: copying file 'macros/ltversion.m4' libtoolize: copying file 'macros/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([macros])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I macros autoreconf: running: /usr/bin/autoconf --force configure.ac:7: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.ac:7: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.ac:7: the top level configure.ac:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:773: AM_INIT_AUTOMAKE is expanded from... configure.ac:8: the top level configure.ac:22: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:22: You should run autoupdate. macros/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:22: the top level configure.ac:29: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:29: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... configure.ac:29: the top level configure.ac:85: warning: AC_OUTPUT should be used without arguments. configure.ac:85: You should run autoupdate. autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:8: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:22: installing './compile' configure.ac:8: installing './missing' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking target system type... aarch64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for aarch64-mageia-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop checking how to convert aarch64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-mageia-linux-gnu-strip... no checking for strip... strip checking for aarch64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for aarch64-mageia-linux-gnu-g++... no checking for aarch64-mageia-linux-gnu-c++... no checking for aarch64-mageia-linux-gnu-gpp... no checking for aarch64-mageia-linux-gnu-aCC... no checking for aarch64-mageia-linux-gnu-CC... no checking for aarch64-mageia-linux-gnu-cxx... no checking for aarch64-mageia-linux-gnu-cc++... no checking for aarch64-mageia-linux-gnu-cl.exe... no checking for aarch64-mageia-linux-gnu-FCC... no checking for aarch64-mageia-linux-gnu-KCC... no checking for aarch64-mageia-linux-gnu-RCC... no checking for aarch64-mageia-linux-gnu-xlC_r... no checking for aarch64-mageia-linux-gnu-xlC... no checking for aarch64-mageia-linux-gnu-clang++... no checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking maximum warning verbosity option... -W -Wall for C++ -W -Wall for C checking for aarch64-mageia-linux-gnu-pkg-config... /usr/bin/aarch64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for FLATZEBRA... yes checking for getopt.h... yes checking for getopt_long... yes building network version: yes using 49152 as default UDP listening port checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating burgerspace.spec config.status: creating src/Makefile config.status: creating src/burgerspace.desktop config.status: creating doc/burgerspace.6 config.status: creating doc/burgerspace-server.6 config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 Making all in src make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"burgerspace\" -DVERSION=\"1.9.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETOPT_LONG=1 -I. -DPKGSOUNDDIR=\"/usr/share/sounds/burgerspace\" -DDEFAULT_UDP_SERVER_PORT=49152 -I../src/images -I/usr/include/flatzebra-0.1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -W -Wall -c -o libcore_la-EnemySprite.lo `test -f 'EnemySprite.cpp' || echo './'`EnemySprite.cpp libtool: compile: g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"burgerspace\" -DVERSION=\"1.9.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETOPT_LONG=1 -I. -DPKGSOUNDDIR=\"/usr/share/sounds/burgerspace\" -DDEFAULT_UDP_SERVER_PORT=49152 -I../src/images -I/usr/include/flatzebra-0.1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -W -Wall -c EnemySprite.cpp -fPIC -DPIC -o .libs/libcore_la-EnemySprite.o In file included from EnemySprite.h:27, from EnemySprite.cpp:23: /usr/include/flatzebra-0.1/flatzebra/Sprite.h: In member function 'long unsigned int flatzebra::Sprite::decTimeToLive()': /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~ /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~~~~~ In file included from EnemySprite.cpp:23: EnemySprite.h: At global scope: EnemySprite.h:48:48: error: ISO C++17 does not allow dynamic exception specifications 48 | flatzebra::Couple collBosSize) throw(int); | ^~~~~ EnemySprite.cpp:32:68: error: ISO C++17 does not allow dynamic exception specifications 32 | Couple collBoxPos, Couple collBosSize) throw(int) | ^~~~~ make[1]: *** [Makefile:762: libcore_la-EnemySprite.lo] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"burgerspace\" -DVERSION=\"1.9.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETOPT_LONG=1 -I. -DPKGSOUNDDIR=\"/usr/share/sounds/burgerspace\" -DDEFAULT_UDP_SERVER_PORT=49152 -I../src/images -I/usr/include/flatzebra-0.1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -W -Wall -c -o libcore_la-IngredientGroup.lo `test -f 'IngredientGroup.cpp' || echo './'`IngredientGroup.cpp libtool: compile: g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"burgerspace\" -DVERSION=\"1.9.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETOPT_LONG=1 -I. -DPKGSOUNDDIR=\"/usr/share/sounds/burgerspace\" -DDEFAULT_UDP_SERVER_PORT=49152 -I../src/images -I/usr/include/flatzebra-0.1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -W -Wall -c IngredientGroup.cpp -fPIC -DPIC -o .libs/libcore_la-IngredientGroup.o In file included from IngredientGroup.h:26, from IngredientGroup.cpp:23: /usr/include/flatzebra-0.1/flatzebra/Sprite.h: In member function 'long unsigned int flatzebra::Sprite::decTimeToLive()': /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~ /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~~~~~ In file included from IngredientGroup.cpp:25: IngredientSprite.h: At global scope: IngredientSprite.h:45:46: error: ISO C++17 does not allow dynamic exception specifications 45 | IngredientGroup *ig) throw(int) | ^~~~~ In file included from IngredientGroup.cpp:26: EnemySprite.h:48:48: error: ISO C++17 does not allow dynamic exception specifications 48 | flatzebra::Couple collBosSize) throw(int); | ^~~~~ make[1]: *** [Makefile:755: libcore_la-IngredientGroup.lo] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"burgerspace\" -DVERSION=\"1.9.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETOPT_LONG=1 -I. -DPROGRAM=\"burgerspace\" -DPKGSOUNDDIR=\"/usr/share/sounds/burgerspace\" -DDEFAULT_UDP_SERVER_PORT=49152 -I../src/images -I/usr/include/flatzebra-0.1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -W -Wall -c -o burgerspace-client.o `test -f 'client.cpp' || echo './'`client.cpp In file included from /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:28, from BurgerSpaceClient.h:26, from client.cpp:23: /usr/include/flatzebra-0.1/flatzebra/Sprite.h: In member function 'long unsigned int flatzebra::Sprite::decTimeToLive()': /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~ /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~~~~~ In file included from /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:29, from BurgerSpaceClient.h:26, from client.cpp:23: /usr/include/flatzebra-0.1/flatzebra/RSprite.h: In member function 'long unsigned int flatzebra::RSprite::decTimeToLive()': /usr/include/flatzebra-0.1/flatzebra/RSprite.h:374:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 374 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~ /usr/include/flatzebra-0.1/flatzebra/RSprite.h:374:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 374 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~~~~~ In file included from BurgerSpaceClient.h:26, from client.cpp:23: /usr/include/flatzebra-0.1/flatzebra/GameEngine.h: At global scope: /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:58:25: error: ISO C++17 does not allow dynamic exception specifications 58 | throw(std::string); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:163:41: error: ISO C++17 does not allow dynamic exception specifications 163 | size_t index) const throw(PixmapLoadError); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:166:47: error: ISO C++17 does not allow dynamic exception specifications 166 | Couple &pixmapSize) const throw(PixmapLoadError); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h: In member function 'void flatzebra::GameEngine::fillRect(int, int, int, int, Uint32)': /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:23: warning: narrowing conversion of 'x' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:26: warning: narrowing conversion of 'y' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:29: warning: narrowing conversion of 'width' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:36: warning: narrowing conversion of 'height' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^~~~~~ In file included from BurgerSpaceClient.h:27, from client.cpp:23: /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h: At global scope: /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:47:37: error: ISO C++17 does not allow dynamic exception specifications 47 | SoundMixer(int numChannels = 8) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:69:47: error: ISO C++17 does not allow dynamic exception specifications 69 | Chunk(const std::string &wavFilename) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:74:51: error: ISO C++17 does not allow dynamic exception specifications 74 | void init(const std::string &wavFilename) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:93:37: error: ISO C++17 does not allow dynamic exception specifications 93 | void playChunk(Chunk &theSound) throw(Error); | ^~~~~ In file included from BurgerSpaceServer.h:27, from BurgerSpaceClient.h:32, from client.cpp:23: IngredientSprite.h:45:46: error: ISO C++17 does not allow dynamic exception specifications 45 | IngredientGroup *ig) throw(int) | ^~~~~ In file included from BurgerSpaceClient.h:32, from client.cpp:23: BurgerSpaceServer.h:75:65: error: ISO C++17 does not allow dynamic exception specifications 75 | BurgerSpaceServer(int initLevelNumber, bool _oldMotionMode) throw(int, std::string); | ^~~~~ BurgerSpaceServer.h:358:41: error: ISO C++17 does not allow dynamic exception specifications 358 | void initNextLevel(int levelNo = 0) throw(int); | ^~~~~ BurgerSpaceServer.h:372:33: error: ISO C++17 does not allow dynamic exception specifications 372 | void loadLevel(int levelNo) throw(std::string); | ^~~~~ BurgerSpaceServer.h:375:30: error: ISO C++17 does not allow dynamic exception specifications 375 | void initializeSprites() throw(flatzebra::PixmapLoadError); | ^~~~~ BurgerSpaceServer.h:376:27: error: ISO C++17 does not allow dynamic exception specifications 376 | void initializeMisc() throw(std::string); | ^~~~~ BurgerSpaceServer.h:389:24: error: ISO C++17 does not allow dynamic exception specifications 389 | void loadPixmaps() throw(flatzebra::PixmapLoadError); | ^~~~~ In file included from client.cpp:23: BurgerSpaceClient.h:180:24: error: ISO C++17 does not allow dynamic exception specifications 180 | void loadPixmaps() throw(flatzebra::PixmapLoadError); | ^~~~~ make[1]: *** [Makefile:769: burgerspace-client.o] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"burgerspace\" -DVERSION=\"1.9.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETOPT_LONG=1 -I. -DPROGRAM=\"burgerspace\" -DPKGSOUNDDIR=\"/usr/share/sounds/burgerspace\" -DDEFAULT_UDP_SERVER_PORT=49152 -I../src/images -I/usr/include/flatzebra-0.1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -W -Wall -c -o burgerspace-RemoteServer.o `test -f 'RemoteServer.cpp' || echo './'`RemoteServer.cpp In file included from IngredientGroup.h:26, from BurgerSpaceServer.h:26, from RemoteServer.h:26, from RemoteServer.cpp:23: /usr/include/flatzebra-0.1/flatzebra/Sprite.h: In member function 'long unsigned int flatzebra::Sprite::decTimeToLive()': /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~ /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~~~~~ In file included from BurgerSpaceServer.h:27, from RemoteServer.h:26, from RemoteServer.cpp:23: IngredientSprite.h: At global scope: IngredientSprite.h:45:46: error: ISO C++17 does not allow dynamic exception specifications 45 | IngredientGroup *ig) throw(int) | ^~~~~ In file included from /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:29, from BurgerSpaceServer.h:30, from RemoteServer.h:26, from RemoteServer.cpp:23: /usr/include/flatzebra-0.1/flatzebra/RSprite.h: In member function 'long unsigned int flatzebra::RSprite::decTimeToLive()': /usr/include/flatzebra-0.1/flatzebra/RSprite.h:374:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 374 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~ /usr/include/flatzebra-0.1/flatzebra/RSprite.h:374:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 374 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~~~~~ In file included from BurgerSpaceServer.h:30, from RemoteServer.h:26, from RemoteServer.cpp:23: /usr/include/flatzebra-0.1/flatzebra/GameEngine.h: At global scope: /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:58:25: error: ISO C++17 does not allow dynamic exception specifications 58 | throw(std::string); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:163:41: error: ISO C++17 does not allow dynamic exception specifications 163 | size_t index) const throw(PixmapLoadError); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:166:47: error: ISO C++17 does not allow dynamic exception specifications 166 | Couple &pixmapSize) const throw(PixmapLoadError); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h: In member function 'void flatzebra::GameEngine::fillRect(int, int, int, int, Uint32)': /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:23: warning: narrowing conversion of 'x' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:26: warning: narrowing conversion of 'y' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:29: warning: narrowing conversion of 'width' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:36: warning: narrowing conversion of 'height' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^~~~~~ In file included from BurgerSpaceServer.h:32, from RemoteServer.h:26, from RemoteServer.cpp:23: /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h: At global scope: /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:47:37: error: ISO C++17 does not allow dynamic exception specifications 47 | SoundMixer(int numChannels = 8) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:69:47: error: ISO C++17 does not allow dynamic exception specifications 69 | Chunk(const std::string &wavFilename) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:74:51: error: ISO C++17 does not allow dynamic exception specifications 74 | void init(const std::string &wavFilename) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:93:37: error: ISO C++17 does not allow dynamic exception specifications 93 | void playChunk(Chunk &theSound) throw(Error); | ^~~~~ In file included from RemoteServer.h:26, from RemoteServer.cpp:23: BurgerSpaceServer.h:75:65: error: ISO C++17 does not allow dynamic exception specifications 75 | BurgerSpaceServer(int initLevelNumber, bool _oldMotionMode) throw(int, std::string); | ^~~~~ BurgerSpaceServer.h:358:41: error: ISO C++17 does not allow dynamic exception specifications 358 | void initNextLevel(int levelNo = 0) throw(int); | ^~~~~ BurgerSpaceServer.h:372:33: error: ISO C++17 does not allow dynamic exception specifications 372 | void loadLevel(int levelNo) throw(std::string); | ^~~~~ BurgerSpaceServer.h:375:30: error: ISO C++17 does not allow dynamic exception specifications 375 | void initializeSprites() throw(flatzebra::PixmapLoadError); | ^~~~~ BurgerSpaceServer.h:376:27: error: ISO C++17 does not allow dynamic exception specifications 376 | void initializeMisc() throw(std::string); | ^~~~~ BurgerSpaceServer.h:389:24: error: ISO C++17 does not allow dynamic exception specifications 389 | void loadPixmaps() throw(flatzebra::PixmapLoadError); | ^~~~~ In file included from RemoteServer.cpp:25: BurgerSpaceClient.h:180:24: error: ISO C++17 does not allow dynamic exception specifications 180 | void loadPixmaps() throw(flatzebra::PixmapLoadError); | ^~~~~ make[1]: *** [Makefile:811: burgerspace-RemoteServer.o] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"burgerspace\" -DVERSION=\"1.9.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETOPT_LONG=1 -I. -DPROGRAM=\"burgerspace\" -DPKGSOUNDDIR=\"/usr/share/sounds/burgerspace\" -DDEFAULT_UDP_SERVER_PORT=49152 -I../src/images -I/usr/include/flatzebra-0.1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -W -Wall -c -o burgerspace-LocalServer.o `test -f 'LocalServer.cpp' || echo './'`LocalServer.cpp In file included from IngredientGroup.h:26, from BurgerSpaceServer.h:26, from LocalServer.h:26, from LocalServer.cpp:23: /usr/include/flatzebra-0.1/flatzebra/Sprite.h: In member function 'long unsigned int flatzebra::Sprite::decTimeToLive()': /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~ /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~~~~~ In file included from BurgerSpaceServer.h:27, from LocalServer.h:26, from LocalServer.cpp:23: IngredientSprite.h: At global scope: IngredientSprite.h:45:46: error: ISO C++17 does not allow dynamic exception specifications 45 | IngredientGroup *ig) throw(int) | ^~~~~ In file included from /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:29, from BurgerSpaceServer.h:30, from LocalServer.h:26, from LocalServer.cpp:23: /usr/include/flatzebra-0.1/flatzebra/RSprite.h: In member function 'long unsigned int flatzebra::RSprite::decTimeToLive()': /usr/include/flatzebra-0.1/flatzebra/RSprite.h:374:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 374 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~ /usr/include/flatzebra-0.1/flatzebra/RSprite.h:374:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 374 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~~~~~ In file included from BurgerSpaceServer.h:30, from LocalServer.h:26, from LocalServer.cpp:23: /usr/include/flatzebra-0.1/flatzebra/GameEngine.h: At global scope: /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:58:25: error: ISO C++17 does not allow dynamic exception specifications 58 | throw(std::string); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:163:41: error: ISO C++17 does not allow dynamic exception specifications 163 | size_t index) const throw(PixmapLoadError); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:166:47: error: ISO C++17 does not allow dynamic exception specifications 166 | Couple &pixmapSize) const throw(PixmapLoadError); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h: In member function 'void flatzebra::GameEngine::fillRect(int, int, int, int, Uint32)': /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:23: warning: narrowing conversion of 'x' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:26: warning: narrowing conversion of 'y' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:29: warning: narrowing conversion of 'width' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:36: warning: narrowing conversion of 'height' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^~~~~~ In file included from BurgerSpaceServer.h:32, from LocalServer.h:26, from LocalServer.cpp:23: /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h: At global scope: /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:47:37: error: ISO C++17 does not allow dynamic exception specifications 47 | SoundMixer(int numChannels = 8) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:69:47: error: ISO C++17 does not allow dynamic exception specifications 69 | Chunk(const std::string &wavFilename) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:74:51: error: ISO C++17 does not allow dynamic exception specifications 74 | void init(const std::string &wavFilename) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:93:37: error: ISO C++17 does not allow dynamic exception specifications 93 | void playChunk(Chunk &theSound) throw(Error); | ^~~~~ In file included from LocalServer.h:26, from LocalServer.cpp:23: BurgerSpaceServer.h:75:65: error: ISO C++17 does not allow dynamic exception specifications 75 | BurgerSpaceServer(int initLevelNumber, bool _oldMotionMode) throw(int, std::string); | ^~~~~ BurgerSpaceServer.h:358:41: error: ISO C++17 does not allow dynamic exception specifications 358 | void initNextLevel(int levelNo = 0) throw(int); | ^~~~~ BurgerSpaceServer.h:372:33: error: ISO C++17 does not allow dynamic exception specifications 372 | void loadLevel(int levelNo) throw(std::string); | ^~~~~ BurgerSpaceServer.h:375:30: error: ISO C++17 does not allow dynamic exception specifications 375 | void initializeSprites() throw(flatzebra::PixmapLoadError); | ^~~~~ BurgerSpaceServer.h:376:27: error: ISO C++17 does not allow dynamic exception specifications 376 | void initializeMisc() throw(std::string); | ^~~~~ BurgerSpaceServer.h:389:24: error: ISO C++17 does not allow dynamic exception specifications 389 | void loadPixmaps() throw(flatzebra::PixmapLoadError); | ^~~~~ In file included from LocalServer.h:27, from LocalServer.cpp:23: BurgerSpaceClient.h:180:24: error: ISO C++17 does not allow dynamic exception specifications 180 | void loadPixmaps() throw(flatzebra::PixmapLoadError); | ^~~~~ In file included from LocalServer.cpp:25: EnemySprite.h:48:48: error: ISO C++17 does not allow dynamic exception specifications 48 | flatzebra::Couple collBosSize) throw(int); | ^~~~~ make[1]: *** [Makefile:797: burgerspace-LocalServer.o] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"burgerspace\" -DVERSION=\"1.9.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETOPT_LONG=1 -I. -DPROGRAM=\"burgerspace\" -DPKGSOUNDDIR=\"/usr/share/sounds/burgerspace\" -DDEFAULT_UDP_SERVER_PORT=49152 -I../src/images -I/usr/include/flatzebra-0.1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -W -Wall -c -o burgerspace-BurgerSpaceClient.o `test -f 'BurgerSpaceClient.cpp' || echo './'`BurgerSpaceClient.cpp In file included from /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:28, from BurgerSpaceClient.h:26, from BurgerSpaceClient.cpp:23: /usr/include/flatzebra-0.1/flatzebra/Sprite.h: In member function 'long unsigned int flatzebra::Sprite::decTimeToLive()': /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~ /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~~~~~ In file included from /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:29, from BurgerSpaceClient.h:26, from BurgerSpaceClient.cpp:23: /usr/include/flatzebra-0.1/flatzebra/RSprite.h: In member function 'long unsigned int flatzebra::RSprite::decTimeToLive()': /usr/include/flatzebra-0.1/flatzebra/RSprite.h:374:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 374 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~ /usr/include/flatzebra-0.1/flatzebra/RSprite.h:374:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 374 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~~~~~ In file included from BurgerSpaceClient.h:26, from BurgerSpaceClient.cpp:23: /usr/include/flatzebra-0.1/flatzebra/GameEngine.h: At global scope: /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:58:25: error: ISO C++17 does not allow dynamic exception specifications 58 | throw(std::string); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:163:41: error: ISO C++17 does not allow dynamic exception specifications 163 | size_t index) const throw(PixmapLoadError); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:166:47: error: ISO C++17 does not allow dynamic exception specifications 166 | Couple &pixmapSize) const throw(PixmapLoadError); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h: In member function 'void flatzebra::GameEngine::fillRect(int, int, int, int, Uint32)': /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:23: warning: narrowing conversion of 'x' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:26: warning: narrowing conversion of 'y' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:29: warning: narrowing conversion of 'width' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:36: warning: narrowing conversion of 'height' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^~~~~~ In file included from BurgerSpaceClient.h:27, from BurgerSpaceClient.cpp:23: /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h: At global scope: /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:47:37: error: ISO C++17 does not allow dynamic exception specifications 47 | SoundMixer(int numChannels = 8) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:69:47: error: ISO C++17 does not allow dynamic exception specifications 69 | Chunk(const std::string &wavFilename) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:74:51: error: ISO C++17 does not allow dynamic exception specifications 74 | void init(const std::string &wavFilename) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:93:37: error: ISO C++17 does not allow dynamic exception specifications 93 | void playChunk(Chunk &theSound) throw(Error); | ^~~~~ In file included from BurgerSpaceServer.h:27, from BurgerSpaceClient.h:32, from BurgerSpaceClient.cpp:23: IngredientSprite.h:45:46: error: ISO C++17 does not allow dynamic exception specifications 45 | IngredientGroup *ig) throw(int) | ^~~~~ In file included from BurgerSpaceClient.h:32, from BurgerSpaceClient.cpp:23: BurgerSpaceServer.h:75:65: error: ISO C++17 does not allow dynamic exception specifications 75 | BurgerSpaceServer(int initLevelNumber, bool _oldMotionMode) throw(int, std::string); | ^~~~~ BurgerSpaceServer.h:358:41: error: ISO C++17 does not allow dynamic exception specifications 358 | void initNextLevel(int levelNo = 0) throw(int); | ^~~~~ BurgerSpaceServer.h:372:33: error: ISO C++17 does not allow dynamic exception specifications 372 | void loadLevel(int levelNo) throw(std::string); | ^~~~~ BurgerSpaceServer.h:375:30: error: ISO C++17 does not allow dynamic exception specifications 375 | void initializeSprites() throw(flatzebra::PixmapLoadError); | ^~~~~ BurgerSpaceServer.h:376:27: error: ISO C++17 does not allow dynamic exception specifications 376 | void initializeMisc() throw(std::string); | ^~~~~ BurgerSpaceServer.h:389:24: error: ISO C++17 does not allow dynamic exception specifications 389 | void loadPixmaps() throw(flatzebra::PixmapLoadError); | ^~~~~ In file included from BurgerSpaceClient.cpp:23: BurgerSpaceClient.h:180:24: error: ISO C++17 does not allow dynamic exception specifications 180 | void loadPixmaps() throw(flatzebra::PixmapLoadError); | ^~~~~ BurgerSpaceClient.cpp:212:34: error: ISO C++17 does not allow dynamic exception specifications 212 | BurgerSpaceClient::loadPixmaps() throw(PixmapLoadError) | ^~~~~ BurgerSpaceClient.cpp: In member function 'void BurgerSpaceClient::showSlotDirectory()': BurgerSpaceClient.cpp:803:53: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 803 | snprintf(slotDesc, sizeof(slotDesc), " %s %u %-19s %s ", | ~^ | | | unsigned int | %lu 804 | leftCursor, slotNum, fileTime, rightCursor); | ~~~~~~~ | | | size_t {aka long unsigned int} make[1]: *** [Makefile:783: burgerspace-BurgerSpaceClient.o] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"burgerspace\" -DVERSION=\"1.9.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETOPT_LONG=1 -I. -DPROGRAM=\"burgerspace-server\" -DPKGSOUNDDIR=\"/usr/share/sounds/burgerspace\" -DDEFAULT_UDP_SERVER_PORT=49152 -I../src/images -I/usr/include/flatzebra-0.1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -W -Wall -c -o burgerspace_server-server.o `test -f 'server.cpp' || echo './'`server.cpp In file included from IngredientGroup.h:26, from BurgerSpaceServer.h:26, from server.cpp:23: /usr/include/flatzebra-0.1/flatzebra/Sprite.h: In member function 'long unsigned int flatzebra::Sprite::decTimeToLive()': /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~ /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~~~~~ In file included from BurgerSpaceServer.h:27, from server.cpp:23: IngredientSprite.h: At global scope: IngredientSprite.h:45:46: error: ISO C++17 does not allow dynamic exception specifications 45 | IngredientGroup *ig) throw(int) | ^~~~~ In file included from /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:29, from BurgerSpaceServer.h:30, from server.cpp:23: /usr/include/flatzebra-0.1/flatzebra/RSprite.h: In member function 'long unsigned int flatzebra::RSprite::decTimeToLive()': /usr/include/flatzebra-0.1/flatzebra/RSprite.h:374:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 374 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~ /usr/include/flatzebra-0.1/flatzebra/RSprite.h:374:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 374 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~~~~~ In file included from BurgerSpaceServer.h:30, from server.cpp:23: /usr/include/flatzebra-0.1/flatzebra/GameEngine.h: At global scope: /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:58:25: error: ISO C++17 does not allow dynamic exception specifications 58 | throw(std::string); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:163:41: error: ISO C++17 does not allow dynamic exception specifications 163 | size_t index) const throw(PixmapLoadError); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:166:47: error: ISO C++17 does not allow dynamic exception specifications 166 | Couple &pixmapSize) const throw(PixmapLoadError); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h: In member function 'void flatzebra::GameEngine::fillRect(int, int, int, int, Uint32)': /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:23: warning: narrowing conversion of 'x' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:26: warning: narrowing conversion of 'y' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:29: warning: narrowing conversion of 'width' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:36: warning: narrowing conversion of 'height' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^~~~~~ In file included from BurgerSpaceServer.h:32, from server.cpp:23: /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h: At global scope: /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:47:37: error: ISO C++17 does not allow dynamic exception specifications 47 | SoundMixer(int numChannels = 8) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:69:47: error: ISO C++17 does not allow dynamic exception specifications 69 | Chunk(const std::string &wavFilename) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:74:51: error: ISO C++17 does not allow dynamic exception specifications 74 | void init(const std::string &wavFilename) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:93:37: error: ISO C++17 does not allow dynamic exception specifications 93 | void playChunk(Chunk &theSound) throw(Error); | ^~~~~ In file included from server.cpp:23: BurgerSpaceServer.h:75:65: error: ISO C++17 does not allow dynamic exception specifications 75 | BurgerSpaceServer(int initLevelNumber, bool _oldMotionMode) throw(int, std::string); | ^~~~~ BurgerSpaceServer.h:358:41: error: ISO C++17 does not allow dynamic exception specifications 358 | void initNextLevel(int levelNo = 0) throw(int); | ^~~~~ BurgerSpaceServer.h:372:33: error: ISO C++17 does not allow dynamic exception specifications 372 | void loadLevel(int levelNo) throw(std::string); | ^~~~~ BurgerSpaceServer.h:375:30: error: ISO C++17 does not allow dynamic exception specifications 375 | void initializeSprites() throw(flatzebra::PixmapLoadError); | ^~~~~ BurgerSpaceServer.h:376:27: error: ISO C++17 does not allow dynamic exception specifications 376 | void initializeMisc() throw(std::string); | ^~~~~ BurgerSpaceServer.h:389:24: error: ISO C++17 does not allow dynamic exception specifications 389 | void loadPixmaps() throw(flatzebra::PixmapLoadError); | ^~~~~ server.cpp:307:95: error: ISO C++17 does not allow dynamic exception specifications 307 | BurgerSpaceCommandLineServer(int _initLevelNumber, int _sock, Uint32 _minMSBetweenWrites) throw(int, std::string) | ^~~~~ make[1]: *** [Makefile:825: burgerspace_server-server.o] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"burgerspace\" -DVERSION=\"1.9.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETOPT_LONG=1 -I. -DPKGSOUNDDIR=\"/usr/share/sounds/burgerspace\" -DDEFAULT_UDP_SERVER_PORT=49152 -I../src/images -I/usr/include/flatzebra-0.1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -W -Wall -c -o libcore_la-BurgerSpaceServer.lo `test -f 'BurgerSpaceServer.cpp' || echo './'`BurgerSpaceServer.cpp libtool: compile: g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"burgerspace\" -DVERSION=\"1.9.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_GETOPT_LONG=1 -I. -DPKGSOUNDDIR=\"/usr/share/sounds/burgerspace\" -DDEFAULT_UDP_SERVER_PORT=49152 -I../src/images -I/usr/include/flatzebra-0.1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -W -Wall -c BurgerSpaceServer.cpp -fPIC -DPIC -o .libs/libcore_la-BurgerSpaceServer.o In file included from IngredientGroup.h:26, from BurgerSpaceServer.h:26, from BurgerSpaceServer.cpp:23: /usr/include/flatzebra-0.1/flatzebra/Sprite.h: In member function 'long unsigned int flatzebra::Sprite::decTimeToLive()': /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~ /usr/include/flatzebra-0.1/flatzebra/Sprite.h:380:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 380 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~~~~~ In file included from BurgerSpaceServer.h:27, from BurgerSpaceServer.cpp:23: IngredientSprite.h: At global scope: IngredientSprite.h:45:46: error: ISO C++17 does not allow dynamic exception specifications 45 | IngredientGroup *ig) throw(int) | ^~~~~ In file included from /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:29, from BurgerSpaceServer.h:30, from BurgerSpaceServer.cpp:23: /usr/include/flatzebra-0.1/flatzebra/RSprite.h: In member function 'long unsigned int flatzebra::RSprite::decTimeToLive()': /usr/include/flatzebra-0.1/flatzebra/RSprite.h:374:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 374 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~ /usr/include/flatzebra-0.1/flatzebra/RSprite.h:374:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 374 | if (timeToLive != 0) timeToLive--; return timeToLive; | ^~~~~~ In file included from BurgerSpaceServer.h:30, from BurgerSpaceServer.cpp:23: /usr/include/flatzebra-0.1/flatzebra/GameEngine.h: At global scope: /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:58:25: error: ISO C++17 does not allow dynamic exception specifications 58 | throw(std::string); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:163:41: error: ISO C++17 does not allow dynamic exception specifications 163 | size_t index) const throw(PixmapLoadError); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:166:47: error: ISO C++17 does not allow dynamic exception specifications 166 | Couple &pixmapSize) const throw(PixmapLoadError); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h: In member function 'void flatzebra::GameEngine::fillRect(int, int, int, int, Uint32)': /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:23: warning: narrowing conversion of 'x' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:26: warning: narrowing conversion of 'y' from 'int' to 'Sint16' {aka 'short int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:29: warning: narrowing conversion of 'width' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/GameEngine.h:412:36: warning: narrowing conversion of 'height' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 412 | SDL_Rect rect = { x, y, width, height }; | ^~~~~~ In file included from BurgerSpaceServer.h:32, from BurgerSpaceServer.cpp:23: /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h: At global scope: /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:47:37: error: ISO C++17 does not allow dynamic exception specifications 47 | SoundMixer(int numChannels = 8) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:69:47: error: ISO C++17 does not allow dynamic exception specifications 69 | Chunk(const std::string &wavFilename) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:74:51: error: ISO C++17 does not allow dynamic exception specifications 74 | void init(const std::string &wavFilename) throw(Error); | ^~~~~ /usr/include/flatzebra-0.1/flatzebra/SoundMixer.h:93:37: error: ISO C++17 does not allow dynamic exception specifications 93 | void playChunk(Chunk &theSound) throw(Error); | ^~~~~ In file included from BurgerSpaceServer.cpp:23: BurgerSpaceServer.h:75:65: error: ISO C++17 does not allow dynamic exception specifications 75 | BurgerSpaceServer(int initLevelNumber, bool _oldMotionMode) throw(int, std::string); | ^~~~~ BurgerSpaceServer.h:358:41: error: ISO C++17 does not allow dynamic exception specifications 358 | void initNextLevel(int levelNo = 0) throw(int); | ^~~~~ BurgerSpaceServer.h:372:33: error: ISO C++17 does not allow dynamic exception specifications 372 | void loadLevel(int levelNo) throw(std::string); | ^~~~~ BurgerSpaceServer.h:375:30: error: ISO C++17 does not allow dynamic exception specifications 375 | void initializeSprites() throw(flatzebra::PixmapLoadError); | ^~~~~ BurgerSpaceServer.h:376:27: error: ISO C++17 does not allow dynamic exception specifications 376 | void initializeMisc() throw(std::string); | ^~~~~ BurgerSpaceServer.h:389:24: error: ISO C++17 does not allow dynamic exception specifications 389 | void loadPixmaps() throw(flatzebra::PixmapLoadError); | ^~~~~ In file included from BurgerSpaceServer.cpp:25: EnemySprite.h:48:48: error: ISO C++17 does not allow dynamic exception specifications 48 | flatzebra::Couple collBosSize) throw(int); | ^~~~~ BurgerSpaceServer.cpp:736:58: error: ISO C++17 does not allow dynamic exception specifications 736 | bool _oldMotionMode) throw(int, string) | ^~~~~ BurgerSpaceServer.cpp:874:40: error: ISO C++17 does not allow dynamic exception specifications 874 | BurgerSpaceServer::initializeSprites() throw(PixmapLoadError) | ^~~~~ BurgerSpaceServer.cpp:933:37: error: ISO C++17 does not allow dynamic exception specifications 933 | BurgerSpaceServer::initializeMisc() throw(string) | ^~~~~ BurgerSpaceServer.cpp:1163:55: error: ISO C++17 does not allow dynamic exception specifications 1163 | BurgerSpaceServer::initNextLevel(int levelNo /*= 0*/) throw(int) | ^~~~~ BurgerSpaceServer.cpp: In member function 'void BurgerSpaceServer::moveEnemyList(flatzebra::SpriteList&, int)': BurgerSpaceServer.cpp:2121:37: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17 2121 | allowedDirections[UP]++; | ~~~~~~~~~~~~~~~~~~~~^ BurgerSpaceServer.cpp: At global scope: BurgerSpaceServer.cpp:2646:37: error: ISO C++17 does not allow dynamic exception specifications 2646 | Couple &pixmapSize) throw(PixmapLoadError) | ^~~~~ BurgerSpaceServer.cpp:2664:49: error: ISO C++17 does not allow dynamic exception specifications 2664 | throw(PixmapLoadError) | ^~~~~ BurgerSpaceServer.cpp:2677:34: error: ISO C++17 does not allow dynamic exception specifications 2677 | BurgerSpaceServer::loadPixmaps() throw(PixmapLoadError) | ^~~~~ BurgerSpaceServer.cpp:2816:43: error: ISO C++17 does not allow dynamic exception specifications 2816 | BurgerSpaceServer::loadLevel(int levelNo) throw(string) | ^~~~~ make[1]: *** [Makefile:748: libcore_la-BurgerSpaceServer.lo] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/burgerspace-1.9.2/src' make: *** [Makefile:545: all-recursive] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.9JTKje (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.9JTKje (%build) I: [iurt_root_command] ERROR: chroot