can't open ./yar/docs/Makefile.in: No such file or directory can't open ./yar/docs/en/Makefile.in: No such file or directory ng doinst.sh... 0%100%100%100%100%100%Done Fetching icons/16.png... 0%100%100%100%100%100%Done Fetching icons/32.png... 0%100%100%100%100%100%Done Fetching icons/48.png... 0%100%100%100%100%100%Done Fetching icons/64.png... 0%100%100%100%100%100%Done Fetching missingincludes.diff.gz... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done Fetching yar.SlackBuild... 0%100%100%100%100%100%Done Fetching yar.desktop... 0%100%100%100%100%100%Done Fetching yar.info... 0%100%100%100%100%100%Done yar-0.99/ yar-0.99/yar/ yar-0.99/yar/yar.cpp yar-0.99/yar/yar.hxx yar-0.99/yar/sgw.cpp yar-0.99/yar/sgw.hxx yar-0.99/yar/main.cpp yar-0.99/yar/sprites.cpp yar-0.99/yar/shield.cpp yar-0.99/yar/quotile.cpp yar-0.99/yar/Makefile.am yar-0.99/yar/Makefile.in yar-0.99/yar/zorlon.cpp yar-0.99/yar/destroy.cpp yar-0.99/yar/game.cpp yar-0.99/yar/graphics.cpp yar-0.99/TODO yar-0.99/yar.kdevprj yar-0.99/yar.kdevses yar-0.99/Makefile.dist yar-0.99/admin/ yar-0.99/admin/compile yar-0.99/admin/Doxyfile.global yar-0.99/admin/depcomp yar-0.99/admin/Makefile.common yar-0.99/admin/ltmain.sh yar-0.99/admin/config.pl yar-0.99/admin/configure.in.min yar-0.99/admin/config.guess yar-0.99/admin/acinclude.m4.in yar-0.99/admin/install-sh yar-0.99/admin/config.sub yar-0.99/admin/missing yar-0.99/admin/mkinstalldirs yar-0.99/admin/cvs.sh yar-0.99/admin/conf.change.pl yar-0.99/admin/am_edit yar-0.99/admin/libtool.m4.in yar-0.99/admin/ylwrap yar-0.99/admin/cvs-clean.pl yar-0.99/admin/debianrules yar-0.99/admin/detect-autoconf.sh yar-0.99/admin/ChangeLog yar-0.99/admin/Doxyfile.am yar-0.99/admin/configure.in.bot.end yar-0.99/aclocal.m4 yar-0.99/README yar-0.99/configure yar-0.99/configure.in yar-0.99/subdirs yar-0.99/Makefile.am yar-0.99/Makefile.in yar-0.99/configure.files yar-0.99/configure.in.in yar-0.99/config.h.in yar-0.99/acinclude.m4 yar-0.99/stamp-h.in yar-0.99/AUTHORS yar-0.99/INSTALL yar-0.99/ChangeLog yar-0.99/COPYING patching file yar/sgw.hxx checking build system type... i586-slackware-linux-gnu checking host system type... i586-slackware-linux-gnu checking target system type... i586-slackware-linux-gnu checking for a BSD-compatible install... /usr/bin/ginstall -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether g++ supports -Wundef... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Wnon-virtual-dtor... yes checking whether g++ supports -fno-exceptions... yes checking whether g++ supports -fno-check-new... yes checking whether g++ supports -fexceptions... yes checking how to run the C++ preprocessor... g++ -E checking whether g++ supports -frepo... yes not using lib directory suffix checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... no checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... no checking if g++ supports -c -o file.o... no checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so appending configuration tag "GCJ" to libtool checking if gcj supports -fno-rtti -fno-exceptions... (cached) no checking for gcj option to produce PIC... -fPIC checking if gcj PIC flag -fPIC works... no checking if gcj supports -c -o file.o... no checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking for extra includes... no checking for extra libs... no checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking if yar should be compiled... yes configure: creating ./config.status fast creating Makefile fast creating yar/Makefile fast creating yar/docs/Makefile fast creating yar/docs/en/Makefile config.status: creating config.h config.status: executing default-1 commands Good - your configure finished. Start make now cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/sh ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands make all-recursive make[1]: Entering directory '/usr/src/slapt-src-i486/games/yar/yar-0.99' Making all in yar make[2]: Entering directory '/usr/src/slapt-src-i486/games/yar/yar-0.99/yar' source='zorlon.cpp' object='zorlon.o' libtool=no \ depfile='.deps/zorlon.Po' tmpdepfile='.deps/zorlon.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -march=i586 -mtune=i686 -fno-exceptions -fno-check-new -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o zorlon.o `test -f zorlon.cpp || echo './'`zorlon.cpp cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/include/c++/11.2.0/i586-slackware-linux/bits/os_defines.h:39, from /usr/include/c++/11.2.0/i586-slackware-linux/bits/c++config.h:586, from /usr/include/c++/11.2.0/iostream:38, from sgw.hxx:25, from yar.hxx:18, from zorlon.cpp:18: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from yar.hxx:18, from zorlon.cpp:18: sgw.hxx:95:75: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 95 | void String(int x1=0,int y1=0,int x2=0,int y2=0,char *s = ""); | ^~ sgw.hxx: In constructor ‘SGWDisplaySurface::SGWDisplaySurface(int, int)’: sgw.hxx:137:39: warning: unused parameter ‘x’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ sgw.hxx:137:49: warning: unused parameter ‘y’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ In file included from zorlon.cpp:18: yar.hxx: At global scope: yar.hxx:96:7: warning: ‘class Sprite’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 96 | class Sprite | ^~~~~~ yar.hxx:130:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 130 | class EnergyMissile : public Sprite | ^~~~~~~~~~~~~ yar.hxx:130:7: warning: ‘class EnergyMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:142:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 142 | class Yar : public Sprite | ^~~ yar.hxx:142:7: warning: ‘class Yar’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:157:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 157 | class Quotile : public Sprite | ^~~~~~~ yar.hxx:157:7: warning: ‘class Quotile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:175:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 175 | class DestroyerMissile : public Sprite | ^~~~~~~~~~~~~~~~ yar.hxx:175:7: warning: ‘class DestroyerMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:203:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 203 | class ZorlonCannon : public Sprite | ^~~~~~~~~~~~ yar.hxx:203:7: warning: ‘class ZorlonCannon’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] source='game.cpp' object='game.o' libtool=no \ depfile='.deps/game.Po' tmpdepfile='.deps/game.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -march=i586 -mtune=i686 -fno-exceptions -fno-check-new -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o game.o `test -f game.cpp || echo './'`game.cpp cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/include/c++/11.2.0/i586-slackware-linux/bits/os_defines.h:39, from /usr/include/c++/11.2.0/i586-slackware-linux/bits/c++config.h:586, from /usr/include/c++/11.2.0/iostream:38, from sgw.hxx:25, from yar.hxx:18, from game.cpp:18: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from yar.hxx:18, from game.cpp:18: sgw.hxx:95:75: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 95 | void String(int x1=0,int y1=0,int x2=0,int y2=0,char *s = ""); | ^~ sgw.hxx: In constructor ‘SGWDisplaySurface::SGWDisplaySurface(int, int)’: sgw.hxx:137:39: warning: unused parameter ‘x’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ sgw.hxx:137:49: warning: unused parameter ‘y’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ In file included from game.cpp:18: yar.hxx: At global scope: yar.hxx:96:7: warning: ‘class Sprite’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 96 | class Sprite | ^~~~~~ yar.hxx:130:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 130 | class EnergyMissile : public Sprite | ^~~~~~~~~~~~~ yar.hxx:130:7: warning: ‘class EnergyMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:142:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 142 | class Yar : public Sprite | ^~~ yar.hxx:142:7: warning: ‘class Yar’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:157:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 157 | class Quotile : public Sprite | ^~~~~~~ yar.hxx:157:7: warning: ‘class Quotile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:175:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 175 | class DestroyerMissile : public Sprite | ^~~~~~~~~~~~~~~~ yar.hxx:175:7: warning: ‘class DestroyerMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:203:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 203 | class ZorlonCannon : public Sprite | ^~~~~~~~~~~~ yar.hxx:203:7: warning: ‘class ZorlonCannon’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] game.cpp: In destructor ‘Game::~Game()’: game.cpp:58:5: warning: deleting object of polymorphic class type ‘Yar’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 58 | delete yar; | ^~~~~~~~~~ game.cpp:59:5: warning: deleting object of polymorphic class type ‘EnergyMissile’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 59 | delete emissile; | ^~~~~~~~~~~~~~~ game.cpp:60:5: warning: deleting object of polymorphic class type ‘Quotile’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 60 | delete quotile; | ^~~~~~~~~~~~~~ game.cpp:61:5: warning: deleting object of polymorphic class type ‘DestroyerMissile’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 61 | delete destroyer; | ^~~~~~~~~~~~~~~~ game.cpp:62:5: warning: deleting object of polymorphic class type ‘ZorlonCannon’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 62 | delete zorlon; | ^~~~~~~~~~~~~ game.cpp: In member function ‘void Game::StartLevel()’: game.cpp:228:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 228 | Disp.String(r,"Level "); | ^~~~~~~~~~ game.cpp:229:28: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 229 | sprintf(Lvl," %02d",Level % 100); | ^ game.cpp:229:12: note: ‘sprintf’ output between 9 and 10 bytes into a destination of size 9 229 | sprintf(Lvl," %02d",Level % 100); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source='shield.cpp' object='shield.o' libtool=no \ depfile='.deps/shield.Po' tmpdepfile='.deps/shield.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -march=i586 -mtune=i686 -fno-exceptions -fno-check-new -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o shield.o `test -f shield.cpp || echo './'`shield.cpp cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/include/c++/11.2.0/i586-slackware-linux/bits/os_defines.h:39, from /usr/include/c++/11.2.0/i586-slackware-linux/bits/c++config.h:586, from /usr/include/c++/11.2.0/iostream:38, from sgw.hxx:25, from yar.hxx:18, from shield.cpp:18: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from yar.hxx:18, from shield.cpp:18: sgw.hxx:95:75: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 95 | void String(int x1=0,int y1=0,int x2=0,int y2=0,char *s = ""); | ^~ sgw.hxx: In constructor ‘SGWDisplaySurface::SGWDisplaySurface(int, int)’: sgw.hxx:137:39: warning: unused parameter ‘x’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ sgw.hxx:137:49: warning: unused parameter ‘y’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ In file included from shield.cpp:18: yar.hxx: At global scope: yar.hxx:96:7: warning: ‘class Sprite’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 96 | class Sprite | ^~~~~~ yar.hxx:130:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 130 | class EnergyMissile : public Sprite | ^~~~~~~~~~~~~ yar.hxx:130:7: warning: ‘class EnergyMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:142:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 142 | class Yar : public Sprite | ^~~ yar.hxx:142:7: warning: ‘class Yar’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:157:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 157 | class Quotile : public Sprite | ^~~~~~~ yar.hxx:157:7: warning: ‘class Quotile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:175:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 175 | class DestroyerMissile : public Sprite | ^~~~~~~~~~~~~~~~ yar.hxx:175:7: warning: ‘class DestroyerMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:203:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 203 | class ZorlonCannon : public Sprite | ^~~~~~~~~~~~ yar.hxx:203:7: warning: ‘class ZorlonCannon’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] source='destroy.cpp' object='destroy.o' libtool=no \ depfile='.deps/destroy.Po' tmpdepfile='.deps/destroy.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -march=i586 -mtune=i686 -fno-exceptions -fno-check-new -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o destroy.o `test -f destroy.cpp || echo './'`destroy.cpp cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/include/c++/11.2.0/i586-slackware-linux/bits/os_defines.h:39, from /usr/include/c++/11.2.0/i586-slackware-linux/bits/c++config.h:586, from /usr/include/c++/11.2.0/iostream:38, from sgw.hxx:25, from yar.hxx:18, from destroy.cpp:18: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from yar.hxx:18, from destroy.cpp:18: sgw.hxx:95:75: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 95 | void String(int x1=0,int y1=0,int x2=0,int y2=0,char *s = ""); | ^~ sgw.hxx: In constructor ‘SGWDisplaySurface::SGWDisplaySurface(int, int)’: sgw.hxx:137:39: warning: unused parameter ‘x’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ sgw.hxx:137:49: warning: unused parameter ‘y’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ In file included from destroy.cpp:18: yar.hxx: At global scope: yar.hxx:96:7: warning: ‘class Sprite’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 96 | class Sprite | ^~~~~~ yar.hxx:130:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 130 | class EnergyMissile : public Sprite | ^~~~~~~~~~~~~ yar.hxx:130:7: warning: ‘class EnergyMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:142:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 142 | class Yar : public Sprite | ^~~ yar.hxx:142:7: warning: ‘class Yar’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:157:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 157 | class Quotile : public Sprite | ^~~~~~~ yar.hxx:157:7: warning: ‘class Quotile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:175:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 175 | class DestroyerMissile : public Sprite | ^~~~~~~~~~~~~~~~ yar.hxx:175:7: warning: ‘class DestroyerMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:203:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 203 | class ZorlonCannon : public Sprite | ^~~~~~~~~~~~ yar.hxx:203:7: warning: ‘class ZorlonCannon’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] source='quotile.cpp' object='quotile.o' libtool=no \ depfile='.deps/quotile.Po' tmpdepfile='.deps/quotile.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -march=i586 -mtune=i686 -fno-exceptions -fno-check-new -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o quotile.o `test -f quotile.cpp || echo './'`quotile.cpp cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/include/c++/11.2.0/i586-slackware-linux/bits/os_defines.h:39, from /usr/include/c++/11.2.0/i586-slackware-linux/bits/c++config.h:586, from /usr/include/c++/11.2.0/iostream:38, from sgw.hxx:25, from yar.hxx:18, from quotile.cpp:18: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from yar.hxx:18, from quotile.cpp:18: sgw.hxx:95:75: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 95 | void String(int x1=0,int y1=0,int x2=0,int y2=0,char *s = ""); | ^~ sgw.hxx: In constructor ‘SGWDisplaySurface::SGWDisplaySurface(int, int)’: sgw.hxx:137:39: warning: unused parameter ‘x’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ sgw.hxx:137:49: warning: unused parameter ‘y’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ In file included from quotile.cpp:18: yar.hxx: At global scope: yar.hxx:96:7: warning: ‘class Sprite’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 96 | class Sprite | ^~~~~~ yar.hxx:130:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 130 | class EnergyMissile : public Sprite | ^~~~~~~~~~~~~ yar.hxx:130:7: warning: ‘class EnergyMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:142:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 142 | class Yar : public Sprite | ^~~ yar.hxx:142:7: warning: ‘class Yar’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:157:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 157 | class Quotile : public Sprite | ^~~~~~~ yar.hxx:157:7: warning: ‘class Quotile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:175:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 175 | class DestroyerMissile : public Sprite | ^~~~~~~~~~~~~~~~ yar.hxx:175:7: warning: ‘class DestroyerMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:203:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 203 | class ZorlonCannon : public Sprite | ^~~~~~~~~~~~ yar.hxx:203:7: warning: ‘class ZorlonCannon’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] source='yar.cpp' object='yar.o' libtool=no \ depfile='.deps/yar.Po' tmpdepfile='.deps/yar.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -march=i586 -mtune=i686 -fno-exceptions -fno-check-new -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o yar.o `test -f yar.cpp || echo './'`yar.cpp cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/include/c++/11.2.0/i586-slackware-linux/bits/os_defines.h:39, from /usr/include/c++/11.2.0/i586-slackware-linux/bits/c++config.h:586, from /usr/include/c++/11.2.0/iostream:38, from sgw.hxx:25, from yar.hxx:18, from yar.cpp:18: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from yar.hxx:18, from yar.cpp:18: sgw.hxx:95:75: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 95 | void String(int x1=0,int y1=0,int x2=0,int y2=0,char *s = ""); | ^~ sgw.hxx: In constructor ‘SGWDisplaySurface::SGWDisplaySurface(int, int)’: sgw.hxx:137:39: warning: unused parameter ‘x’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ sgw.hxx:137:49: warning: unused parameter ‘y’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ In file included from yar.cpp:18: yar.hxx: At global scope: yar.hxx:96:7: warning: ‘class Sprite’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 96 | class Sprite | ^~~~~~ yar.hxx:130:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 130 | class EnergyMissile : public Sprite | ^~~~~~~~~~~~~ yar.hxx:130:7: warning: ‘class EnergyMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:142:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 142 | class Yar : public Sprite | ^~~ yar.hxx:142:7: warning: ‘class Yar’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:157:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 157 | class Quotile : public Sprite | ^~~~~~~ yar.hxx:157:7: warning: ‘class Quotile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:175:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 175 | class DestroyerMissile : public Sprite | ^~~~~~~~~~~~~~~~ yar.hxx:175:7: warning: ‘class DestroyerMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:203:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 203 | class ZorlonCannon : public Sprite | ^~~~~~~~~~~~ yar.hxx:203:7: warning: ‘class ZorlonCannon’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.cpp: In member function ‘void Yar::Process()’: yar.cpp:93:21: warning: variable ‘xOld’ set but not used [-Wunused-but-set-variable] 93 | int xOld,yOld; | ^~~~ yar.cpp:93:26: warning: variable ‘yOld’ set but not used [-Wunused-but-set-variable] 93 | int xOld,yOld; | ^~~~ source='graphics.cpp' object='graphics.o' libtool=no \ depfile='.deps/graphics.Po' tmpdepfile='.deps/graphics.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -march=i586 -mtune=i686 -fno-exceptions -fno-check-new -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o graphics.o `test -f graphics.cpp || echo './'`graphics.cpp cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/include/c++/11.2.0/i586-slackware-linux/bits/os_defines.h:39, from /usr/include/c++/11.2.0/i586-slackware-linux/bits/c++config.h:586, from /usr/include/c++/11.2.0/iostream:38, from sgw.hxx:25, from yar.hxx:18, from graphics.cpp:18: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from yar.hxx:18, from graphics.cpp:18: sgw.hxx:95:75: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 95 | void String(int x1=0,int y1=0,int x2=0,int y2=0,char *s = ""); | ^~ sgw.hxx: In constructor ‘SGWDisplaySurface::SGWDisplaySurface(int, int)’: sgw.hxx:137:39: warning: unused parameter ‘x’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ sgw.hxx:137:49: warning: unused parameter ‘y’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ In file included from graphics.cpp:18: yar.hxx: At global scope: yar.hxx:96:7: warning: ‘class Sprite’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 96 | class Sprite | ^~~~~~ yar.hxx:130:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 130 | class EnergyMissile : public Sprite | ^~~~~~~~~~~~~ yar.hxx:130:7: warning: ‘class EnergyMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:142:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 142 | class Yar : public Sprite | ^~~ yar.hxx:142:7: warning: ‘class Yar’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:157:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 157 | class Quotile : public Sprite | ^~~~~~~ yar.hxx:157:7: warning: ‘class Quotile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:175:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 175 | class DestroyerMissile : public Sprite | ^~~~~~~~~~~~~~~~ yar.hxx:175:7: warning: ‘class DestroyerMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:203:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 203 | class ZorlonCannon : public Sprite | ^~~~~~~~~~~~ yar.hxx:203:7: warning: ‘class ZorlonCannon’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] graphics.cpp: In member function ‘void SpriteSurface::Redraw()’: graphics.cpp:74:27: warning: conversion from ‘int’ to ‘char’ may change value [-Wconversion] 74 | Char(0,0,255,255,i+'0'); | ~^~~~ source='sprites.cpp' object='sprites.o' libtool=no \ depfile='.deps/sprites.Po' tmpdepfile='.deps/sprites.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -march=i586 -mtune=i686 -fno-exceptions -fno-check-new -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sprites.o `test -f sprites.cpp || echo './'`sprites.cpp cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/include/c++/11.2.0/i586-slackware-linux/bits/os_defines.h:39, from /usr/include/c++/11.2.0/i586-slackware-linux/bits/c++config.h:586, from /usr/include/c++/11.2.0/iostream:38, from sgw.hxx:25, from yar.hxx:18, from sprites.cpp:18: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from yar.hxx:18, from sprites.cpp:18: sgw.hxx:95:75: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 95 | void String(int x1=0,int y1=0,int x2=0,int y2=0,char *s = ""); | ^~ sgw.hxx: In constructor ‘SGWDisplaySurface::SGWDisplaySurface(int, int)’: sgw.hxx:137:39: warning: unused parameter ‘x’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ sgw.hxx:137:49: warning: unused parameter ‘y’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ In file included from sprites.cpp:18: yar.hxx: At global scope: yar.hxx:96:7: warning: ‘class Sprite’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 96 | class Sprite | ^~~~~~ yar.hxx:130:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 130 | class EnergyMissile : public Sprite | ^~~~~~~~~~~~~ yar.hxx:130:7: warning: ‘class EnergyMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:142:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 142 | class Yar : public Sprite | ^~~ yar.hxx:142:7: warning: ‘class Yar’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:157:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 157 | class Quotile : public Sprite | ^~~~~~~ yar.hxx:157:7: warning: ‘class Quotile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:175:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 175 | class DestroyerMissile : public Sprite | ^~~~~~~~~~~~~~~~ yar.hxx:175:7: warning: ‘class DestroyerMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:203:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 203 | class ZorlonCannon : public Sprite | ^~~~~~~~~~~~ yar.hxx:203:7: warning: ‘class ZorlonCannon’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] source='sgw.cpp' object='sgw.o' libtool=no \ depfile='.deps/sgw.Po' tmpdepfile='.deps/sgw.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -march=i586 -mtune=i686 -fno-exceptions -fno-check-new -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sgw.o `test -f sgw.cpp || echo './'`sgw.cpp cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/include/c++/11.2.0/i586-slackware-linux/bits/os_defines.h:39, from /usr/include/c++/11.2.0/i586-slackware-linux/bits/c++config.h:586, from /usr/include/c++/11.2.0/iostream:38, from sgw.hxx:25, from sgw.cpp:22: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from sgw.cpp:22: sgw.hxx:95:75: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 95 | void String(int x1=0,int y1=0,int x2=0,int y2=0,char *s = ""); | ^~ sgw.hxx: In constructor ‘SGWDisplaySurface::SGWDisplaySurface(int, int)’: sgw.hxx:137:39: warning: unused parameter ‘x’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ sgw.hxx:137:49: warning: unused parameter ‘y’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ sgw.cpp: In member function ‘void SGWSurface::SetColour(int, int, int)’: sgw.cpp:200:71: warning: conversion from ‘int’ to ‘Uint8’ {aka ‘unsigned char’} may change value [-Wconversion] 200 | Colour = SDL_MapRGB(((SDL_Surface *)sSurface)->format,r,g,b); | ^ sgw.cpp:200:73: warning: conversion from ‘int’ to ‘Uint8’ {aka ‘unsigned char’} may change value [-Wconversion] 200 | Colour = SDL_MapRGB(((SDL_Surface *)sSurface)->format,r,g,b); | ^ sgw.cpp:200:75: warning: conversion from ‘int’ to ‘Uint8’ {aka ‘unsigned char’} may change value [-Wconversion] 200 | Colour = SDL_MapRGB(((SDL_Surface *)sSurface)->format,r,g,b); | ^ sgw.cpp: In member function ‘void SGWSurface::Plot(int, int)’: sgw.cpp:225:16: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 225 | rc.x = x1;rc.y = y1; // Copy into the SDL Rectangle | ^~ sgw.cpp:225:26: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 225 | rc.x = x1;rc.y = y1; // Copy into the SDL Rectangle | ^~ sgw.cpp: In member function ‘void SGWSurface::FillRect(int, int, int, int)’: sgw.cpp:246:16: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 246 | rc.x = x1;rc.y = y1; // Copy into the SDL Rectangle | ^~ sgw.cpp:246:26: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 246 | rc.x = x1;rc.y = y1; // Copy into the SDL Rectangle | ^~ sgw.cpp:247:21: warning: conversion from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} may change value [-Wconversion] 247 | rc.w = x2-x1+1;rc.h = y2-y1+1; | ~~~~~^~ sgw.cpp:247:36: warning: conversion from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} may change value [-Wconversion] 247 | rc.w = x2-x1+1;rc.h = y2-y1+1; | ~~~~~^~ sgw.cpp: In member function ‘void SGWSurface::FrameRect(int, int, int, int)’: sgw.cpp:272:16: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 272 | rc.x = x1;rc.y = y1; // Copy into the SDL Rectangle | ^~ sgw.cpp:272:26: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 272 | rc.x = x1;rc.y = y1; // Copy into the SDL Rectangle | ^~ sgw.cpp:273:21: warning: conversion from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} may change value [-Wconversion] 273 | rc.w = x2-x1+1;rc.h = y2-y1+1; | ~~~~~^~ sgw.cpp:273:36: warning: conversion from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} may change value [-Wconversion] 273 | rc.w = x2-x1+1;rc.h = y2-y1+1; | ~~~~~^~ sgw.cpp:277:26: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 277 | rc2.y = rc.y+rc.h-1; | ~~~~~~~~~^~ sgw.cpp:281:29: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 281 | rc2.x = rc.x + rc.w - 1; | ~~~~~~~~~~~~^~~ sgw.cpp: In function ‘void _SGWSurfaceCopier(SDL_Surface*, SDL_Surface*, int, int, int, int, int, int)’: sgw.cpp:355:16: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 355 | rc.x = left;rc.y = top;rc.w = right-left+1;rc.h = bottom-top+1; | ^~~~ sgw.cpp:355:28: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 355 | rc.x = left;rc.y = top;rc.w = right-left+1;rc.h = bottom-top+1; | ^~~ sgw.cpp:355:49: warning: conversion from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} may change value [-Wconversion] 355 | rc.x = left;rc.y = top;rc.w = right-left+1;rc.h = bottom-top+1; | ~~~~~~~~~~^~ sgw.cpp:355:69: warning: conversion from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} may change value [-Wconversion] 355 | rc.x = left;rc.y = top;rc.w = right-left+1;rc.h = bottom-top+1; | ~~~~~~~~~~^~ sgw.cpp:356:17: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 356 | rc2.x = x;rc2.y = y; | ^ sgw.cpp:356:27: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 356 | rc2.x = x;rc2.y = y; | ^ sgw.cpp: In function ‘void _SGWEllipsePoint(SDL_Surface*, int, int, int, Uint32, int)’: sgw.cpp:375:24: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 375 | rc.x = x;rc.y = y;rc.w = w;rc.h = 1; | ^ sgw.cpp:375:33: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 375 | rc.x = x;rc.y = y;rc.w = w;rc.h = 1; | ^ sgw.cpp:375:42: warning: conversion from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} may change value [-Wconversion] 375 | rc.x = x;rc.y = y;rc.w = w;rc.h = 1; | ^ sgw.cpp:380:24: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 380 | rc.x = x;rc.y = y;rc.w = 1;rc.h = 1; | ^ sgw.cpp:380:33: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 380 | rc.x = x;rc.y = y;rc.w = 1;rc.h = 1; | ^ sgw.cpp:382:26: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 382 | rc.x = x + w; | ~~^~~ sgw.cpp: In function ‘void _SGWLinePixel(SDL_Surface*, int, int, int)’: sgw.cpp:469:24: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 469 | rc.x = x;rc.y = y;rc.w = rc.h = 1; | ^ sgw.cpp:469:33: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 469 | rc.x = x;rc.y = y;rc.w = rc.h = 1; | ^ sgw.cpp: In function ‘void _SGWFONTAngleDraw(SDL_Surface*, SDL_Rect*, int, int, Uint32)’: sgw.cpp:696:23: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 696 | rc3.x = rc->x + w * i / m; | ~~~~~~^~~~~~~~~~~ sgw.cpp:697:23: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 697 | rc3.y = rc->y + h * i / m; | ~~~~~~^~~~~~~~~~~ sgw.cpp: In function ‘void _SGWFONTChar(SDL_Surface*, SDL_Rect*, Uint32, int)’: sgw.cpp:723:30: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 723 | rc2.x = rc->x+rc->w*x/8; // Calculate the bounding rectangle | ~~~~~^~~~~~~~~~ sgw.cpp:724:30: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 724 | rc2.y = rc->y+rc->h*y/8; | ~~~~~^~~~~~~~~~ sgw.cpp:725:44: warning: conversion from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} may change value [-Wconversion] 725 | rc2.w = rc->x+rc->w*(x+1)/8-rc2.x; | ~~~~~~~~~~~~~~~~~~~^~~~~~ sgw.cpp:727:60: warning: conversion from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} may change value [-Wconversion] 727 | rc2.h = rc->y+rc->h*(y+1)/8-rc2.y; | ~~~~~~~~~~~~~~~~~~~^~~~~~ sgw.cpp: In member function ‘void SGWSurface::Char(int, int, int, int, char)’: sgw.cpp:757:16: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 757 | rc.x = x1;rc.y = y1; // Set up bounding rectangle | ^~ sgw.cpp:757:26: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 757 | rc.x = x1;rc.y = y1; // Set up bounding rectangle | ^~ sgw.cpp:758:21: warning: conversion from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} may change value [-Wconversion] 758 | rc.w = x2-x1+1;rc.h = y2-y1+1; | ~~~~~^~ sgw.cpp:758:36: warning: conversion from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} may change value [-Wconversion] 758 | rc.w = x2-x1+1;rc.h = y2-y1+1; | ~~~~~^~ sgw.cpp: In function ‘Uint32 _SGWGetPixel(SDL_Surface*, int, int)’: sgw.cpp:819:17: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 819 | else | ^~~~ sgw.cpp:822:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 822 | break; | ^~~~~ sgw.cpp: In member function ‘void SGWSurface::HorizontalMirror(int, int, int, int)’: sgw.cpp:870:34: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 870 | rc.x = x1+x;rc.y = y; | ~~^~ sgw.cpp:870:44: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 870 | rc.x = x1+x;rc.y = y; | ^ sgw.cpp:874:34: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 874 | rc.x = x2-x; | ~~^~ sgw.cpp: In member function ‘void SGWSurface::VerticalMirror(int, int, int, int)’: sgw.cpp:898:32: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 898 | rc.x = x;rc.y = y1+y; | ^ sgw.cpp:898:43: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 898 | rc.x = x;rc.y = y1+y; | ~~^~ sgw.cpp:900:34: warning: conversion from ‘int’ to ‘Sint16’ {aka ‘short int’} may change value [-Wconversion] 900 | rc.y = y2-y; | ~~^~ sgw.cpp: In member function ‘void SGWAudioObject::Write(int, int)’: sgw.cpp:1153:21: warning: conversion from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} may change value [-Wconversion] 1153 | Wave[Pos] = Dat; | ^~~ sgw.cpp: In member function ‘void SGWAudioBeep::CreateWave(void*, int, int)’: sgw.cpp:1172:32: warning: conversion from ‘int’ to ‘Uint16’ {aka ‘short unsigned int’} may change value [-Wconversion] 1172 | Wave[i] = (sPitch == 0 ? rand() : PValue); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ source='main.cpp' object='main.o' libtool=no \ depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -march=i586 -mtune=i686 -fno-exceptions -fno-check-new -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o main.o `test -f main.cpp || echo './'`main.cpp cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/include/c++/11.2.0/i586-slackware-linux/bits/os_defines.h:39, from /usr/include/c++/11.2.0/i586-slackware-linux/bits/c++config.h:586, from /usr/include/c++/11.2.0/iostream:38, from sgw.hxx:25, from yar.hxx:18, from main.cpp:18: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from yar.hxx:18, from main.cpp:18: sgw.hxx:95:75: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 95 | void String(int x1=0,int y1=0,int x2=0,int y2=0,char *s = ""); | ^~ sgw.hxx: In constructor ‘SGWDisplaySurface::SGWDisplaySurface(int, int)’: sgw.hxx:137:39: warning: unused parameter ‘x’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ sgw.hxx:137:49: warning: unused parameter ‘y’ [-Wunused-parameter] 137 | SGWDisplaySurface(int x = 0,int y = 0) : SGWSurface(0,0,0,1,NULL) { } | ~~~~^~~~~ In file included from main.cpp:18: yar.hxx: At global scope: yar.hxx:96:7: warning: ‘class Sprite’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] 96 | class Sprite | ^~~~~~ yar.hxx:130:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 130 | class EnergyMissile : public Sprite | ^~~~~~~~~~~~~ yar.hxx:130:7: warning: ‘class EnergyMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:142:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 142 | class Yar : public Sprite | ^~~ yar.hxx:142:7: warning: ‘class Yar’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:157:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 157 | class Quotile : public Sprite | ^~~~~~~ yar.hxx:157:7: warning: ‘class Quotile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:175:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 175 | class DestroyerMissile : public Sprite | ^~~~~~~~~~~~~~~~ yar.hxx:175:7: warning: ‘class DestroyerMissile’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] yar.hxx:203:7: warning: base class ‘class Sprite’ has accessible non-virtual destructor [-Wnon-virtual-dtor] 203 | class ZorlonCannon : public Sprite | ^~~~~~~~~~~~ yar.hxx:203:7: warning: ‘class ZorlonCannon’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] main.cpp: In function ‘int PlayGame()’: main.cpp:28:31: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 28 | Disp.String(64,64,960,320,"Yar's Revenge"); | ^~~~~~~~~~~~~~~ main.cpp:31:37: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 31 | Disp.String(512-a,328,512+a,358,"Written by Paul Robson 2003"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:34:37: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 34 | Disp.String(512-a,396,512+a,426,"Based on the Atari 2600 Game"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:36:37: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 36 | Disp.String(512-a,434,512+a,464,"created by Howard Scott Warshaw"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:38:37: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] 38 | Disp.String(512-a,720,512+a,750,"Press Fire to start, Escape to exit"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O2 -march=i586 -mtune=i686 -fno-exceptions -fno-check-new -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o yar zorlon.o game.o shield.o destroy.o quotile.o yar.o graphics.o sprites.o sgw.o main.o -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread make[2]: Leaving directory '/usr/src/slapt-src-i486/games/yar/yar-0.99/yar' make[2]: Entering directory '/usr/src/slapt-src-i486/games/yar/yar-0.99' make[2]: Leaving directory '/usr/src/slapt-src-i486/games/yar/yar-0.99' make[1]: Leaving directory '/usr/src/slapt-src-i486/games/yar/yar-0.99' make INSTALL_PROGRAM="/bin/sh /usr/src/slapt-src-i486/games/yar/yar-0.99/admin/install-sh -c -s" \ `test -z 'strip' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='strip'"` install make[1]: Entering directory '/usr/src/slapt-src-i486/games/yar/yar-0.99' Making install in yar make[2]: Entering directory '/usr/src/slapt-src-i486/games/yar/yar-0.99/yar' make[3]: Entering directory '/usr/src/slapt-src-i486/games/yar/yar-0.99/yar' /bin/sh ../admin/mkinstalldirs /usr/src/slapt-src-i486/games/yar/package-yar/usr/games mkdir -p -- /usr/src/slapt-src-i486/games/yar/package-yar/usr/games STRIPPROG='strip' /bin/sh ../libtool --silent --mode=install /bin/sh /usr/src/slapt-src-i486/games/yar/yar-0.99/admin/install-sh -c -s yar /usr/src/slapt-src-i486/games/yar/package-yar/usr/games/yar make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/slapt-src-i486/games/yar/yar-0.99/yar' make[2]: Leaving directory '/usr/src/slapt-src-i486/games/yar/yar-0.99/yar' make[2]: Entering directory '/usr/src/slapt-src-i486/games/yar/yar-0.99' make[3]: Entering directory '/usr/src/slapt-src-i486/games/yar/yar-0.99' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/slapt-src-i486/games/yar/yar-0.99' make[2]: Leaving directory '/usr/src/slapt-src-i486/games/yar/yar-0.99' make[1]: Leaving directory '/usr/src/slapt-src-i486/games/yar/yar-0.99' Slackware package maker, version 3.14159265. Searching for symbolic links: usr/share/pixmaps/yar.png ../icons/hicolor/48x48/apps/yar.png Making symbolic link creation script: ( cd usr/share/pixmaps ; rm -rf yar.png ) ( cd usr/share/pixmaps ; ln -sf ../icons/hicolor/48x48/apps/yar.png yar.png ) Unless your existing installation script already contains the code to create these links, you should append these lines to your existing install script. Now's your chance. :^) Would you like to add this stuff to the existing install script and remove the symbolic links ([y]es, [n]o)? y Removing symbolic links: removed './usr/share/pixmaps/yar.png' Updating your ./install/doinst.sh... This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src-i486/games/yar/yar-0.99-i586-3salix15.0.txz ./ install/ install/doinst.sh install/slack-desc usr/ usr/doc/ usr/doc/yar-0.99/ usr/doc/yar-0.99/AUTHORS usr/doc/yar-0.99/COPYING usr/doc/yar-0.99/ChangeLog usr/doc/yar-0.99/README usr/doc/yar-0.99/yar.SlackBuild usr/games/ usr/games/yar usr/share/ usr/share/applications/ usr/share/applications/yar.desktop usr/share/icons/ usr/share/icons/hicolor/ usr/share/icons/hicolor/16x16/ usr/share/icons/hicolor/16x16/apps/ usr/share/icons/hicolor/16x16/apps/yar.png usr/share/icons/hicolor/32x32/ usr/share/icons/hicolor/32x32/apps/ usr/share/icons/hicolor/32x32/apps/yar.png usr/share/icons/hicolor/48x48/ usr/share/icons/hicolor/48x48/apps/ usr/share/icons/hicolor/48x48/apps/yar.png usr/share/icons/hicolor/64x64/ usr/share/icons/hicolor/64x64/apps/ usr/share/icons/hicolor/64x64/apps/yar.png usr/share/pixmaps/ Slackware package /usr/src/slapt-src-i486/games/yar/yar-0.99-i586-3salix15.0.txz created. Installing package yar-0.99-i586-3salix15.0... | yar (2d shooting game) | | Yar's Revenge, a rather weird shoot-em-up game that originated on the | Atari 2600. | | | | | | | | |