<86>Jan 26 04:03:09 userdel[15442]: delete user 'rooter' <86>Jan 26 04:03:09 groupadd[15459]: group added to /etc/group: name=rooter, GID=600 <86>Jan 26 04:03:09 groupadd[15459]: group added to /etc/gshadow: name=rooter <86>Jan 26 04:03:09 groupadd[15459]: new group: name=rooter, GID=600 <86>Jan 26 04:03:09 useradd[15467]: new user: name=rooter, UID=600, GID=600, home=/root, shell=/bin/bash <86>Jan 26 04:03:09 userdel[15486]: delete user 'builder' <86>Jan 26 04:03:09 userdel[15486]: removed group 'builder' owned by 'builder' <86>Jan 26 04:03:09 userdel[15486]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 04:03:09 groupadd[15497]: group added to /etc/group: name=builder, GID=601 <86>Jan 26 04:03:09 groupadd[15497]: group added to /etc/gshadow: name=builder <86>Jan 26 04:03:09 groupadd[15497]: new group: name=builder, GID=601 <86>Jan 26 04:03:09 useradd[15506]: new user: name=builder, UID=601, GID=601, home=/usr/src, shell=/bin/bash <13>Jan 26 04:03:14 rpmi: libpng15-1.5.28-alt1 1484572069 installed <13>Jan 26 04:03:14 rpmi: libjpeg-2:1.3.1-alt0.1 1388074039 installed <13>Jan 26 04:03:14 rpmi: xorg-xproto-devel-7.0.31-alt1 1480491055 installed <13>Jan 26 04:03:14 rpmi: libtiff5-4.0.3-alt1 1348347501 installed <13>Jan 26 04:03:14 rpmi: libgraphite2-1.3.9-alt1 1482128024 installed <13>Jan 26 04:03:14 rpmi: libharfbuzz-1.4.2-alt1 1485254798 installed <13>Jan 26 04:03:14 rpmi: libfreetype-2.6.3-alt1 1455987209 installed <13>Jan 26 04:03:14 rpmi: libwrap-1:7.6-alt11 1297041303 installed <13>Jan 26 04:03:14 rpmi: libsndfile-1.0.27-alt1 1479128605 installed <13>Jan 26 04:03:14 rpmi: liblz4-r131-alt1 1447866716 installed <13>Jan 26 04:03:14 rpmi: libgpg-error-1.20-alt1.1 1449204244 installed <13>Jan 26 04:03:14 rpmi: libgcrypt20-1.6.6-alt1 1471552782 installed <13>Jan 26 04:03:14 rpmi: libsystemd-1:232-alt1 1485301381 installed <13>Jan 26 04:03:14 rpmi: libdbus-1.10.12-alt1 1476116348 installed <13>Jan 26 04:03:14 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Jan 26 04:03:14 rpmi: libalsa-1:1.1.3-alt3 1482850950 installed <13>Jan 26 04:03:14 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531929 installed <13>Jan 26 04:03:14 rpmi: libxshmfence-1.2-alt1 1420972190 installed <13>Jan 26 04:03:14 rpmi: libexpat-2.1.0-alt1 1347469773 installed <13>Jan 26 04:03:14 rpmi: libpciaccess-1:0.13.4-alt1 1431681690 installed <13>Jan 26 04:03:14 rpmi: libdrm-1:2.4.74-alt1 1484221443 installed <13>Jan 26 04:03:14 rpmi: libX11-locales-3:1.6.4-alt1 1480493483 installed <13>Jan 26 04:03:14 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Jan 26 04:03:14 rpmi: libXau-1.0.8-alt1 1369565808 installed <13>Jan 26 04:03:14 rpmi: libxcb-1.12-alt1 1471592579 installed <13>Jan 26 04:03:14 rpmi: libX11-3:1.6.4-alt1 1480493483 installed <13>Jan 26 04:03:14 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Jan 26 04:03:14 rpmi: libXxf86vm-1.1.3-alt1 1369984835 installed <13>Jan 26 04:03:14 rpmi: libXdamage-1.1.3-alt4 1297162593 installed <13>Jan 26 04:03:14 rpmi: libXfixes-5.0.1-alt1 1369809608 installed <13>Jan 26 04:03:14 rpmi: libGL-4:13.0.3-alt1 1484223040 installed <13>Jan 26 04:03:14 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Jan 26 04:03:14 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Jan 26 04:03:14 rpmi: libXrandr-1.5.0-alt1 1431936189 installed <13>Jan 26 04:03:15 rpmi: libxcb-devel-1.12-alt1 1471592579 installed <13>Jan 26 04:03:16 rpmi: libX11-devel-3:1.6.4-alt1 1480493483 installed <13>Jan 26 04:03:16 rpmi: libGL-devel-4:13.0.3-alt1 1484223040 installed <13>Jan 26 04:03:16 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Jan 26 04:03:16 rpmi: libpulseaudio-10.0-alt1 1484840383 installed <13>Jan 26 04:03:16 rpmi: libSDL-1.2.14-alt7 1483707272 installed <13>Jan 26 04:03:16 rpmi: libSDL-devel-1.2.14-alt7 1483707272 installed <13>Jan 26 04:03:16 rpmi: libSDL_image-1.2.12-alt1 1347907935 installed <13>Jan 26 04:03:16 rpmi: libSDL_ttf-2.0.10-alt2 1314052177 installed <13>Jan 26 04:03:16 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Jan 26 04:03:17 rpmi: libstdc++6-devel-6.3.1-alt1 1484277945 installed <13>Jan 26 04:03:18 rpmi: gcc6-c++-6.3.1-alt1 1484277945 installed <13>Jan 26 04:03:18 rpmi: libSDL_ttf-devel-2.0.10-alt2 1314052177 installed <13>Jan 26 04:03:18 rpmi: libSDL_image-devel-1.2.12-alt1 1347907935 installed Installing xye-0.12.1-alt1.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.58746 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf xye-0.12.1 + echo 'Source #0 (xye-0.12.1.tar.gz):' Source #0 (xye-0.12.1.tar.gz): + /bin/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/xye-0.12.1.tar.gz + cd xye-0.12.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (xye-0.12.1-alt-glibc-2.16.patch):' Patch #0 (xye-0.12.1-alt-glibc-2.16.patch): + /usr/bin/patch -p2 patching file src/gen.cpp + echo 'Patch #1 (xye-0.12.1-alt-gcc4.7.patch):' Patch #1 (xye-0.12.1-alt-gcc4.7.patch): + /usr/bin/patch -p2 patching file src/editorsave.cpp + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.58746 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xye-0.12.1 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.in: not using Gettext autoreconf-default: running: aclocal --force aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' acinclude.m4:11: warning: underquoted definition of AM_PATH_SDL acinclude.m4:11: run info Automake 'Extending aclocal' acinclude.m4:11: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal configure.in:11: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET ../../lib/autoconf/general.m4:1835: AC_CANONICAL_TARGET is expanded from... configure.in:11: the top level autoreconf-default: configure.in: tracing configure.in:11: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET ../../lib/autoconf/general.m4:1835: AC_CANONICAL_TARGET is expanded from... configure.in:11: the top level autoreconf-default: configure.in: not using Libtool autoreconf-default: configure.in: not using Intltool autoreconf-default: configure.in: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force configure.in:11: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET ../../lib/autoconf/general.m4:1835: AC_CANONICAL_TARGET is expanded from... configure.in:11: the top level autoreconf-default: configure.in: not using Autoheader autoreconf-default: running: automake --add-missing --force-missing automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:11: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET ../../lib/autoconf/general.m4:1835: AC_CANONICAL_TARGET is expanded from... configure.in:11: the top level configure.in:14: installing './compile' Makefile.am:73: warning: source file 'src/main.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled automake-default: warning: possible forward-incompatibility. automake-default: At least a source file is in a subdirectory, but the 'subdir-objects' automake-default: automake option hasn't been enabled. For now, the corresponding output automake-default: object file(s) will be placed in the top-level directory. However, automake-default: this behaviour will change in future Automake versions: they will automake-default: unconditionally cause object files to be placed in the same subdirectory automake-default: of the corresponding sources. automake-default: You are advised to start using 'subdir-objects' option throughout your automake-default: project, to avoid future incompatibilities. Makefile.am:73: warning: source file 'src/browser.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/font.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/gen.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/kye_script.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/levels.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/options.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/tinyxml/xye_tinystr.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/tinyxml/xye_tinyxml.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/tinyxml/xye_tinyxmlerror.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/tinyxml/xye_tinyxmlparser.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/vxsdl.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/xye.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/xsb_level.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/xye_script.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/listbox.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/record.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/xyedit.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/editorsave.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/editorload.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/dialogs.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/window.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled Makefile.am:73: warning: source file 'src/skins.cpp' is in a subdirectory, Makefile.am:73: but option 'subdir-objects' is disabled automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking target system type... i586-alt-linux-gnu checking for i586-alt-linux-gcc... i586-alt-linux-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 we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of i586-alt-linux-gcc... none checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking dependency style of i586-alt-linux-g++... none checking for an ANSI C-conforming const... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.9... yes checking for IMG_LoadPNG_RW in -lSDL_image... yes checking for TTF_GlyphMetrics in -lSDL_ttf... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: executing depfiles commands configure: WARNING: unrecognized options: --without-included-gettext The xye binary will be installed in /usr/bin Configure complete, now type 'make' and hope for the best. + '[' -n '' ']' + NPROCS=1 + make -j1 make: Entering directory `/usr/src/RPM/BUILD/xye-0.12.1' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o main.o `test -f 'src/main.cpp' || echo './'`src/main.cpp i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o browser.o `test -f 'src/browser.cpp' || echo './'`src/browser.cpp src/browser.cpp: In member function 'const char* Folder::NextFileOfType(const char*)': src/browser.cpp:106:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (ent=readdir(D)) ^ src/browser.cpp:104:9: warning: unused variable 'L' [-Wunused-variable] int L=strlen(dirname),L2; ^ src/browser.cpp:104:27: warning: variable 'L2' set but not used [-Wunused-but-set-variable] int L=strlen(dirname),L2; ^~ src/browser.cpp: In member function 'const char* Folder::NextFileMatching(bool (*)(const char*))': src/browser.cpp:132:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (ent=readdir(D)) ^ src/browser.cpp:130:9: warning: unused variable 'L' [-Wunused-variable] int L=strlen(dirname),L2; ^ src/browser.cpp:130:27: warning: variable 'L2' set but not used [-Wunused-but-set-variable] int L=strlen(dirname),L2; ^~ src/browser.cpp: In member function 'const char* Folder::NextSubFolder()': src/browser.cpp:157:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (ent=readdir(D)) ^ src/browser.cpp:155:9: warning: unused variable 'L' [-Wunused-variable] int L=strlen(dirname),L2; ^ src/browser.cpp:155:27: warning: variable 'L2' set but not used [-Wunused-but-set-variable] int L=strlen(dirname),L2; ^~ i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o font.o `test -f 'src/font.cpp' || echo './'`src/font.cpp src/font.cpp: In member function 'void Font::fontinit(SDL_Surface*, Uint8, Uint8, Uint8)': src/font.cpp:98:12: warning: unused variable 'pixel' [-Wunused-variable] Uint32 pixel; ^~~~~ src/font.cpp:128:16: warning: unused variable 'g' [-Wunused-variable] Uint8 rd=0,g=0,b=0,a=0; ^ src/font.cpp:128:24: warning: unused variable 'a' [-Wunused-variable] Uint8 rd=0,g=0,b=0,a=0; ^ src/font.cpp:136:16: warning: unused variable 'X' [-Wunused-variable] FixedRGBA* X; ^ src/font.cpp: In member function 'void Font::WriteWrap(SDL_Surface*, int, int, int, int, const char*) const': src/font.cpp:309:13: warning: unused variable 'th' [-Wunused-variable] int th,tw; ^~ src/font.cpp:309:16: warning: unused variable 'tw' [-Wunused-variable] int th,tw; ^~ src/font.cpp:311:13: warning: unused variable 'wor' [-Wunused-variable] int wor=0; ^~~ src/font.cpp:376:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] srcrect.h = (sh-y=sw) ~~~~~~~~~~~~~~~~~~~^~~~ src/font.cpp:437:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] srcrect.h = (sh-y > Font::splitByLines(const char*, int) const': src/font.cpp:461:9: warning: unused variable 'charoffset' [-Wunused-variable] int charoffset; ^~~~~~~~~~ src/font.cpp:466:9: warning: unused variable 'cw' [-Wunused-variable] int cw=0; ^~ i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gen.o `test -f 'src/gen.cpp' || echo './'`src/gen.cpp src/gen.cpp: In function 'std::__cxx11::string StripXML(std::__cxx11::string)': src/gen.cpp:168:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0;i&)': src/kye_script.cpp:159:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; iNext) ^ src/kye_script.cpp: In function 'void LoadXyeWall_R(unsigned char, unsigned char)': src/kye_script.cpp:305:11: warning: unused variable 'wl' [-Wunused-variable] wall* wl=new wall(game::Square(i,j),4); ^~ src/kye_script.cpp: In function 'void LoadKyeTimer(unsigned char, unsigned char, unsigned char)': src/kye_script.cpp:310:13: warning: unused variable 't' [-Wunused-variable] number* t=new number(game::Square(x,y),B_YELLOW,tm,false); ^ src/kye_script.cpp: In function 'void LoadKyeEarth(unsigned char, unsigned char)': src/kye_script.cpp:315:12: warning: unused variable 'e' [-Wunused-variable] earth* e=new earth(game::Square(x,y)); ^ src/kye_script.cpp: In function 'void LoadKyeGem(unsigned char, unsigned char)': src/kye_script.cpp:320:10: warning: unused variable 'g' [-Wunused-variable] gem* g=new gem(game::Square(x,y),B_BLUE); ^ src/kye_script.cpp: In function 'void LoadXyeEmerald(unsigned char, unsigned char)': src/kye_script.cpp:325:10: warning: unused variable 'g' [-Wunused-variable] gem* g=new gem(game::Square(x,y),B_GREEN); ^ src/kye_script.cpp: In function 'void LoadXyeGemBlock(unsigned char, unsigned char)': src/kye_script.cpp:330:15: warning: unused variable 'g' [-Wunused-variable] gemblock* g=new gemblock(game::Square(x,y),B_GREEN); ^ src/kye_script.cpp: In function 'void LoadXyeBlockDoor(unsigned char, unsigned char, bool)': src/kye_script.cpp:335:16: warning: unused variable 'g' [-Wunused-variable] blockdoor* g=new blockdoor(game::Square(x,y),trap,true,B_YELLOW); ^ src/kye_script.cpp: In function 'void LoadXyeMarked(unsigned char, unsigned char)': src/kye_script.cpp:341:13: warning: unused variable 'g' [-Wunused-variable] marked* g=new marked(game::Square(x,y),B_YELLOW); ^ src/kye_script.cpp: In function 'void LoadKyeBlock(unsigned char, unsigned char, bool, bool)': src/kye_script.cpp:347:12: warning: unused variable 'b' [-Wunused-variable] block* b=new block(game::Square(x,y), /*(fromxye?B_YELLOW: B_GREEN)*/ B_YELLOW,round); ^ src/kye_script.cpp: In function 'void LoadKyeBeast(unsigned char, unsigned char, btype)': src/kye_script.cpp:355:12: warning: unused variable 'b' [-Wunused-variable] beast* b=new beast(game::Square(x,y),B,D_UP); ^ src/kye_script.cpp: In function 'void LoadKyeSticky(unsigned char, unsigned char, bool)': src/kye_script.cpp:360:15: warning: unused variable 'm' [-Wunused-variable] magnetic* m=new magnetic(game::Square(x,y),T_MAGNET,horz); ^ src/kye_script.cpp: In function 'void LoadSKyeSticky(unsigned char, unsigned char, bool)': src/kye_script.cpp:365:15: warning: unused variable 'm' [-Wunused-variable] magnetic* m=new magnetic(game::Square(x,y),T_STICKY,horz); ^ src/kye_script.cpp: In function 'void LoadXyeAntiMagnet(unsigned char, unsigned char, bool)': src/kye_script.cpp:370:15: warning: unused variable 'm' [-Wunused-variable] magnetic* m=new magnetic(game::Square(x,y),T_ANTIMAGNET,horz); ^ src/kye_script.cpp: In function 'void LoadSKyeBomb(unsigned char, unsigned char)': src/kye_script.cpp:375:15: warning: unused variable 'm' [-Wunused-variable] surprise* m=new surprise(game::Square(x,y),B_RED,false); ^ src/kye_script.cpp: In function 'void LoadSKyePit(unsigned char, unsigned char)': src/kye_script.cpp:380:10: warning: unused variable 'm' [-Wunused-variable] pit* m=new pit(game::Square(x,y)); ^ src/kye_script.cpp: In function 'void LoadKyeBlacky(unsigned char, unsigned char)': src/kye_script.cpp:385:16: warning: unused variable 'b' [-Wunused-variable] dangerous* b=new dangerous(game::Square(x,y),OT_BLACKHOLE); ^ src/kye_script.cpp: In function 'void LoadXyeMine(unsigned char, unsigned char)': src/kye_script.cpp:390:16: warning: unused variable 'b' [-Wunused-variable] dangerous* b=new dangerous(game::Square(x,y),OT_MINE); ^ src/kye_script.cpp: In function 'void LoadKyeArrow(unsigned char, unsigned char, bool, edir)': src/kye_script.cpp:396:12: warning: unused variable 'a' [-Wunused-variable] arrow *a=new arrow(game::Square(x,y),B_YELLOW,d,round); ^ src/kye_script.cpp: In function 'void LoadKye3Teleport(unsigned char, unsigned char, edir)': src/kye_script.cpp:401:15: warning: unused variable 'a' [-Wunused-variable] teleport *a=new teleport(game::Square(x,y),d); ^ src/kye_script.cpp: In function 'void LoadKyeBouncer(unsigned char, unsigned char, edir)': src/kye_script.cpp:407:15: warning: unused variable 'i' [-Wunused-variable] impacter *i=new impacter(game::Square(x,y),B_YELLOW,d); ^ src/kye_script.cpp: In function 'void LoadKyeClockerAclocker(unsigned char, unsigned char, bool)': src/kye_script.cpp:412:13: warning: unused variable 't' [-Wunused-variable] turner *t=new turner(game::Square(x,y),B_YELLOW,clockwise,false); ^ src/kye_script.cpp: In function 'void LoadKyeAuto(unsigned char, unsigned char, bool)': src/kye_script.cpp:417:16: warning: unused variable 'bc' [-Wunused-variable] autoarrow* bc=new autoarrow(game::SquareN(x,y),B_YELLOW,autoarrow::GetDefaultEdirByColumn(x),round); ^~ src/kye_script.cpp: In function 'void LoadKyeOneWay(unsigned char, unsigned char, edir)': src/kye_script.cpp:432:11: warning: unused variable 'td' [-Wunused-variable] tdoor* td= new tdoor(game::SquareN(x,y), (l || r)? td_HORZ:td_VERT ,u,r,d,l); ^~ src/kye_script.cpp: In function 'void LoadXyeDotBlock(unsigned char, unsigned char, bool)': src/kye_script.cpp:438:17: warning: unused variable 'l' [-Wunused-variable] lowdensity* l=new lowdensity(game::SquareN(x,y),B_YELLOW,round); ^ src/kye_script.cpp: In function 'void LoadXyeSurprise(unsigned char, unsigned char, bool)': src/kye_script.cpp:443:15: warning: unused variable 'l' [-Wunused-variable] surprise* l=new surprise(game::SquareN(x,y),B_BLUE,round); ^ src/kye_script.cpp: In function 'void LoadXyeToggle(unsigned char, unsigned char, bool)': src/kye_script.cpp:448:13: warning: unused variable 'l' [-Wunused-variable] toggle* l=new toggle(game::SquareN(x,y),B_YELLOW,false,! plus); ^ src/kye_script.cpp: In function 'void LoadXyeBot(unsigned char, unsigned char)': src/kye_script.cpp:453:14: warning: unused variable 'l' [-Wunused-variable] roboxye* l=new roboxye(game::SquareN(x,y)); ^ src/kye_script.cpp: In member function 'void KyeLevel::SetGameCaption()': src/kye_script.cpp:459:9: warning: unused variable 'L' [-Wunused-variable] int L=name.length(); ^ src/kye_script.cpp: In member function 'void KyeLevel::Load()': src/kye_script.cpp:582:10: warning: unused variable 'rx' [-Wunused-variable] char rx,ry; ^~ src/kye_script.cpp:582:13: warning: unused variable 'ry' [-Wunused-variable] char rx,ry; ^~ i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o levels.o `test -f 'src/levels.cpp' || echo './'`src/levels.cpp src/levels.cpp: In member function 'virtual void LevelBrowser::LevelInfo::draw(SDL_Surface*)': src/levels.cpp:101:16: warning: unused variable 'sh' [-Wunused-variable] Sint16 sh = h; ^~ src/levels.cpp:104:13: warning: variable 'fof' set but not used [-Wunused-but-set-variable] int fof=0; ^~~ src/levels.cpp: In function 'unsigned int LevelBrowser::CountMatchingFiles(const char*)': src/levels.cpp:210:45: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (N=F.NextFileMatching(Akyexyelevel)) if (strlen(N)<=20) c++; ^ src/levels.cpp:212:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (N=F.NextSubFolder()) ^ src/levels.cpp: In function 'void LevelBrowser::FillArrayWithFilenames()': src/levels.cpp:396:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;iAttribute("sprites")) { ^ src/options.cpp:478:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tm=ele->Attribute("icon")) { ^ src/options.cpp:489:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tm=ele->Attribute("luminosity")) { ^ src/options.cpp:496:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tm=ele->Attribute("xyedirections")) ^ src/options.cpp:500:38: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tm=ele->Attribute("fontfile")) { ^ src/options.cpp:508:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tm=ele->Attribute("boldfontfile")) { ^ src/options.cpp:517:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tm=ele->Attribute("truetypesize")) { ^ src/options.cpp:520:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tm=ele->Attribute("size")) { ^ src/options.cpp:452:10: warning: unused variable 'correct' [-Wunused-variable] bool correct = false; ^~~~~~~ src/options.cpp: In function 'TiXmlDocument* options::defaultxyeconf(const char*, TiXmlElement*&)': src/options.cpp:583:37: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (options=GetOptionsElement(r)) ^ src/options.cpp: In function 'TiXmlDocument* options::getxyeconf(TiXmlElement*&)': src/options.cpp:603:40: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (options = GetOptionsElement(r) ) { ^ src/options.cpp: In function 'void options::Init()': src/options.cpp:741:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tm=ele->Attribute("red")) r=atoi(tm); ^ src/options.cpp:742:35: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tm=ele->Attribute("green")) g=atoi(tm); ^ src/options.cpp:743:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tm=ele->Attribute("blue")) b=atoi(tm); ^ src/options.cpp:745:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tm=ele->Attribute("undo")) ^ src/options.cpp:754:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tm=ele->Attribute("pickedtheme")) ^ src/options.cpp:761:48: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tm=ele->Attribute("disablelevelcolors")) ^ In file included from src/options.h:1:0, from src/options.cpp:17: src/tinyxml/xye_tinyxml.h: In member function 'TiXmlElement* TiXmlNode::ToElement()': src/tinyxml/xye_tinyxml.h:644:69: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] TiXmlElement* ToElement() { return ( this && type == ELEMENT ) ? (TiXmlElement*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o xye_tinystr.o `test -f 'src/tinyxml/xye_tinystr.cpp' || echo './'`src/tinyxml/xye_tinystr.cpp i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o xye_tinyxml.o `test -f 'src/tinyxml/xye_tinyxml.cpp' || echo './'`src/tinyxml/xye_tinyxml.cpp In file included from src/tinyxml/xye_tinyxml.cpp:26:0: src/tinyxml/xye_tinyxml.h: In member function 'const TiXmlDocument* TiXmlNode::ToDocument() const': src/tinyxml/xye_tinyxml.h:636:81: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] const TiXmlDocument* ToDocument() const { return ( this && type == DOCUMENT ) ? (const TiXmlDocument*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tinyxml/xye_tinyxml.h: In member function 'const TiXmlElement* TiXmlNode::ToElement() const': src/tinyxml/xye_tinyxml.h:637:81: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] const TiXmlElement* ToElement() const { return ( this && type == ELEMENT ) ? (const TiXmlElement*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tinyxml/xye_tinyxml.h: In member function 'const TiXmlText* TiXmlNode::ToText() const': src/tinyxml/xye_tinyxml.h:640:79: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] const TiXmlText* ToText() const { return ( this && type == TEXT ) ? (const TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tinyxml/xye_tinyxml.h: In member function 'TiXmlDocument* TiXmlNode::ToDocument()': src/tinyxml/xye_tinyxml.h:643:70: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] TiXmlDocument* ToDocument() { return ( this && type == DOCUMENT ) ? (TiXmlDocument*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tinyxml/xye_tinyxml.h: In member function 'TiXmlElement* TiXmlNode::ToElement()': src/tinyxml/xye_tinyxml.h:644:69: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] TiXmlElement* ToElement() { return ( this && type == ELEMENT ) ? (TiXmlElement*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tinyxml/xye_tinyxml.h: In member function 'TiXmlText* TiXmlNode::ToText()': src/tinyxml/xye_tinyxml.h:647:68: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] TiXmlText* ToText() { return ( this && type == TEXT ) ? (TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o xye_tinyxmlerror.o `test -f 'src/tinyxml/xye_tinyxmlerror.cpp' || echo './'`src/tinyxml/xye_tinyxmlerror.cpp i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o xye_tinyxmlparser.o `test -f 'src/tinyxml/xye_tinyxmlparser.cpp' || echo './'`src/tinyxml/xye_tinyxmlparser.cpp src/tinyxml/xye_tinyxmlparser.cpp: In static member function 'static const char* TiXmlBase::SkipWhiteSpace(const char*, TiXmlEncoding)': src/tinyxml/xye_tinyxmlparser.cpp:348:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while ( *p && IsWhiteSpace( *p ) || *p == '\n' || *p =='\r' ) ~~~^~~~~~~~~~~~~~~~~~~~~ src/tinyxml/xye_tinyxmlparser.cpp: In member function 'virtual const char* TiXmlAttribute::Parse(const char*, TiXmlParsingData*, TiXmlEncoding)': src/tinyxml/xye_tinyxmlparser.cpp:1323:6: warning: variable 'tabsize' set but not used [-Wunused-but-set-variable] int tabsize = 4; ^~~~~~~ In file included from src/tinyxml/xye_tinyxmlparser.cpp:25:0: src/tinyxml/xye_tinyxml.h: In member function 'TiXmlDeclaration* TiXmlNode::ToDeclaration()': src/tinyxml/xye_tinyxml.h:648:77: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare] TiXmlDeclaration* ToDeclaration() { return ( this && type == DECLARATION ) ? (TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vxsdl.o `test -f 'src/vxsdl.cpp' || echo './'`src/vxsdl.cpp src/vxsdl.cpp: In function 'SDL_Surface* RecolorPartOfSurface(SDL_Surface*, Sint16, Sint16, Uint16, Uint16, Uint8, Uint8, Uint8, Uint8)': src/vxsdl.cpp:118:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=sx;i<(sx+sw);i++) ~^~~~~~~~ src/vxsdl.cpp:121:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=sy;j<(sy+sh);j++) ~^~~~~~~~ src/vxsdl.cpp:108:16: warning: unused variable 'tm2' [-Wunused-variable] Uint32 tm=0,tm2=0; ^~~ src/vxsdl.cpp:112:27: warning: unused variable 'aux' [-Wunused-variable] Uint8 rd=0,g=0,b=0,a=0,aux=0; ^~~ i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o xye.o `test -f 'src/xye.cpp' || echo './'`src/xye.cpp src/xye.cpp:2634:9: warning: multi-line comment [-Wcomment] // /\ ^ src/xye.cpp:2643:9: warning: multi-line comment [-Wcomment] // /\ ^ src/xye.cpp:9317:1: warning: "/*" within comment [-Wcomment] /** /Object recycle queue **/ src/xye.cpp: In static member function 'static void game::InitGraphics()': src/xye.cpp:257:15: warning: unused variable 'c' [-Wunused-variable] SDL_Color c; ^ src/xye.cpp: In static member function 'static int game::Init(const char*)': src/xye.cpp:362:10: warning: unused variable 'i' [-Wunused-variable] char i,j; ^ src/xye.cpp:362:12: warning: unused variable 'j' [-Wunused-variable] char i,j; ^ src/xye.cpp:363:9: warning: unused variable 'ix' [-Wunused-variable] int ix,iy; ^~ src/xye.cpp:363:12: warning: unused variable 'iy' [-Wunused-variable] int ix,iy; ^~ src/xye.cpp: In static member function 'static void game::onKeyDown(SDLKey, Uint16)': src/xye.cpp:784:24: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] switch (keysim) ^ src/xye.cpp:784:24: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_BACKSPACE' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_SPACE' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_d' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_f' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_g' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_r' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_PAGEUP' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] src/xye.cpp:784:24: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] src/xye.cpp:781:10: warning: unused variable 'done' [-Wunused-variable] bool done=false; ^~~~ src/xye.cpp:782:10: warning: unused variable 'browse' [-Wunused-variable] bool browse=false; ^~~~~~ src/xye.cpp: In static member function 'static void game::onKeyUp(SDLKey, Uint16)': src/xye.cpp:860:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (DK_PRESSED) DK_PRESSED = ((DK_DIR!=D_UP) || (EvalDirKeys())); break; ^~ src/xye.cpp:860:91: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (DK_PRESSED) DK_PRESSED = ((DK_DIR!=D_UP) || (EvalDirKeys())); break; ^~~~~ src/xye.cpp:863:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (DK_PRESSED) DK_PRESSED = ((DK_DIR!=D_DOWN) || (EvalDirKeys())); break; ^~ src/xye.cpp:863:93: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (DK_PRESSED) DK_PRESSED = ((DK_DIR!=D_DOWN) || (EvalDirKeys())); break; ^~~~~ src/xye.cpp:866:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (DK_PRESSED) DK_PRESSED = ((DK_DIR!=D_LEFT) || (EvalDirKeys())); break; ^~ src/xye.cpp:866:93: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (DK_PRESSED) DK_PRESSED = ((DK_DIR!=D_LEFT) || (EvalDirKeys())); break; ^~~~~ src/xye.cpp:869:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (DK_PRESSED) DK_PRESSED = ((DK_DIR!=D_RIGHT) || (EvalDirKeys())); break; ^~ src/xye.cpp:869:94: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (DK_PRESSED) DK_PRESSED = ((DK_DIR!=D_RIGHT) || (EvalDirKeys())); break; ^~~~~ src/xye.cpp:846:24: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] switch (keysim) ^ src/xye.cpp:846:24: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_RETURN' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_ESCAPE' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_SPACE' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_MINUS' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_b' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_d' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_f' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_g' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_n' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_p' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_r' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_s' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_DELETE' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP_ENTER' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_PAGEUP' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] src/xye.cpp:846:24: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] src/xye.cpp:843:10: warning: unused variable 'done' [-Wunused-variable] bool done=false; ^~~~ src/xye.cpp:844:10: warning: unused variable 'browse' [-Wunused-variable] bool browse=false; ^~~~~~ src/xye.cpp: In static member function 'static void game::InitGameSection(window*)': src/xye.cpp:1113:12: warning: unused variable 'cx' [-Wunused-variable] Sint16 cx=0, cy = oy+XYE_XTRA_Y + game::GRIDSIZE; ^~ src/xye.cpp: In static member function 'static void game::start(bool)': src/xye.cpp:1170:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (undo=undotime) { ^ src/xye.cpp:1225:23: warning: array subscript has type 'char' [-Wchar-subscripts] sq=&grid[i][j]; ^ src/xye.cpp:1225:26: warning: array subscript has type 'char' [-Wchar-subscripts] sq=&grid[i][j]; ^ src/xye.cpp: In static member function 'static void game::loop_Sub(char, char)': src/xye.cpp:1253:15: warning: array subscript has type 'char' [-Wchar-subscripts] sq=&grid[i][j]; ^ src/xye.cpp:1253:18: warning: array subscript has type 'char' [-Wchar-subscripts] sq=&grid[i][j]; ^ src/xye.cpp:1256:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gobject=sq->gobject) gobject->Loop(); ^ src/xye.cpp: In static member function 'static void game::draw(Sint16, Sint16)': src/xye.cpp:1656:36: warning: enumeration value 'OT_XYE' not handled in switch [-Wswitch] if (shadow) switch (gobject->GetType()) ^ src/xye.cpp:1656:36: warning: enumeration value 'OT_ROBOXYE' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_GEM' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_TELEPORT' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_BLACKHOLE' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_MINE' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_FIREBALL' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_RATTLER' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:1656:36: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_ROBOXYE' not handled in switch [-Wswitch] if (shadow) switch(object->GetType()) ^ src/xye.cpp:1667:35: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_TELEPORT' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_BLACKHOLE' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_MINE' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_FIREBALL' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_RATTLER' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:1667:35: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp:1578:12: warning: unused variable 'black' [-Wunused-variable] Uint32 black=SDL_MapRGB(screen->format, 0, 0, 0); ^~~~~ src/xye.cpp: In static member function 'static bool game::TryMoveXye(char, char, edir)': src/xye.cpp:1791:16: warning: enumeration value 'OT_XYE' not handled in switch [-Wswitch] switch (object->GetType()) ^ src/xye.cpp:1791:16: warning: enumeration value 'OT_ROBOXYE' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_GEM' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_RATTLER' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:1791:16: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp:1783:16: warning: unused variable 'cx' [-Wunused-variable] char nx,ny,cx,cy; ^~ src/xye.cpp:1783:19: warning: unused variable 'cy' [-Wunused-variable] char nx,ny,cx,cy; ^~ src/xye.cpp: In static member function 'static bool game::LastMoveWasHorizontal()': src/xye.cpp:1844:11: warning: enumeration value 'D_UP' not handled in switch [-Wswitch] switch(LastXyeDir) ^ src/xye.cpp:1844:11: warning: enumeration value 'D_DOWN' not handled in switch [-Wswitch] src/xye.cpp: In static member function 'static bool game::Mod2(unsigned int)': src/xye.cpp:1993:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] inline bool game::Mod2(unsigned int m) { return (counter2==m);} ~~~~~~~~^~~ src/xye.cpp: In static member function 'static bool game::Mod3(unsigned int)': src/xye.cpp:1994:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] inline bool game::Mod3(unsigned int m) { return (counter3==m);} ~~~~~~~~^~~ src/xye.cpp: In static member function 'static bool game::Mod4(unsigned int)': src/xye.cpp:1995:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] inline bool game::Mod4(unsigned int m) { return (counter4==m);} ~~~~~~~~^~~ src/xye.cpp: In static member function 'static bool game::Mod5(unsigned int)': src/xye.cpp:1996:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] inline bool game::Mod5(unsigned int m) { return (counter5==m);} ~~~~~~~~^~~ src/xye.cpp: In static member function 'static bool game::Mod7(unsigned int)': src/xye.cpp:1997:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] inline bool game::Mod7(unsigned int m) { return (counter7==m);} ~~~~~~~~^~~ src/xye.cpp: In static member function 'static bool game::Mod8(unsigned int)': src/xye.cpp:1998:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] inline bool game::Mod8(unsigned int m) { return (counter8==m);} ~~~~~~~~^~~ src/xye.cpp: In static member function 'static bool game::Mod9(unsigned int)': src/xye.cpp:1999:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] inline bool game::Mod9(unsigned int m) { return (counter9==m);} ~~~~~~~~^~~ src/xye.cpp: In static member function 'static void game::end()': src/xye.cpp:2018:19: warning: array subscript has type 'char' [-Wchar-subscripts] sq=&grid[i][j]; ^ src/xye.cpp:2018:22: warning: array subscript has type 'char' [-Wchar-subscripts] sq=&grid[i][j]; ^ src/xye.cpp:2021:32: warning: deleting object of abstract class type 'gobj' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete (sq->gobject); ^ src/xye.cpp:2026:31: warning: deleting object of abstract class type 'obj' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete (sq->object); ^ src/xye.cpp: In static member function 'static bool game::FindGoodPoint(char, char, char&, char&, obj*, bool (*)(square*, obj*))': src/xye.cpp:2075:18: warning: array subscript has type 'char' [-Wchar-subscripts] mem[i][j]=false; ^ src/xye.cpp:2075:21: warning: array subscript has type 'char' [-Wchar-subscripts] mem[i][j]=false; ^ src/xye.cpp:2084:11: warning: array subscript has type 'char' [-Wchar-subscripts] mem[cx][cy]=true; ^ src/xye.cpp:2084:15: warning: array subscript has type 'char' [-Wchar-subscripts] mem[cx][cy]=true; ^ src/xye.cpp:2099:30: warning: array subscript has type 'char' [-Wchar-subscripts] rx=tx+ix[i]; ^ src/xye.cpp:2100:30: warning: array subscript has type 'char' [-Wchar-subscripts] ry=ty+iy[i]; ^ src/xye.cpp:2102:88: warning: array subscript has type 'char' [-Wchar-subscripts] if ((rx<0) || (ry<0) || (rx>=XYE_HORZ) || (ry>=XYE_VERT) || (mem[rx][ry])); ^ src/xye.cpp:2102:92: warning: array subscript has type 'char' [-Wchar-subscripts] if ((rx<0) || (ry<0) || (rx>=XYE_HORZ) || (ry>=XYE_VERT) || (mem[rx][ry])); ^ src/xye.cpp:2107:32: warning: array subscript has type 'char' [-Wchar-subscripts] mem[rx][ry]=true; ^ src/xye.cpp:2107:36: warning: array subscript has type 'char' [-Wchar-subscripts] mem[rx][ry]=true; ^ src/xye.cpp: In function 'bool ObjectResistsFire(obj*)': src/xye.cpp:2189:11: warning: enumeration value 'OT_XYE' not handled in switch [-Wswitch] switch(o->GetType()) ^ src/xye.cpp:2189:11: warning: enumeration value 'OT_ROBOXYE' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_TELEPORT' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_BLACKHOLE' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_MINE' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_RATTLER' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:2189:11: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp: In member function 'bool obj::trypush_common(edir, obj*, bool, bool*)': src/xye.cpp:2432:20: warning: enumeration value 'OT_XYE' not handled in switch [-Wswitch] switch (inobj->GetType()) ^ src/xye.cpp:2432:20: warning: enumeration value 'OT_ROBOXYE' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_GEM' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_RATTLER' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:2432:20: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp: In function 'bool SpotAffectedByAMagnetic(obj*, char, char)': src/xye.cpp:2518:10: warning: unused variable 'nx' [-Wunused-variable] char nx, ny; ^~ src/xye.cpp:2518:14: warning: unused variable 'ny' [-Wunused-variable] char nx, ny; ^~ src/xye.cpp: In member function 'bool obj::GoFindASquare(bool (*)(square*), edir*, int&, bool&, bool, bool, bool, bool, unsigned int, bool)': src/xye.cpp:2722:34: warning: array subscript has type 'char' [-Wchar-subscripts] signed char aux=gox[i]; ^ src/xye.cpp:2724:18: warning: array subscript has type 'char' [-Wchar-subscripts] gox[i]=gox[j]; ^ src/xye.cpp:2724:25: warning: array subscript has type 'char' [-Wchar-subscripts] gox[i]=gox[j]; ^ src/xye.cpp:2725:18: warning: array subscript has type 'char' [-Wchar-subscripts] gox[j]=aux; ^ src/xye.cpp:2726:22: warning: array subscript has type 'char' [-Wchar-subscripts] aux=goy[i]; ^ src/xye.cpp:2727:18: warning: array subscript has type 'char' [-Wchar-subscripts] goy[i]=goy[j]; ^ src/xye.cpp:2727:25: warning: array subscript has type 'char' [-Wchar-subscripts] goy[i]=goy[j]; ^ src/xye.cpp:2728:18: warning: array subscript has type 'char' [-Wchar-subscripts] goy[j]=aux; ^ src/xye.cpp:2729:30: warning: array subscript has type 'char' [-Wchar-subscripts] edir daux=godir[i]; ^ src/xye.cpp:2730:20: warning: array subscript has type 'char' [-Wchar-subscripts] godir[i]=godir[j]; ^ src/xye.cpp:2730:29: warning: array subscript has type 'char' [-Wchar-subscripts] godir[i]=godir[j]; ^ src/xye.cpp:2731:20: warning: array subscript has type 'char' [-Wchar-subscripts] godir[j]=daux; ^ src/xye.cpp:2740:17: warning: array subscript has type 'char' [-Wchar-subscripts] sqMem::mem[x][y]=false; ^ src/xye.cpp:2740:20: warning: array subscript has type 'char' [-Wchar-subscripts] sqMem::mem[x][y]=false; ^ src/xye.cpp:2760:122: warning: array subscript has type 'char' [-Wchar-subscripts] for (i=0;((i<4) && (! halt) ) ;i++) if ((! AntiStickyRisk) || (SpotDirectionAllowedByMagnetics(this,cx,cy,godir[i],up,dw,lf,rg)) ) ^ src/xye.cpp:2763:24: warning: array subscript has type 'char' [-Wchar-subscripts] tx=cx+gox[i];ty=cy+goy[i]; ^ src/xye.cpp:2763:37: warning: array subscript has type 'char' [-Wchar-subscripts] tx=cx+gox[i];ty=cy+goy[i]; ^ src/xye.cpp:2780:33: warning: array subscript has type 'char' [-Wchar-subscripts] go=sqMem::mem[tx][ty]; ^ src/xye.cpp:2780:37: warning: array subscript has type 'char' [-Wchar-subscripts] go=sqMem::mem[tx][ty]; ^ src/xye.cpp:2805:65: warning: array subscript has type 'char' [-Wchar-subscripts] if (tele->dir==Opposite(godir[i]) ) ^ src/xye.cpp:2814:62: warning: array subscript has type 'char' [-Wchar-subscripts] go= sqMem::mem[nx][ny]; ^ src/xye.cpp:2814:66: warning: array subscript has type 'char' [-Wchar-subscripts] go= sqMem::mem[nx][ny]; ^ src/xye.cpp:2816:58: warning: array subscript has type 'char' [-Wchar-subscripts] sqMem::mem[tx][ty]=false; //So we don't test the teleport entrance again ^ src/xye.cpp:2816:62: warning: array subscript has type 'char' [-Wchar-subscripts] sqMem::mem[tx][ty]=false; //So we don't test the teleport entrance again ^ src/xye.cpp:2819:58: warning: array subscript has type 'char' [-Wchar-subscripts] sqMem::mem[tx][ty]=false; //So we don't test the teleport exit again ^ src/xye.cpp:2819:62: warning: array subscript has type 'char' [-Wchar-subscripts] sqMem::mem[tx][ty]=false; //So we don't test the teleport exit again ^ src/xye.cpp:2794:32: warning: enumeration value 'OT_XYE' not handled in switch [-Wswitch] else switch(ot) ^ src/xye.cpp:2794:32: warning: enumeration value 'OT_ROBOXYE' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_GEM' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_RATTLER' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:2794:32: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp:2834:77: warning: array subscript has type 'char' [-Wchar-subscripts] go= ((gobject==NULL) || ((gobject->CanEnter(this,godir[i])) && ( (!pit::IsEnabledInstance(gobject)) || (! pit::CanConsume(this) ) ) ) ); //everything dislikes pits ^ src/xye.cpp:2851:39: warning: array subscript has type 'char' [-Wchar-subscripts] res[0]=godir[i]; ^ src/xye.cpp:2853:42: warning: array subscript has type 'char' [-Wchar-subscripts] res[0]=godir[step]; ^ src/xye.cpp:2861:47: warning: array subscript has type 'char' [-Wchar-subscripts] if (savemem) sqMem::mem[tx][ty]=false; //So we don't go here anymore. ^ src/xye.cpp:2861:51: warning: array subscript has type 'char' [-Wchar-subscripts] if (savemem) sqMem::mem[tx][ty]=false; //So we don't go here anymore. ^ src/xye.cpp:2869:32: warning: array subscript has type 'char' [-Wchar-subscripts] allow[i]=true; ^ src/xye.cpp:2886:31: warning: array subscript has type 'char' [-Wchar-subscripts] sqMem::mem[tx][ty]=false; //So we don't check the same square over and over ^ src/xye.cpp:2886:35: warning: array subscript has type 'char' [-Wchar-subscripts] sqMem::mem[tx][ty]=false; //So we don't check the same square over and over ^ src/xye.cpp:2906:42: warning: array subscript has type 'char' [-Wchar-subscripts] for (i=0;i<4;i++) if (allow[i]) ^ src/xye.cpp:2908:28: warning: array subscript has type 'char' [-Wchar-subscripts] tx=cx+gox[i];ty=cy+goy[i]; ^ src/xye.cpp:2908:41: warning: array subscript has type 'char' [-Wchar-subscripts] tx=cx+gox[i];ty=cy+goy[i]; ^ src/xye.cpp:2911:24: warning: array subscript has type 'char' [-Wchar-subscripts] allow[i] = (! SpotGetAntiStickies(tx,ty,up,dw,lf,rg)); ^ src/xye.cpp:2924:24: warning: array subscript has type 'char' [-Wchar-subscripts] ret=allow[i]; ^ src/xye.cpp:2930:28: warning: array subscript has type 'char' [-Wchar-subscripts] if (allow[i]) ^ src/xye.cpp:2932:40: warning: array subscript has type 'char' [-Wchar-subscripts] res[resn++]=godir[i]; ^ src/xye.cpp:2748:10: warning: unused variable 'able' [-Wunused-variable] bool able; ^~~~ src/xye.cpp: In member function 'bool obj::AffectedByMagnetism(bool)': src/xye.cpp:2952:11: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] switch(type) ^ src/xye.cpp:2952:11: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_TELEPORT' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_MINE' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_FIREBALL' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:2952:11: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp: In member function 'virtual void gobj::Kill()': src/xye.cpp:3002:12: warning: deleting object of abstract class type 'gobj' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ src/xye.cpp: In member function 'virtual bool roboxye::Loop(bool*)': src/xye.cpp:3205:24: warning: enumeration value 'OT_XYE' not handled in switch [-Wswitch] switch (object->GetType()) ^ src/xye.cpp:3205:24: warning: enumeration value 'OT_ROBOXYE' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_GEM' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_RATTLER' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:3205:24: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp:3162:10: warning: unused variable 'Moved' [-Wunused-variable] bool Moved=false; ^~~~~ src/xye.cpp: In member function 'virtual bool wall::HasRoundCorner(roundcorner)': src/xye.cpp:3583:11: warning: enumeration value 'RC_9' not handled in switch [-Wswitch] switch(rnc) ^ src/xye.cpp: In function 'square* RoundAvance_Sub(obj*, edir, char, char, roundcorner, edir, char, char, char, char, roundcorner, edir, char, char, char, char)': src/xye.cpp:3649:11: warning: unused variable 'gobject' [-Wunused-variable] gobj* gobject; ^~~~~~~ src/xye.cpp: In function 'square* RoundAdvance(obj*, edir, char, char)': src/xye.cpp:3701:11: warning: enumeration value 'D_RIGHT' not handled in switch [-Wswitch] switch(dir) ^ src/xye.cpp:3694:13: warning: unused variable 'osq' [-Wunused-variable] square* osq; ^~~ src/xye.cpp:3695:10: warning: unused variable 'object' [-Wunused-variable] obj* object; ^~~~~~ src/xye.cpp:3696:11: warning: unused variable 'gobject' [-Wunused-variable] gobj* gobject; ^~~~~~~ src/xye.cpp:3698:13: warning: unused variable 'sq11' [-Wunused-variable] square *sq11,*sq12,*sq21,*sq22; ^~~~ src/xye.cpp:3698:19: warning: unused variable 'sq12' [-Wunused-variable] square *sq11,*sq12,*sq21,*sq22; ^~~~ src/xye.cpp:3698:25: warning: unused variable 'sq21' [-Wunused-variable] square *sq11,*sq12,*sq21,*sq22; ^~~~ src/xye.cpp:3698:31: warning: unused variable 'sq22' [-Wunused-variable] square *sq11,*sq12,*sq21,*sq22; ^~~~ src/xye.cpp:3700:10: warning: unused variable 'a' [-Wunused-variable] bool a=false,b=false; ^ src/xye.cpp:3700:18: warning: unused variable 'b' [-Wunused-variable] bool a=false,b=false; ^ src/xye.cpp: In member function 'virtual bool block::Loop(bool*)': src/xye.cpp:3770:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (DoMagnetism(true,true,&Moved)) ^~ src/xye.cpp:3772:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' edir go; ^~~~ src/xye.cpp:3772:14: warning: unused variable 'go' [-Wunused-variable] edir go; ^~ src/xye.cpp: In member function 'virtual bool largeblock::Loop(bool*)': src/xye.cpp:3953:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (DoMagnetism(true,true,&Moved)) ^~ src/xye.cpp:3955:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' edir go; ^~~~ src/xye.cpp:3955:14: warning: unused variable 'go' [-Wunused-variable] edir go; ^~ src/xye.cpp: In member function 'void largeblock::getPushGroup()': src/xye.cpp:4038:14: warning: array subscript has type 'char' [-Wchar-subscripts] checked[x][y]=1; ^ src/xye.cpp:4038:17: warning: array subscript has type 'char' [-Wchar-subscripts] checked[x][y]=1; ^ src/xye.cpp: In member function 'virtual bool metalblock::Loop(bool*)': src/xye.cpp:4292:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (DoMagnetism(true,true,&Moved)) ^~ src/xye.cpp:4294:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' edir go; ^~~~ src/xye.cpp:4294:14: warning: unused variable 'go' [-Wunused-variable] edir go; ^~ src/xye.cpp: In member function 'virtual bool scrollblock::trypush(edir, obj*)': src/xye.cpp:4359:11: warning: enumeration value 'OT_XYE' not handled in switch [-Wswitch] switch(object->GetType()) ^ src/xye.cpp:4359:11: warning: enumeration value 'OT_ROBOXYE' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_GEM' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_TELEPORT' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_BLACKHOLE' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_MINE' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_FIREBALL' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_RATTLER' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:4359:11: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp: In member function 'virtual bool scrollblock::Loop(bool*)': src/xye.cpp:4389:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (DoMagnetism(true,true,&Moved)) ^~ src/xye.cpp:4391:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' edir go; ^~~~ src/xye.cpp:4391:14: warning: unused variable 'go' [-Wunused-variable] edir go; ^~ src/xye.cpp: In member function 'virtual bool wildcard::Loop(bool*)': src/xye.cpp:4426:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (DoMagnetism(true,true,&Moved)) ^~ src/xye.cpp:4428:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' edir go; ^~~~ src/xye.cpp:4428:14: warning: unused variable 'go' [-Wunused-variable] edir go; ^~ src/xye.cpp: In member function 'virtual bool gemblock::Loop(bool*)': src/xye.cpp:4494:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (DoMagnetism(true,true,&Moved)) ^~ src/xye.cpp:4496:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' edir go; ^~~~ src/xye.cpp:4496:14: warning: unused variable 'go' [-Wunused-variable] edir go; ^~ src/xye.cpp: In member function 'bool magnetic::TryMagneticMove(char, char, char, char, edir, bool*, char, char)': src/xye.cpp:4584:10: warning: unused variable 'oldx' [-Wunused-variable] char oldx=x, oldy=y; ^~~~ src/xye.cpp:4584:18: warning: unused variable 'oldy' [-Wunused-variable] char oldx=x, oldy=y; ^~~~ src/xye.cpp: In member function 'void number::explode()': src/xye.cpp:4701:16: warning: unused variable 'ex' [-Wunused-variable] explosion *ex = new explosion(game::SquareN(x,y),1); ^~ src/xye.cpp: In member function 'virtual bool impacter::Loop(bool*)': src/xye.cpp:4901:16: warning: enumeration value 'OT_XYE' not handled in switch [-Wswitch] switch (object->GetType()) ^ src/xye.cpp:4901:16: warning: enumeration value 'OT_ROBOXYE' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_GEM' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_RATTLER' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:4901:16: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp:4873:18: warning: unused variable 'ClockTic' [-Wunused-variable] unsigned int ClockTic=game::Counter(); ^~~~~~~~ src/xye.cpp: In member function 'virtual bool arrow::Loop(bool*)': src/xye.cpp:5021:11: warning: enumeration value 'B_RED' not handled in switch [-Wswitch] switch(c) ^ src/xye.cpp:5021:11: warning: enumeration value 'B_PURPLE' not handled in switch [-Wswitch] src/xye.cpp:5033:11: warning: enumeration value 'B_RED' not handled in switch [-Wswitch] switch(c) ^ src/xye.cpp:5033:11: warning: enumeration value 'B_PURPLE' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_XYE' not handled in switch [-Wswitch] switch(object->GetType()) ^ src/xye.cpp:5059:11: warning: enumeration value 'OT_ROBOXYE' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_GEM' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_TELEPORT' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_BLACKHOLE' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_MINE' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_FIREBALL' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_RATTLER' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:5059:11: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp: In member function 'void factory::DrawSub(unsigned int, unsigned int)': src/xye.cpp:5192:11: warning: enumeration value 'OT_XYE' not handled in switch [-Wswitch] switch(res) ^ src/xye.cpp:5192:11: warning: enumeration value 'OT_ROBOXYE' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_TELEPORT' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_BLACKHOLE' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_FIREBALL' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:5192:11: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_XYE' not handled in switch [-Wswitch] switch(res) ^ src/xye.cpp:5209:11: warning: enumeration value 'OT_ROBOXYE' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_GEM' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_TELEPORT' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_BLACKHOLE' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_MINE' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_FIREBALL' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_RATTLER' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:5209:11: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp: In member function 'virtual bool factory::trypush(edir, obj*)': src/xye.cpp:5281:16: warning: unused variable 'be' [-Wunused-variable] beast* be; ^~ src/xye.cpp: In member function 'virtual bool lowdensity::Loop(bool*)': src/xye.cpp:5568:11: warning: enumeration value 'B_RED' not handled in switch [-Wswitch] switch(c) ^ src/xye.cpp:5568:11: warning: enumeration value 'B_PURPLE' not handled in switch [-Wswitch] src/xye.cpp: In member function 'void surprise::Transform()': src/xye.cpp:5693:15: warning: enumeration value 'B_RED' not handled in switch [-Wswitch] switch(c) ^ src/xye.cpp:5689:16: warning: unused variable 'bh' [-Wunused-variable] dangerous* bh; ^~ src/xye.cpp:5690:15: warning: variable 'bn' set but not used [-Wunused-but-set-variable] impacter* bn; ^~ src/xye.cpp:5691:15: warning: unused variable 'mg' [-Wunused-variable] magnetic* mg; ^~ src/xye.cpp: In member function 'virtual void surprise::Draw(unsigned int, unsigned int)': src/xye.cpp:5786:15: warning: enumeration value 'B_RED' not handled in switch [-Wswitch] switch(c) ^ src/xye.cpp:5783:20: warning: unused variable 'bh' [-Wunused-variable] dangerous* bh; ^~ src/xye.cpp:5769:11: warning: unused variable 'tx' [-Wunused-variable] Uint8 tx,ty; ^~ src/xye.cpp:5769:14: warning: unused variable 'ty' [-Wunused-variable] Uint8 tx,ty; ^~ src/xye.cpp: In member function 'void surprise::FinalExplode()': src/xye.cpp:5924:16: warning: unused variable 'ex' [-Wunused-variable] explosion* ex=new explosion(game::Square(x,y));; ^~ src/xye.cpp: In member function 'virtual void toggle::Draw(unsigned int, unsigned int)': src/xye.cpp:5956:11: warning: unused variable 'tx' [-Wunused-variable] Uint8 tx,ty; ^~ src/xye.cpp:5956:14: warning: unused variable 'ty' [-Wunused-variable] Uint8 tx,ty; ^~ src/xye.cpp: In member function 'bool teleport::tryteleport(edir, obj*, char&, char&, dangerous*&, bool*)': src/xye.cpp:6088:10: warning: unused variable 'go' [-Wunused-variable] bool go=false; ^~ src/xye.cpp: In member function 'virtual bool dangerous::trypush(edir, obj*)': src/xye.cpp:6339:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (magnetic::IsInstance(pusher) || (pusher==this) ) ^ src/xye.cpp: In member function 'void dangerous::Eat()': src/xye.cpp:6388:20: warning: unused variable 'ex' [-Wunused-variable] explosion* ex=new explosion(game::SquareN(x,y),1); ^~ src/xye.cpp: In function 'bool AI_Rattler_XYEorFood(square*)': src/xye.cpp:7358:11: warning: enumeration value 'OT_ROBOXYE' not handled in switch [-Wswitch] switch(object->GetType()) ^ src/xye.cpp:7358:11: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_GEM' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_TELEPORT' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_BLACKHOLE' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_MINE' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_FIREBALL' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_RATTLER' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:7358:11: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp: In member function 'virtual bool rfood::Loop(bool*)': src/xye.cpp:7631:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (DoMagnetism(true,true,&Moved)) ^~ src/xye.cpp:7633:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' edir go; ^~~~ src/xye.cpp:7633:14: warning: unused variable 'go' [-Wunused-variable] edir go; ^~ src/xye.cpp: In member function 'virtual bool earth::trypush(edir, obj*)': src/xye.cpp:7697:47: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gobject=game::Square(x,y)->gobject) ^ src/xye.cpp:7692:12: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] switch (pusher->GetType()) ^ src/xye.cpp:7692:12: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_GEM' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_TELEPORT' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_BLACKHOLE' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_MINE' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_FIREBALL' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_RATTLER' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:7692:12: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp: In member function 'virtual bool key::Loop(bool*)': src/xye.cpp:7746:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (DoMagnetism(true,true,&Moved)) ^~ src/xye.cpp:7748:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' edir go; ^~~~ src/xye.cpp:7748:14: warning: unused variable 'go' [-Wunused-variable] edir go; ^~ src/xye.cpp: In member function 'virtual bool key::trypush(edir, obj*)': src/xye.cpp:7760:47: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gobject=game::Square(x,y)->gobject) ^ src/xye.cpp: In member function 'virtual bool gem::trypush(edir, obj*)': src/xye.cpp:7923:47: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gobject=game::Square(x,y)->gobject) ^ src/xye.cpp: In member function 'virtual bool star::trypush(edir, obj*)': src/xye.cpp:8003:47: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (gobject=game::Square(x,y)->gobject) ^ src/xye.cpp: In member function 'virtual bool tdoor::CanEnter(obj*, edir)': src/xye.cpp:8106:11: warning: enumeration value 'D_DOWN' not handled in switch [-Wswitch] switch(dir) ^ src/xye.cpp: In member function 'virtual void marked::OnEnter(obj*)': src/xye.cpp:8252:63: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (active=RenderAfterObjects=(entering->HasBlockColor(c))) ^ src/xye.cpp: In static member function 'static bool pit::CanConsume(obj*)': src/xye.cpp:8435:16: warning: enumeration value 'OT_XYE' not handled in switch [-Wswitch] switch (object->GetType()) ^ src/xye.cpp:8435:16: warning: enumeration value 'OT_ROBOXYE' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_GEM' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_TELEPORT' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_BLACKHOLE' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_MINE' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:8435:16: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp: In member function 'virtual bool pit::CanEnter(obj*, edir)': src/xye.cpp:8486:12: warning: enumeration value 'OT_XYE' not handled in switch [-Wswitch] switch (entering->GetType()) ^ src/xye.cpp:8486:12: warning: enumeration value 'OT_ROBOXYE' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_GEM' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_TELEPORT' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_BLACKHOLE' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_MINE' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_FIREBALL' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:8486:12: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp: In member function 'virtual void portal::Draw(unsigned int, unsigned int)': src/xye.cpp:8639:11: warning: unused variable 'tx' [-Wunused-variable] Uint8 tx,ty; ^~ src/xye.cpp:8639:14: warning: unused variable 'ty' [-Wunused-variable] Uint8 tx,ty; ^~ src/xye.cpp: In member function 'bool windowblock::Detect(char, char)': src/xye.cpp:8742:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (o= sq->object) ^ src/xye.cpp: In function 'void KillZone_Fire(killzone*)': src/xye.cpp:8867:60: warning: array subscript has type 'char' [-Wchar-subscripts] game::SmallBoom(game::SquareN(kx+deathqueue::incx[i],ky+deathqueue::incy[i]),true,deathqueue::incx[i],-deathqueue::incy[i]); ^ src/xye.cpp:8867:83: warning: array subscript has type 'char' [-Wchar-subscripts] game::SmallBoom(game::SquareN(kx+deathqueue::incx[i],ky+deathqueue::incy[i]),true,deathqueue::incx[i],-deathqueue::incy[i]); ^ src/xye.cpp:8867:109: warning: array subscript has type 'char' [-Wchar-subscripts] game::SmallBoom(game::SquareN(kx+deathqueue::incx[i],ky+deathqueue::incy[i]),true,deathqueue::incx[i],-deathqueue::incy[i]); ^ src/xye.cpp:8867:130: warning: array subscript has type 'char' [-Wchar-subscripts] game::SmallBoom(game::SquareN(kx+deathqueue::incx[i],ky+deathqueue::incy[i]),true,deathqueue::incx[i],-deathqueue::incy[i]); ^ src/xye.cpp:8864:10: warning: unused variable 'XYE' [-Wunused-variable] xye* XYE = game::XYE; ^~~ src/xye.cpp: In function 'void ExecuteKillZone(killzone*)': src/xye.cpp:8874:12: warning: enumeration value 'KT_KILLORGANICS' not handled in switch [-Wswitch] switch (K->kt) ^ src/xye.cpp: In static member function 'static void sqMem::reset(bool)': src/xye.cpp:9006:14: warning: array subscript has type 'char' [-Wchar-subscripts] mem[i][j]=val; ^ src/xye.cpp:9006:17: warning: array subscript has type 'char' [-Wchar-subscripts] mem[i][j]=val; ^ src/xye.cpp: In function 'bool CanPush(otype)': src/xye.cpp:9017:11: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] switch(t) ^ src/xye.cpp:9017:11: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_GEM' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_TELEPORT' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_BLACKHOLE' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_MINE' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_FIREBALL' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_RATTLER' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:9017:11: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp: In function 'edir Opposite(edir)': src/xye.cpp:9060:11: warning: enumeration value 'D_LEFT' not handled in switch [-Wswitch] switch(dir) ^ src/xye.cpp: In function 'bool PickDirectDir(edir&, edir*, unsigned char, char, char, char, char, bool, bool)': src/xye.cpp:9124:21: warning: array subscript has type 'char' [-Wchar-subscripts] switch(dirs[i]) ^ src/xye.cpp: In function 'edir Clock(edir)': src/xye.cpp:9226:11: warning: enumeration value 'D_LEFT' not handled in switch [-Wswitch] switch(dir) ^ src/xye.cpp: In function 'edir AClock(edir)': src/xye.cpp:9237:11: warning: enumeration value 'D_RIGHT' not handled in switch [-Wswitch] switch(dir) ^ src/xye.cpp: In function 'bool IsXyeOrBotAt(square*)': src/xye.cpp:9277:11: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] switch(object->GetType()) ^ src/xye.cpp:9277:11: warning: enumeration value 'OT_BLOCK' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_TRICKDOOR' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_HINT' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_WARNING' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_EARTH' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_GEM' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_TELEPORT' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_BLACKHOLE' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_MINE' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_FIREBALL' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_SURPRISE' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_PUSHER' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_ARROW' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_TURNER' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_LOWDENSITY' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_AUTO' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_FACTORY' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_SNIPER' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_FILLER' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_NUMBER' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_MAGNETIC' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_BLOCKDOOR' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_MARKEDAREA' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_GEMBLOCK' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_KEY' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_LOCK' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_PORTAL' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_TOGGLE' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_BEAST' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_RATTLERFOOD' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_FIREPAD' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_PIT' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_WILDCARD' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_WINDOW' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_SCROLLBLOCK' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_METALBLOCK' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_LARGEBLOCK' not handled in switch [-Wswitch] src/xye.cpp:9277:11: warning: enumeration value 'OT_STAR' not handled in switch [-Wswitch] src/xye.cpp: In static member function 'static void recycle::run()': src/xye.cpp:9333:22: warning: deleting object of abstract class type 'obj' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete (tm->o); ^ src/xye.cpp: In function 'bool BeastAI_Ranger(beast*, edir&)': src/xye.cpp:6834:30: warning: 'forced' may be used uninitialized in this function [-Wmaybe-uninitialized] return ((!force) || (r==forced)); ~~~~~~~~~~^~~~~~~~~~~~~~~ i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o xsb_level.o `test -f 'src/xsb_level.cpp' || echo './'`src/xsb_level.cpp src/xsb_level.cpp: In function 'void addLine(std::__cxx11::string)': src/xsb_level.cpp:57:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(fileLineN == fileLine.size()) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/xsb_level.cpp: In static member function 'static void XsbLevelPack::LoadSLC(const char*, unsigned int)': src/xsb_level.cpp:234:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; iNext) ^ src/xsb_level.cpp: In function 'void LoadXsbMarked(unsigned char, unsigned char, blockcolor)': src/xsb_level.cpp:613:13: warning: unused variable 'g' [-Wunused-variable] marked* g=new marked(game::Square(x,y),bc); ^ src/xsb_level.cpp: In function 'void LoadXsbBlock(unsigned char, unsigned char, blockcolor)': src/xsb_level.cpp:618:12: warning: unused variable 'b' [-Wunused-variable] block* b=new block(game::Square(x,y),bc,false); ^ src/xsb_level.cpp: In function 'bool BlockedEntrance(unsigned char, unsigned char)': src/xsb_level.cpp:637:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (object=game::Square(x,y)->object ) return (object->GetType()==OT_WALL); ^ src/xsb_level.cpp: In function 'bool WhiteSpace(unsigned char, unsigned char)': src/xsb_level.cpp:648:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (object=sq->object) ^ src/xsb_level.cpp: In function 'bool EnsurePath(unsigned char, unsigned char, int*, bool, blockcolor, bool&)': src/xsb_level.cpp:681:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (object=sq->object) ^ src/xsb_level.cpp:694:24: warning: unused variable 'g' [-Wunused-variable] blockdoor* g=new blockdoor(sq,false,true,bc); ^ src/xsb_level.cpp:778:15: warning: unused variable 'wl' [-Wunused-variable] wall* wl=new wall(game::Square(x,y),0); ^~ src/xsb_level.cpp: In function 'bool FromXyeDFS(int*, unsigned char, unsigned char)': src/xsb_level.cpp:787:49: error: narrowing conversion of '-1' from 'int' to 'unsigned char' inside { } [-Wnarrowing] static const unsigned char dx[4] = {0,0,-1,1}, dy[4] = {-1,1,0,0}; ^ src/xsb_level.cpp:787:69: error: narrowing conversion of '-1' from 'int' to 'unsigned char' inside { } [-Wnarrowing] static const unsigned char dx[4] = {0,0,-1,1}, dy[4] = {-1,1,0,0}; ^ src/xsb_level.cpp: In function 'bool FindAGoodWall(int, int, bool)': src/xsb_level.cpp:815:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (object=sq->object) ^ src/xsb_level.cpp:822:24: warning: unused variable 'bd' [-Wunused-variable] blockdoor *bd= new blockdoor(sq,false,true,XsbLevel::bc); ^~ src/xsb_level.cpp:823:18: warning: unused variable 'gm' [-Wunused-variable] gem* gm=new gem(sq,XsbLevel::bc); ^~ src/xsb_level.cpp: In member function 'void XsbLevel::SetGameCaption()': src/xsb_level.cpp:857:9: warning: unused variable 'L' [-Wunused-variable] int L=name.length(); ^ src/xsb_level.cpp: In member function 'void XsbLevel::Load()': src/xsb_level.cpp:894:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0;jobject; ^~~~~~ make: *** [xsb_level.o] Error 1 make: Leaving directory `/usr/src/RPM/BUILD/xye-0.12.1' error: Bad exit status from /usr/src/tmp/rpm-tmp.58746 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.58746 (%build) Command exited with non-zero status 1 27.09user 2.13system 0:29.38elapsed 99%CPU (0avgtext+0avgdata 121288maxresident)k 0inputs+0outputs (0major+408700minor)pagefaults 0swaps hsh-rebuild: rebuild of `xye-0.12.1-alt1.1.src.rpm' failed. Command exited with non-zero status 1 49.62user 7.74system 0:56.84elapsed 100%CPU (0avgtext+0avgdata 134148maxresident)k 0inputs+0outputs (0major+761520minor)pagefaults 0swaps