<86>Apr 27 09:28:59 userdel[2890802]: delete user 'rooter' <86>Apr 27 09:28:59 userdel[2890802]: removed group 'rooter' owned by 'rooter' <86>Apr 27 09:28:59 userdel[2890802]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 27 09:28:59 groupadd[2890847]: group added to /etc/group: name=rooter, GID=1835 <86>Apr 27 09:28:59 groupadd[2890847]: group added to /etc/gshadow: name=rooter <86>Apr 27 09:28:59 groupadd[2890847]: new group: name=rooter, GID=1835 <86>Apr 27 09:28:59 useradd[2890891]: new user: name=rooter, UID=1835, GID=1835, home=/root, shell=/bin/bash, from=none <86>Apr 27 09:28:59 userdel[2890944]: delete user 'builder' <86>Apr 27 09:28:59 userdel[2890944]: removed group 'builder' owned by 'builder' <86>Apr 27 09:28:59 userdel[2890944]: removed shadow group 'builder' owned by 'builder' <86>Apr 27 09:28:59 groupadd[2890994]: group added to /etc/group: name=builder, GID=1836 <86>Apr 27 09:28:59 groupadd[2890994]: group added to /etc/gshadow: name=builder <86>Apr 27 09:28:59 groupadd[2890994]: new group: name=builder, GID=1836 <86>Apr 27 09:28:59 useradd[2891032]: new user: name=builder, UID=1836, GID=1836, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/xye-0.12.2-alt1.src.rpm: The use of such a license name is ambiguous: GPL <13>Apr 27 09:29:03 rpmi: libglvnd-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Apr 27 09:29:03 rpmi: libogg-1.3.5-alt1 sisyphus+278100.3400.1.1 1626059695 installed <13>Apr 27 09:29:03 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781690 installed <13>Apr 27 09:29:03 rpmi: libjpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449053 installed <13>Apr 27 09:29:03 rpmi: xorg-proto-devel-2024.1-alt1 sisyphus+343583.40.1.1 1711440649 installed <13>Apr 27 09:29:03 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Apr 27 09:29:03 rpmi: libwayland-server-1.22.0-alt1.1 sisyphus+318010.100.1.1 1680606300 installed <13>Apr 27 09:29:03 rpmi: libflac12-1.4.3-alt2 sisyphus+343354.100.1.1 1711119065 installed <13>Apr 27 09:29:03 rpmi: libvorbis-1.3.7-alt1 sisyphus+275738.100.1.1 1624751609 installed <13>Apr 27 09:29:03 rpmi: libGLES-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Apr 27 09:29:03 rpmi: libOpenGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Apr 27 09:29:03 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Apr 27 09:29:03 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Apr 27 09:29:03 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605157 installed <13>Apr 27 09:29:03 rpmi: libharfbuzz-8.4.0-alt1 sisyphus+344161.100.1.1 1711987969 installed <13>Apr 27 09:29:03 rpmi: libfreetype-2.13.2-alt1 sisyphus+328677.100.1.1 1693834346 installed <13>Apr 27 09:29:03 rpmi: libwebp7-1.4.0-alt1 sisyphus+345159.200.1.1 1713168690 installed <13>Apr 27 09:29:03 rpmi: libdeflate-1.20-alt1 sisyphus+343488.100.1.1 1711323986 installed <13>Apr 27 09:29:03 rpmi: libtiff5-4.4.0-alt4 sisyphus+322581.100.1.2 1686180093 installed <13>Apr 27 09:29:03 rpmi: libopus-1.5.1-alt1 sisyphus+342127.200.2.2 1709717984 installed <13>Apr 27 09:29:03 rpmi: libmpg123-1:1.32.6-alt1 sisyphus+344452.200.2.1 1712305496 installed <13>Apr 27 09:29:03 rpmi: liblame-3.100-alt1 sisyphus+276241.100.1.2 1624925655 installed <13>Apr 27 09:29:03 rpmi: libgsm-1.0.17-alt1 sisyphus+275359.100.2.1 1624907612 installed <13>Apr 27 09:29:03 rpmi: libsndfile-1.1.0-alt1 sisyphus+339776.7300.6.2 1707349197 installed <13>Apr 27 09:29:03 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Apr 27 09:29:03 rpmi: libsystemd-1:254.10-alt2 sisyphus+345302.400.3.1 1713818601 installed <13>Apr 27 09:29:03 rpmi: libdbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487513 installed <13>Apr 27 09:29:03 rpmi: libasyncns-0.8-alt2.qa1 sisyphus+275091.100.1.1 1624402242 installed <13>Apr 27 09:29:03 rpmi: libxshmfence-1.3.2-alt1 sisyphus+311428.400.1.1 1670577529 installed <13>Apr 27 09:29:03 rpmi: libX11-locales-3:1.8.8-alt1 sisyphus+343583.100.1.1 1711440719 installed <13>Apr 27 09:29:03 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441073 installed <13>Apr 27 09:29:03 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577440 installed <13>Apr 27 09:29:03 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342009 installed <13>Apr 27 09:29:03 rpmi: libX11-3:1.8.8-alt1 sisyphus+343583.100.1.1 1711440722 installed <13>Apr 27 09:29:03 rpmi: libXext-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441114 installed <13>Apr 27 09:29:03 rpmi: libXxf86vm-1.1.5-alt1 sisyphus+308663.1400.1.1 1666168534 installed <13>Apr 27 09:29:03 rpmi: libXfixes-6.0.1-alt1 sisyphus+331490.300.1.1 1697023235 installed <13>Apr 27 09:29:03 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436131 installed <13>Apr 27 09:29:03 rpmi: libXrandr-1.5.4-alt1 sisyphus+330992.100.1.1 1696485401 installed <13>Apr 27 09:29:04 rpmi: libxcb-devel-1.17.0-alt1 sisyphus+345308.200.1.1 1713342009 installed <13>Apr 27 09:29:04 rpmi: libX11-devel-3:1.8.8-alt1 sisyphus+343583.100.1.1 1711440722 installed <13>Apr 27 09:29:04 rpmi: libpulseaudio-17.0-alt2 sisyphus+339257.100.1.1 1706519233 installed <13>Apr 27 09:29:04 rpmi: libwayland-client-1.22.0-alt1.1 sisyphus+318010.100.1.1 1680606300 installed <13>Apr 27 09:29:04 rpmi: libpciaccess-1:0.18.1-alt1 sisyphus+343583.300.1.1 1711440792 installed <13>Apr 27 09:29:04 rpmi: libdrm-1:2.4.120-alt1 sisyphus+338137.100.1.2 1705653180 installed <13>Apr 27 09:29:05 rpmi: libGLX-mesa-4:24.0.6-alt1 sisyphus+345881.100.1.1 1714144957 installed <13>Apr 27 09:29:05 rpmi: libGLX-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Apr 27 09:29:05 rpmi: libGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Apr 27 09:29:05 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Apr 27 09:29:05 rpmi: libgbm-4:24.0.6-alt1 sisyphus+345881.100.1.1 1714144957 installed <13>Apr 27 09:29:05 rpmi: libEGL-mesa-4:24.0.6-alt1 sisyphus+345881.100.1.1 1714144957 installed <13>Apr 27 09:29:05 rpmi: libEGL-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Apr 27 09:29:05 rpmi: libglvnd-devel-7:1.7.0-alt1 sisyphus+330949.100.1.1 1696424894 installed <13>Apr 27 09:29:05 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174378 installed <13>Apr 27 09:29:05 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Apr 27 09:29:05 rpmi: libstdc++13-devel-13.2.1-alt3 sisyphus+339335.100.1.1 1706563095 installed <13>Apr 27 09:29:06 rpmi: gcc13-c++-13.2.1-alt3 sisyphus+339335.100.1.1 1706563095 installed <13>Apr 27 09:29:06 rpmi: alsa-ucm-conf-1.2.10-alt2 sisyphus+337619.100.1.1 1704220124 installed <13>Apr 27 09:29:06 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>Apr 27 09:29:06 rpmi: libalsa-1:1.2.10-alt2 sisyphus+337619.200.1.1 1704220189 installed <13>Apr 27 09:29:06 rpmi: libSDL-1.2.14-alt10 sisyphus+284852.100.1.1 1631107844 installed <13>Apr 27 09:29:06 rpmi: libSDL-devel-1.2.14-alt10 sisyphus+284852.100.1.1 1631107844 installed <13>Apr 27 09:29:06 rpmi: libSDL_image-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250397 installed <13>Apr 27 09:29:06 rpmi: libSDL_ttf-2.0.11-alt1.git1ed61fe sisyphus+278696.400.4.1 1626250543 installed <13>Apr 27 09:29:06 rpmi: libSDL_ttf-devel-2.0.11-alt1.git1ed61fe sisyphus+278696.400.4.1 1626250543 installed <13>Apr 27 09:29:06 rpmi: libSDL_image-devel-1.2.12-alt3.gitd0ea78d sisyphus+278696.40.4.1 1626250397 installed <13>Apr 27 09:29:06 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687268227 installed <13>Apr 27 09:29:06 rpmi: desktop-file-utils-0.26-alt6 sisyphus+331944.100.1.3 1697550035 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/xye-0.12.2-alt1.nosrc.rpm (w1.gzdio) Installing xye-0.12.2-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.6453 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf xye-0.12.2 + echo 'Source #0 (xye-0.12.2.tar.gz):' Source #0 (xye-0.12.2.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/xye-0.12.2.tar.gz + /bin/tar -xf - + cd xye-0.12.2 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.6453 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xye-0.12.2 + autoreconf -fisv autoreconf-default: export WARNINGS= autoreconf-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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' autoreconf-default: configure.in: tracing autoreconf-default: configure.in: not using Libtool autoreconf-default: configure.in: not using Intltool autoreconf-default: configure.in: not using Gtkdoc autoreconf-default: running: /usr/bin/autoconf-2.71 --force configure.in:23: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:23: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... acinclude.m4:11: AM_PATH_SDL is expanded from... configure.in:23: the top level configure.in:23: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:23: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... acinclude.m4:11: AM_PATH_SDL is expanded from... configure.in:23: the top level configure.in:85: warning: AC_OUTPUT should be used without arguments. configure.in:85: You should run autoupdate. 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:14: installing './compile' Makefile.am:81: warning: source file 'src/main.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled automake-default: warning: possible forward-incompatibility. automake-default: At least one 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, this automake-default: behavior may change in a future Automake major version, with object automake-default: files being placed in the same subdirectory as 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:81: warning: source file 'src/browser.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/font.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/gen.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/kye_script.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/levels.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/options.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/tinyxml/xye_tinystr.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/tinyxml/xye_tinyxml.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/tinyxml/xye_tinyxmlerror.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/tinyxml/xye_tinyxmlparser.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/vxsdl.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/xye.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/xsb_level.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/xye_script.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/listbox.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/record.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/xyedit.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/editorsave.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/editorload.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/dialogs.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/window.cpp' is in a subdirectory, Makefile.am:81: but option 'subdir-objects' is disabled Makefile.am:81: warning: source file 'src/skins.cpp' is in a subdirectory, Makefile.am:81: 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 -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing' ++ 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_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./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 --disable-silent-rules --runstatedir=/var/run --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext 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 a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking 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 the compiler supports GNU C... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to enable C11 features... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of i586-alt-linux-gcc... none checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether the compiler supports GNU C++... yes checking whether i586-alt-linux-g++ accepts -g... yes checking for i586-alt-linux-g++ option to enable C++11 features... none needed 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. + make -j16 make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -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 make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -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 make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -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:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 348 | 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:13: warning: variable 'tabsize' set but not used [-Wunused-but-set-variable] 1323 | int tabsize = 4; | ^~~~~~~ In file included from src/tinyxml/xye_tinyxmlparser.cpp:25: src/tinyxml/xye_tinyxml.h: In member function 'TiXmlNode::ToDeclaration()': src/tinyxml/xye_tinyxml.h:648:90: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 648 | TiXmlDeclaration* ToDeclaration() { return ( this && type == DECLARATION ) ? (TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -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: src/tinyxml/xye_tinyxml.h: In member function 'TiXmlNode::ToDocument() const': src/tinyxml/xye_tinyxml.h:636:103: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 636 | 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 'TiXmlNode::ToElement() const': src/tinyxml/xye_tinyxml.h:637:103: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 637 | 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 'TiXmlNode::ToText() const': src/tinyxml/xye_tinyxml.h:640:103: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 640 | 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 'TiXmlNode::ToDocument()': src/tinyxml/xye_tinyxml.h:643:95: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 643 | 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 'TiXmlNode::ToElement()': src/tinyxml/xye_tinyxml.h:644:95: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 644 | 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 'TiXmlNode::ToText()': src/tinyxml/xye_tinyxml.h:647:95: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 647 | TiXmlText* ToText() { return ( this && type == TEXT ) ? (TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -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 of integer expressions of different signedness: 'Uint32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 118 | for (i=sx;i<(sx+sw);i++) | ~^~~~~~~~ src/vxsdl.cpp:121:19: warning: comparison of integer expressions of different signedness: 'Uint32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 121 | for (j=sy;j<(sy+sh);j++) | ~^~~~~~~~ src/vxsdl.cpp:108:16: warning: unused variable 'tm2' [-Wunused-variable] 108 | Uint32 tm=0,tm2=0; | ^~~ src/vxsdl.cpp:112:27: warning: unused variable 'aux' [-Wunused-variable] 112 | Uint8 rd=0,g=0,b=0,a=0,aux=0; | ^~~ make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -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:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 106 | while (ent=readdir(D)) | ~~~^~~~~~~~~~~ src/browser.cpp:104:9: warning: unused variable 'L' [-Wunused-variable] 104 | int L=strlen(dirname),L2; | ^ src/browser.cpp:104:27: warning: variable 'L2' set but not used [-Wunused-but-set-variable] 104 | int L=strlen(dirname),L2; | ^~ src/browser.cpp: In member function 'const char* Folder::NextFileMatching(bool (*)(const char*))': src/browser.cpp:132:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 132 | while (ent=readdir(D)) | ~~~^~~~~~~~~~~ src/browser.cpp:130:9: warning: unused variable 'L' [-Wunused-variable] 130 | int L=strlen(dirname),L2; | ^ src/browser.cpp:130:27: warning: variable 'L2' set but not used [-Wunused-but-set-variable] 130 | int L=strlen(dirname),L2; | ^~ src/browser.cpp: In member function 'const char* Folder::NextSubFolder()': src/browser.cpp:157:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 157 | while (ent=readdir(D)) | ~~~^~~~~~~~~~~ src/browser.cpp:155:9: warning: unused variable 'L' [-Wunused-variable] 155 | int L=strlen(dirname),L2; | ^ src/browser.cpp:155:27: warning: variable 'L2' set but not used [-Wunused-but-set-variable] 155 | int L=strlen(dirname),L2; | ^~ make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -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] 98 | Uint32 pixel; | ^~~~~ src/font.cpp:128:16: warning: unused variable 'g' [-Wunused-variable] 128 | Uint8 rd=0,g=0,b=0,a=0; | ^ src/font.cpp:128:24: warning: unused variable 'a' [-Wunused-variable] 128 | Uint8 rd=0,g=0,b=0,a=0; | ^ src/font.cpp:136:16: warning: unused variable 'X' [-Wunused-variable] 136 | 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] 309 | int th,tw; | ^~ src/font.cpp:309:16: warning: unused variable 'tw' [-Wunused-variable] 309 | int th,tw; | ^~ src/font.cpp:311:13: warning: unused variable 'wor' [-Wunused-variable] 311 | int wor=0; | ^~~ src/font.cpp:376:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 376 | srcrect.h = (sh-y=sw) | ~~~~~~~~~~~~~~~~~~~^~~~ src/font.cpp:437:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 437 | srcrect.h = (sh-y > Font::splitByLines(const char*, int) const': src/font.cpp:461:9: warning: unused variable 'charoffset' [-Wunused-variable] 461 | int charoffset; | ^~~~~~~~~~ src/font.cpp:466:9: warning: unused variable 'cw' [-Wunused-variable] 466 | int cw=0; | ^~ make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -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::string StripXML(std::string)': src/gen.cpp:168:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 168 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] 186 | if(k >::size_type' {aka 'unsigned int'} [-Wsign-compare] 116 | if (index >= tags.size() ) { | ~~~~~~^~~~~~~~~~~~~~ src/listbox.cpp: In member function 'virtual void listbox_private::list::selectItem(std::string)': src/listbox.cpp:127:51: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 127 | for (selectedIndex = 0; selectedIndex < tags.size(); selectedIndex++) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/listbox.cpp: In member function 'void listbox_private::list::updateMaxLines()': src/listbox.cpp:143:17: warning: unused variable 'i' [-Wunused-variable] 143 | int i = 0; | ^ src/listbox.cpp: In member function 'virtual void listbox_private::list::draw(SDL_Surface*)': src/listbox.cpp:162:30: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 162 | if ( tags.size() <= maxLines ) { | ~~~~~~~~~~~~^~~~~~~~~~~ src/listbox.cpp:168:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 168 | if (viewIndex + i < tags.size() ) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/listbox.cpp: In member function 'bool listbox_private::list::insideBar(int, int)': src/listbox.cpp:215:30: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 215 | if ( tags.size() > maxLines ) { | ~~~~~~~~~~~~^~~~~~~~~~ src/listbox.cpp: In member function 'void listbox_private::list::verifyBarClick(int, int)': src/listbox.cpp:223:46: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 223 | if ( barClicked && ( tags.size() > maxLines ) ) { | ~~~~~~~~~~~~^~~~~~~~~~ src/listbox.cpp:225:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 225 | if (p <= tags.size() - maxLines) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/listbox.cpp: In member function 'virtual void listbox_private::list::onMouseUp(int, int)': src/listbox.cpp:258:31: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 258 | if ( (tags.size() <= maxLines) || (mousex < w - barWidth) ) { | ~~~~~~~~~~~~^~~~~~~~~~~ src/listbox.cpp:262:55: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 262 | if ( (p < maxLines) && (p + viewIndex < tags.size() ) ) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/listbox.cpp: In member function 'virtual void listbox_private::list::onKeyUp(SDLKey, Uint16)': src/listbox.cpp:339:20: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] 339 | switch (keysim) | ^ src/listbox.cpp:339:20: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_BACKSPACE' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_RETURN' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_ESCAPE' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_SPACE' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_MINUS' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_b' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_c' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_d' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_f' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_g' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_h' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_n' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_p' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_r' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_s' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_DELETE' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP_ENTER' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_RIGHT' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_LEFT' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_RSHIFT' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_LSHIFT' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_RCTRL' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_LCTRL' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] src/listbox.cpp:339:20: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o kye_script.o `test -f 'src/kye_script.cpp' || echo './'`src/kye_script.cpp src/kye_script.cpp: In static member function 'static std::string KyeLevelPack::LoadForEditor(const char*, std::vector&)': src/kye_script.cpp:159:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 159 | 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] 305 | 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] 310 | 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] 315 | 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] 320 | 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] 325 | 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] 330 | 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] 335 | 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] 341 | 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] 347 | 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] 355 | 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] 360 | 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] 365 | 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] 370 | 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] 375 | 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] 380 | 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] 385 | 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] 390 | 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] 396 | 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] 401 | 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] 407 | 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] 412 | 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] 417 | 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] 432 | 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] 438 | 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] 443 | 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] 448 | 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] 453 | 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] 459 | 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] 582 | char rx,ry; | ^~ src/kye_script.cpp:582:13: warning: unused variable 'ry' [-Wunused-variable] 582 | char rx,ry; | ^~ make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o record.o `test -f 'src/record.cpp' || echo './'`src/record.cpp src/record.cpp: In static member function 'static bool recording::undo()': src/record.cpp:25:9: warning: unused variable 'v' [-Wunused-variable] 25 | int v; | ^ src/record.cpp: In static member function 'static void recording::clean()': src/record.cpp:107:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 107 | while (tm=first) | ~~^~~~~~ src/record.cpp: In static member function 'static char* recording::save()': src/record.cpp:186:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 186 | while ( tm= (!tm)?first:tm->next) { | ~~^~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o xye_script.o `test -f 'src/xye_script.cpp' || echo './'`src/xye_script.cpp src/xye_script.cpp: In static member function 'static void LevelPack::LoadNthLevel(unsigned int)': src/xye_script.cpp:95:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 95 | while ((iFirstChildElement("moves")) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye_script.cpp: In function 'void Load_Gem(TiXmlElement*)': src/xye_script.cpp:683:10: warning: unused variable 'gm' [-Wunused-variable] 683 | gem* gm=new gem(game::SquareN(LastX,LastY),c); | ^~ src/xye_script.cpp: In function 'void Load_Star(TiXmlElement*)': src/xye_script.cpp:693:11: warning: unused variable 'gm' [-Wunused-variable] 693 | star* gm=new star(game::SquareN(LastX,LastY) ); | ^~ src/xye_script.cpp: In function 'void Load_Number(TiXmlElement*)': src/xye_script.cpp:711:13: warning: unused variable 'gm' [-Wunused-variable] 711 | number* gm=new number(game::SquareN(LastX,LastY),c,cv,round); | ^~ src/xye_script.cpp: In function 'void Load_Robot(TiXmlElement*)': src/xye_script.cpp:718:9: warning: unused variable 'v' [-Wunused-variable] 718 | int v=0; | ^ src/xye_script.cpp:719:19: warning: unused variable 'cv' [-Wunused-variable] 719 | unsigned char cv; | ^~ src/xye_script.cpp:723:14: warning: unused variable 'rb' [-Wunused-variable] 723 | roboxye* rb=new roboxye(game::SquareN(LastX,LastY)); | ^~ src/xye_script.cpp: In function 'void Load_Blackhole(TiXmlElement*)': src/xye_script.cpp:739:16: warning: unused variable 'dn' [-Wunused-variable] 739 | dangerous* dn=new dangerous(game::SquareN(LastX,LastY),OT_BLACKHOLE); | ^~ src/xye_script.cpp: In function 'void Load_Mine(TiXmlElement*)': src/xye_script.cpp:750:16: warning: unused variable 'dn' [-Wunused-variable] 750 | dangerous* dn=new dangerous(game::SquareN(LastX,LastY),OT_MINE); | ^~ src/xye_script.cpp: In function 'void Load_WindowBlock(TiXmlElement*)': src/xye_script.cpp:814:18: warning: unused variable 'bc' [-Wunused-variable] 814 | windowblock* bc=new windowblock(game::SquareN(LastX,LastY),c); | ^~ src/xye_script.cpp: In function 'void Load_RFood(TiXmlElement*)': src/xye_script.cpp:827:12: warning: unused variable 'rf' [-Wunused-variable] 827 | rfood* rf=new rfood(game::SquareN(LastX,LastY)); | ^~ src/xye_script.cpp: In function 'void Load_Lock(TiXmlElement*)': src/xye_script.cpp:862:11: warning: unused variable 'bc' [-Wunused-variable] 862 | lock* bc=new lock(game::SquareN(LastX,LastY),c); | ^~ src/xye_script.cpp: In function 'void Load_Key(TiXmlElement*)': src/xye_script.cpp:871:10: warning: unused variable 'bc' [-Wunused-variable] 871 | key* bc=new key(game::SquareN(LastX,LastY),c); | ^~ src/xye_script.cpp: In function 'void Load_Surprise(TiXmlElement*)': src/xye_script.cpp:902:15: warning: unused variable 'bc' [-Wunused-variable] 902 | surprise* bc=new surprise(game::SquareN(LastX,LastY),c,round); | ^~ src/xye_script.cpp: In function 'void Load_GemBlock(TiXmlElement*)': src/xye_script.cpp:934:15: warning: unused variable 'bc' [-Wunused-variable] 934 | gemblock* bc=new gemblock(game::SquareN(LastX,LastY),c); | ^~ src/xye_script.cpp: In function 'void Load_WildCard(TiXmlElement*)': src/xye_script.cpp:948:15: warning: unused variable 'wd' [-Wunused-variable] 948 | wildcard* wd=new wildcard(game::SquareN(LastX,LastY),(bool)(r) ); | ^~ src/xye_script.cpp: In function 'void Load_MetalBlock(TiXmlElement*)': src/xye_script.cpp:962:17: warning: unused variable 'mb' [-Wunused-variable] 962 | metalblock* mb=new metalblock(game::SquareN(LastX,LastY),(bool)(r) ); | ^~ src/xye_script.cpp: In function 'void Load_Auto(TiXmlElement*)': src/xye_script.cpp:1005:16: warning: unused variable 'bc' [-Wunused-variable] 1005 | autoarrow* bc=new autoarrow(game::SquareN(LastX,LastY),c,d,round); | ^~ src/xye_script.cpp: In function 'void Load_Filler(TiXmlElement*)': src/xye_script.cpp:1075:13: warning: unused variable 'bc' [-Wunused-variable] 1075 | filler* bc=new filler(game::SquareN(LastX,LastY),c,d,round); | ^~ src/xye_script.cpp: In function 'void Load_Sniper(TiXmlElement*)': src/xye_script.cpp:1092:13: warning: unused variable 'bc' [-Wunused-variable] 1092 | sniper* bc=new sniper(game::SquareN(LastX,LastY),c,round); | ^~ src/xye_script.cpp: In function 'void Load_Arrow(TiXmlElement*)': src/xye_script.cpp:1111:12: warning: unused variable 'bc' [-Wunused-variable] 1111 | arrow* bc=new arrow(game::SquareN(LastX,LastY),c,d,round); | ^~ src/xye_script.cpp: In function 'void Load_Teleport(TiXmlElement*)': src/xye_script.cpp:1142:9: warning: unused variable 'round' [-Wunused-variable] 1142 | int round=0; | ^~~~~ src/xye_script.cpp:1149:15: warning: unused variable 'tp' [-Wunused-variable] 1149 | teleport* tp=new teleport(game::SquareN(LastX,LastY),d); | ^~ src/xye_script.cpp: In function 'void Load_Toggle(TiXmlElement*)': src/xye_script.cpp:1175:13: warning: unused variable 'bc' [-Wunused-variable] 1175 | toggle* bc=new toggle(game::SquareN(LastX,LastY),c,round, ! off); | ^~ src/xye_script.cpp: In function 'void Load_Pusher(TiXmlElement*)': src/xye_script.cpp:1192:15: warning: unused variable 'bc' [-Wunused-variable] 1192 | impacter* bc=new impacter(game::SquareN(LastX,LastY), c,d); | ^~ src/xye_script.cpp: In function 'void Load_Beast(TiXmlElement*)': src/xye_script.cpp:1209:12: warning: unused variable 'bc' [-Wunused-variable] 1209 | beast* bc=new beast(game::SquareN(LastX,LastY), btype(ib),d); | ^~ src/xye_script.cpp: In function 'void Load_Magnet(TiXmlElement*)': src/xye_script.cpp:1231:15: warning: unused variable 'mg' [-Wunused-variable] 1231 | magnetic* mg=new magnetic(game::SquareN(LastX,LastY), (mgtype)(kind), horz ); | ^~ src/xye_script.cpp: In function 'void Load_BlockDoor(TiXmlElement*, unsigned int)': src/xye_script.cpp:1242:16: warning: unused variable 'round' [-Wunused-variable] 1242 | int open=0,round=0; | ^~~~~ src/xye_script.cpp:1249:16: warning: unused variable 'bc' [-Wunused-variable] 1249 | blockdoor* bc=new blockdoor(game::SquareN(LastX,LastY),(AsTrap!=0), (! open),c); | ^~ src/xye_script.cpp: In function 'void Load_Marked(TiXmlElement*)': src/xye_script.cpp:1259:13: warning: unused variable 'bc' [-Wunused-variable] 1259 | marked* bc=new marked(game::SquareN(LastX,LastY), c); | ^~ src/xye_script.cpp: In function 'void Load_FirePad(TiXmlElement*)': src/xye_script.cpp:1268:14: warning: unused variable 'fp' [-Wunused-variable] 1268 | firepad* fp=new firepad(game::SquareN(LastX,LastY)); | ^~ src/xye_script.cpp: In function 'void Load_Pit(TiXmlElement*)': src/xye_script.cpp:1277:10: warning: unused variable 'fp' [-Wunused-variable] 1277 | pit* fp=new pit(game::SquareN(LastX,LastY)); | ^~ src/xye_script.cpp: In function 'void Load_Hint(TiXmlElement*, bool)': src/xye_script.cpp:1284:9: warning: unused variable 'c1' [-Wunused-variable] 1284 | int c1=0,c2; | ^~ src/xye_script.cpp:1284:14: warning: unused variable 'c2' [-Wunused-variable] 1284 | int c1=0,c2; | ^~ src/xye_script.cpp:1290:11: warning: unused variable 'hn' [-Wunused-variable] 1290 | hint* hn=new hint(game::SquareN(LastX,LastY), text, warn); | ^~ src/xye_script.cpp: In function 'void Load_Portal(TiXmlElement*)': src/xye_script.cpp:1333:13: warning: unused variable 'pt' [-Wunused-variable] 1333 | portal* pt= new portal(game::SquareN(LastX,LastY),R,G,B,tx,ty); | ^~ src/xye_script.cpp: In function 'void LoadObjects(TiXmlElement*)': src/xye_script.cpp:1517:15: warning: enumeration value 'OT_XYE' not handled in switch [-Wswitch] 1517 | switch(GetOTFromXmlElement(pEChild,&x)) | ^ src/xye_script.cpp:1517:15: warning: enumeration value 'OT_FIREBALL' not handled in switch [-Wswitch] src/xye_script.cpp:1517:15: warning: enumeration value 'OT_EXIT' not handled in switch [-Wswitch] src/xye_script.cpp:1517:15: warning: enumeration value 'OT_RATTLERNODE' not handled in switch [-Wswitch] src/xye_script.cpp: In function 'void LoadDefaults_Tdoor(TiXmlElement*)': src/xye_script.cpp:1631:9: warning: unused variable 't' [-Wunused-variable] 1631 | int t=0; | ^ src/xye_script.cpp: In function 'void LoadDefaults_ForceArrow(TiXmlElement*)': src/xye_script.cpp:1648:9: warning: unused variable 't' [-Wunused-variable] 1648 | int t=0; | ^ src/xye_script.cpp: In function 'void LoadDefaults_Earth(TiXmlElement*)': src/xye_script.cpp:1665:9: warning: unused variable 't' [-Wunused-variable] 1665 | int t=0; | ^ src/xye_script.cpp: In function 'void LoadFloor(TiXmlElement*)': src/xye_script.cpp:1717:18: warning: unused variable 'c' [-Wunused-variable] 1717 | unsigned int c=0; | ^ src/xye_script.cpp: In static member function 'static void LevelPack::Default(const char*)': src/xye_script.cpp:1792:24: warning: unused variable 'b' [-Wunused-variable] 1792 | block* b = new block(game::Square(5+j,12-i) , B_RED, false); | ^ src/xye_script.cpp: In function 'void LoadLevel(TiXmlElement*)': src/xye_script.cpp:1917:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1917 | if (pEChild= ( level->FirstChildElement("kyeformat"))) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye_script.cpp: In static member function 'static colorentry* palette::GetEntry(int, bool)': src/xye_script.cpp:2080:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 2080 | if (tm->id==id) return (tm); | ~~~~~~^~~~ In file included from src/options.h:1, from src/xye_script.cpp:20: src/tinyxml/xye_tinyxml.h: In member function 'TiXmlNode::ToElement()': src/tinyxml/xye_tinyxml.h:644:95: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 644 | TiXmlElement* ToElement() { return ( this && type == ELEMENT ) ? (TiXmlElement*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o main.o `test -f 'src/main.cpp' || echo './'`src/main.cpp make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -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::string)': src/xsb_level.cpp:57:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 57 | 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 of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 234 | 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] 613 | 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] 618 | 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:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 637 | 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:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 648 | 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:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 681 | if (object=sq->object) | ~~~~~~^~~~~~~~~~~ src/xsb_level.cpp:694:24: warning: unused variable 'g' [-Wunused-variable] 694 | blockdoor* g=new blockdoor(sq,false,true,bc); | ^ src/xsb_level.cpp:778:15: warning: unused variable 'wl' [-Wunused-variable] 778 | 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:45: warning: narrowing conversion of '-1' from 'int' to 'unsigned char' [-Wnarrowing] 787 | static const unsigned char dx[4] = {0,0,-1,1}, dy[4] = {-1,1,0,0}; | ^~ src/xsb_level.cpp:787:61: warning: narrowing conversion of '-1' from 'int' to 'unsigned char' [-Wnarrowing] 787 | 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:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 815 | if (object=sq->object) | ~~~~~~^~~~~~~~~~~ src/xsb_level.cpp:822:24: warning: unused variable 'bd' [-Wunused-variable] 822 | blockdoor *bd= new blockdoor(sq,false,true,XsbLevel::bc); | ^~ src/xsb_level.cpp:823:18: warning: unused variable 'gm' [-Wunused-variable] 823 | 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] 857 | int L=name.length(); | ^ src/xsb_level.cpp: In member function 'void XsbLevel::Load()': src/xsb_level.cpp:894:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'char' [-Wsign-compare] 894 | for (j=0;jobject; | ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o window.o `test -f 'src/window.cpp' || echo './'`src/window.cpp src/window.cpp: In member function 'void window::loop(double)': src/window.cpp:265:13: warning: unused variable 't' [-Wunused-variable] 265 | int t=0; | ^ src/window.cpp:256:10: warning: unused variable 'browse' [-Wunused-variable] 256 | bool browse=false; | ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -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] 101 | Sint16 sh = h; | ^~ src/levels.cpp:104:13: warning: variable 'fof' set but not used [-Wunused-but-set-variable] 104 | int fof=0; | ^~~ src/levels.cpp: In function 'unsigned int LevelBrowser::CountMatchingFiles(const char*)': src/levels.cpp:210:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 210 | while (N=F.NextFileMatching(Akyexyelevel)) if (strlen(N)<=20) c++; | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/levels.cpp:212:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 212 | while (N=F.NextSubFolder()) | ~^~~~~~~~~~~~~~~~~~ src/levels.cpp: In function 'void LevelBrowser::FillArrayWithFilenames()': src/levels.cpp:396:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 396 | for (i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 131 | if(lines >::size_type' {aka 'unsigned int'} [-Wsign-compare] 137 | if (lines>textsplit.size()) | ~~~~~^~~~~~~~~~~~~~~~~ src/dialogs.cpp: In static member function 'static void dialogs::inputOnKeyDown(SDLKey, Uint16)': src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] 281 | switch(keysym) | ^ src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_SPACE' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_MINUS' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_b' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_c' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_d' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_f' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_g' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_h' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_n' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_p' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_r' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_s' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_DELETE' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP_ENTER' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_UP' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_DOWN' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_RIGHT' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_LEFT' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_PAGEUP' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_RSHIFT' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_LSHIFT' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_RCTRL' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_LCTRL' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] src/dialogs.cpp:281:11: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o options.o `test -f 'src/options.cpp' || echo './'`src/options.cpp src/options.cpp: In function 'std::string options::parseSkinFile(const char*, parsedSkinFile&)': src/options.cpp:470:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 470 | if (tm=ele->Attribute("sprites")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:478:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 478 | if (tm=ele->Attribute("icon")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:489:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 489 | if (tm=ele->Attribute("luminosity")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:496:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 496 | if (tm=ele->Attribute("xyedirections")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:500:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 500 | if (tm=ele->Attribute("fontfile")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:508:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 508 | if (tm=ele->Attribute("boldfontfile")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:517:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 517 | if (tm=ele->Attribute("truetypesize")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:520:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 520 | if (tm=ele->Attribute("size")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:452:10: warning: unused variable 'correct' [-Wunused-variable] 452 | bool correct = false; | ^~~~~~~ src/options.cpp: In function 'TiXmlDocument* options::defaultxyeconf(const char*, TiXmlElement*&)': src/options.cpp:583:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 583 | if (options=GetOptionsElement(r)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/options.cpp: In function 'TiXmlDocument* options::getxyeconf(TiXmlElement*&)': src/options.cpp:603:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 603 | if (options = GetOptionsElement(r) ) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/options.cpp: In function 'void options::Init()': src/options.cpp:741:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 741 | if (tm=ele->Attribute("red")) r=atoi(tm); | ~~^~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:742:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 742 | if (tm=ele->Attribute("green")) g=atoi(tm); | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:743:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 743 | if (tm=ele->Attribute("blue")) b=atoi(tm); | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:745:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 745 | if (tm=ele->Attribute("undo")) | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:754:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 754 | if (tm=ele->Attribute("pickedtheme")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:761:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 761 | if (tm=ele->Attribute("disablelevelcolors")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/options.h:1, from src/options.cpp:17: src/tinyxml/xye_tinyxml.h: In member function 'TiXmlNode::ToElement()': src/tinyxml/xye_tinyxml.h:644:95: warning: 'nonnull' argument 'this' compared to NULL [-Wnonnull-compare] 644 | TiXmlElement* ToElement() { return ( this && type == ELEMENT ) ? (TiXmlElement*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o skins.o `test -f 'src/skins.cpp' || echo './'`src/skins.cpp src/skins.cpp: In member function 'virtual void SkinBrowser::SkinInfoControl::draw(SDL_Surface*)': src/skins.cpp:88:16: warning: unused variable 'sh' [-Wunused-variable] 88 | Sint16 sh = h; | ^~ src/skins.cpp:91:13: warning: variable 'fof' set but not used [-Wunused-but-set-variable] 91 | int fof=0; | ^~~ src/skins.cpp: In function 'unsigned int SkinBrowser::CountMatchingFiles(const char*)': src/skins.cpp:198:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 198 | while (N=F.NextFileMatching(Axyeskin)) if (strlen(N)<=20) c++; | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/skins.cpp:200:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 200 | while (N=F.NextSubFolder()) | ~^~~~~~~~~~~~~~~~~~ src/skins.cpp: In function 'void SkinBrowser::FillArrayWithFilenames()': src/skins.cpp:373:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 373 | for (i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] 441 | while ( i < filename.length() && i < mylevels.length() && (filename[i]==mylevels[i]) ) { | ~~^~~~~~~~~~~~~~~~~~~ src/xyedit.cpp:441:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 441 | while ( i < filename.length() && i < mylevels.length() && (filename[i]==mylevels[i]) ) { | ~~^~~~~~~~~~~~~~~~~~~ src/xyedit.cpp: In static member function 'static void editor::ResumeSection(window*)': src/xyedit.cpp:527:15: warning: unused variable 'c' [-Wunused-variable] 527 | SDL_Color c; | ^ src/xyedit.cpp: In static member function 'static void editor::StartSection(window*)': src/xyedit.cpp:756:10: warning: unused variable 'trytest' [-Wunused-variable] 756 | bool trytest = true; | ^~~~~~~ src/xyedit.cpp: In static member function 'static void editor::onKeyDown(SDLKey, Uint16)': src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] 790 | switch(keysim) | ^ src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_BACKSPACE' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_SPACE' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_PLUS' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_MINUS' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_b' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_c' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_d' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_f' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_g' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_h' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_n' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_p' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_r' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_s' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_DELETE' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP_MINUS' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP_PLUS' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_UP' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_DOWN' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_RIGHT' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_LEFT' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_PAGEUP' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_RSHIFT' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_LSHIFT' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_RCTRL' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_LCTRL' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] src/xyedit.cpp:790:11: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] src/xyedit.cpp: In static member function 'static void editor::onKeyUp(SDLKey, Uint16)': src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_UNKNOWN' not handled in switch [-Wswitch] 804 | switch(keysim) | ^ src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_FIRST' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_TAB' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_CLEAR' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_PAUSE' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_SPACE' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_EXCLAIM' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_QUOTEDBL' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_HASH' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_DOLLAR' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_AMPERSAND' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_QUOTE' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_LEFTPAREN' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_RIGHTPAREN' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_ASTERISK' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_COMMA' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_PERIOD' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_SLASH' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_0' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_1' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_2' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_3' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_4' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_5' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_6' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_7' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_8' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_9' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_COLON' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_SEMICOLON' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_LESS' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_EQUALS' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_GREATER' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_QUESTION' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_AT' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_LEFTBRACKET' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_BACKSLASH' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_RIGHTBRACKET' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_CARET' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_UNDERSCORE' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_BACKQUOTE' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_a' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_c' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_d' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_e' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_f' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_g' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_h' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_i' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_j' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_k' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_l' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_m' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_o' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_q' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_r' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_t' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_u' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_v' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_w' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_x' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_y' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_z' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_DELETE' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_0' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_1' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_2' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_3' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_4' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_5' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_6' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_7' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_8' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_9' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_10' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_11' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_12' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_13' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_14' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_15' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_16' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_17' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_18' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_19' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_20' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_21' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_22' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_23' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_24' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_25' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_26' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_27' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_28' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_29' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_30' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_31' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_32' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_33' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_34' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_35' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_36' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_37' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_38' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_39' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_40' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_41' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_42' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_43' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_44' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_45' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_46' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_47' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_48' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_49' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_50' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_51' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_52' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_53' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_54' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_55' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_56' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_57' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_58' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_59' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_60' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_61' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_62' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_63' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_64' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_65' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_66' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_67' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_68' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_69' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_70' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_71' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_72' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_73' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_74' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_75' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_76' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_77' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_78' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_79' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_80' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_81' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_82' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_83' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_84' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_85' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_86' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_87' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_88' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_89' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_90' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_91' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_92' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_93' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_94' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_WORLD_95' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_KP0' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_KP1' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_KP2' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_KP3' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_KP4' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_KP5' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_KP6' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_KP7' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_KP8' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_KP9' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_KP_PERIOD' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_KP_DIVIDE' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_KP_MULTIPLY' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_KP_EQUALS' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_UP' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_DOWN' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_RIGHT' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_LEFT' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_INSERT' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_HOME' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_END' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_PAGEUP' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_PAGEDOWN' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_F1' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_F2' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_F3' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_F4' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_F5' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_F6' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_F7' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_F8' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_F9' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_F10' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_F11' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_F12' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_F13' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_F14' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_F15' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_NUMLOCK' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_CAPSLOCK' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_SCROLLOCK' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_RSHIFT' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_LSHIFT' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_RCTRL' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_LCTRL' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_RALT' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_LALT' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_RMETA' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_LMETA' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_LSUPER' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_RSUPER' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_MODE' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_COMPOSE' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_HELP' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_PRINT' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_SYSREQ' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_BREAK' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_MENU' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_POWER' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_EURO' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_UNDO' not handled in switch [-Wswitch] src/xyedit.cpp:804:11: warning: enumeration value 'SDLK_LAST' not handled in switch [-Wswitch] src/xyedit.cpp: In member function 'void editorbuttons::updateText(editorobjecttype, editorcolor, bool, int, int)': src/xyedit.cpp:1429:19: warning: enumeration value 'EDCO_PURPLE' not handled in switch [-Wswitch] 1429 | switch(color) | ^ src/xyedit.cpp:1429:19: warning: enumeration value 'EDCO_WHITE' not handled in switch [-Wswitch] src/xyedit.cpp:1429:19: warning: enumeration value 'EDCO_METAL' not handled in switch [-Wswitch] src/xyedit.cpp:1429:19: warning: enumeration value 'EDCO_WILD' not handled in switch [-Wswitch] src/xyedit.cpp:1466:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1466 | else text="Soft block"; break; | ^~~~ src/xyedit.cpp:1466:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1466 | else text="Soft block"; break; | ^~~~~ src/xyedit.cpp:1521:19: warning: enumeration value 'EDCO_PURPLE' not handled in switch [-Wswitch] 1521 | switch(color) | ^ src/xyedit.cpp:1521:19: warning: enumeration value 'EDCO_WHITE' not handled in switch [-Wswitch] src/xyedit.cpp:1521:19: warning: enumeration value 'EDCO_METAL' not handled in switch [-Wswitch] src/xyedit.cpp:1521:19: warning: enumeration value 'EDCO_WILD' not handled in switch [-Wswitch] src/xyedit.cpp: In member function 'void editorbuttons::extendButtons(editorobjecttype, editorcolor, bool, int)': src/xyedit.cpp:1621:11: warning: enumeration value 'EDOT_BOT' not handled in switch [-Wswitch] 1621 | switch(ot) | ^ src/xyedit.cpp:1621:11: warning: enumeration value 'EDOT_FIREPAD' not handled in switch [-Wswitch] src/xyedit.cpp:1621:11: warning: enumeration value 'EDOT_FOOD' not handled in switch [-Wswitch] src/xyedit.cpp:1621:11: warning: enumeration value 'EDOT_HINT' not handled in switch [-Wswitch] src/xyedit.cpp:1621:11: warning: enumeration value 'EDOT_ERROR' not handled in switch [-Wswitch] src/xyedit.cpp:1621:11: warning: enumeration value 'EDOT_NONE' not handled in switch [-Wswitch] src/xyedit.cpp: In static member function 'static void editorboard::DeleteLevel(editorboard*)': src/xyedit.cpp:1886:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1886 | if (currentLevel >= levelList.size() ) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ src/xyedit.cpp: In static member function 'static void editorboard::SaveAtLevelNumber(editorboard*, int)': src/xyedit.cpp:1897:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1897 | if( num >= levelList.size() ) { | ~~~~^~~~~~~~~~~~~~~~~~~ src/xyedit.cpp: In static member function 'static void editorboard::LoadLevelNumber(editorboard*, int)': src/xyedit.cpp:1928:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1928 | if( num >= levelList.size() ) { | ~~~~^~~~~~~~~~~~~~~~~~~ In file included from src/tinyxml/xye_tinystr.h:42, from src/tinyxml/xye_tinyxml.h:60, from src/xye_script.h:13, from src/xyedit.cpp:26: src/xyedit.cpp: In static member function 'static void editorboard::SaveCopy(editorboard*)': src/xyedit.cpp:1943:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1943 | assert(currentLevel < levelList.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/xyedit.cpp: In static member function 'static void editorboard::SetCopySolution(const char*)': src/xyedit.cpp:1948:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1948 | assert(currentLevel < levelList.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/xyedit.cpp: In static member function 'static void editorboard::LoadCopy(editorboard*)': src/xyedit.cpp:1953:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1953 | assert(currentLevel < levelList.size()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ src/xyedit.cpp: In member function 'void editorboard::applyFromButtons(int, int)': src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_WALL' not handled in switch [-Wswitch] 2370 | switch(editor::buttons->SelectedObjectType) | ^ src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_GEM' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_BLOCK' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_EARTH' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_GEMBLOCK' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_MAGNET' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_PUSHER' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_ARROWMAKER' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_HAZARD' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_ONEDIRECTION' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_BEAST' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_TELEPORT' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_TURNER' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_COLORSYSTEM' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_KEYSYSTEM' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_BOT' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_NUMBER' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_SPECIALBLOCKS' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_FIREPAD' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_RATTLERHEAD' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_FOOD' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_LARGEBLOCK' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_COLORFACTORY' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_DANGERFACTORY' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_HINT' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_ERROR' not handled in switch [-Wswitch] src/xyedit.cpp:2370:11: warning: enumeration value 'EDOT_NONE' not handled in switch [-Wswitch] src/xyedit.cpp: In function 'void drawObjectBySpecs(SDL_Surface*, int, int, editorobjecttype, editorcolor, bool, int, int)': src/xyedit.cpp:3328:11: warning: enumeration value 'EDOT_NONE' not handled in switch [-Wswitch] 3328 | switch(ot) | ^ make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -DDATA_PATH=\"/usr/share/xye/\" -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o editorload.o `test -f 'src/editorload.cpp' || echo './'`src/editorload.cpp src/editorload.cpp: In function 'bool isObjectTypeGround(editorobjecttype)': src/editorload.cpp:33:11: warning: enumeration value 'EDOT_XYE' not handled in switch [-Wswitch] 33 | switch(ed) { | ^ src/editorload.cpp:33:11: warning: enumeration value 'EDOT_WALL' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_GEM' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_BLOCK' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_EARTH' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_GEMBLOCK' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_MAGNET' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_PUSHER' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_ARROWMAKER' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_HAZARD' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_BEAST' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_TELEPORT' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_TURNER' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_KEYSYSTEM' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_BOT' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_NUMBER' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_SPECIALBLOCKS' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_RATTLERHEAD' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_FOOD' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_LARGEBLOCK' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_COLORFACTORY' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_DANGERFACTORY' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_ERROR' not handled in switch [-Wswitch] src/editorload.cpp:33:11: warning: enumeration value 'EDOT_NONE' not handled in switch [-Wswitch] src/editorload.cpp: In function 'bool editor_LoadGenRC(TiXmlElement*, editorobjecttype, int, editorcolor*)': src/editorload.cpp:228:9: warning: unused variable 't' [-Wunused-variable] 228 | int t= errorPositions.size(); | ^ src/editorload.cpp: In function 'bool editor_LoadLargeBlock(TiXmlElement*)': src/editorload.cpp:501:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 501 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 540 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 779 | if (x != errorPositions.size() ){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/editorload.cpp: In function 'bool editor_LoadWildCardBlock(TiXmlElement*)': src/editorload.cpp:820:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 820 | if (x != errorPositions.size() ){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/editorload.cpp: In static member function 'static bool editor::load_kye()': src/editorload.cpp:1350:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1350 | for (int k=0; k >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1530 | for (int i=0; igobject) 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] 1656 | 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] 1667 | 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] 1578 | 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] 1791 | 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] 1783 | char nx,ny,cx,cy; | ^~ src/xye.cpp:1783:19: warning: unused variable 'cy' [-Wunused-variable] 1783 | 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] 1844 | 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 of integer expressions of different signedness: 'char' and 'unsigned int' [-Wsign-compare] 1993 | 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 of integer expressions of different signedness: 'char' and 'unsigned int' [-Wsign-compare] 1994 | 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 of integer expressions of different signedness: 'char' and 'unsigned int' [-Wsign-compare] 1995 | 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 of integer expressions of different signedness: 'char' and 'unsigned int' [-Wsign-compare] 1996 | 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 of integer expressions of different signedness: 'char' and 'unsigned int' [-Wsign-compare] 1997 | 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 of integer expressions of different signedness: 'char' and 'unsigned int' [-Wsign-compare] 1998 | 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 of integer expressions of different signedness: 'char' and 'unsigned int' [-Wsign-compare] 1999 | 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:18: warning: array subscript has type 'char' [-Wchar-subscripts] 2018 | sq=&grid[i][j]; | ^ src/xye.cpp:2018:21: warning: array subscript has type 'char' [-Wchar-subscripts] 2018 | sq=&grid[i][j]; | ^ src/xye.cpp:2021:13: warning: deleting object of abstract class type 'gobj' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 2021 | delete (sq->gobject); | ^~~~~~~~~~~~~~~~~~~~ src/xye.cpp:2026:13: warning: deleting object of abstract class type 'obj' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 2026 | 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:17: warning: array subscript has type 'char' [-Wchar-subscripts] 2075 | mem[i][j]=false; | ^ src/xye.cpp:2075:20: warning: array subscript has type 'char' [-Wchar-subscripts] 2075 | mem[i][j]=false; | ^ src/xye.cpp:2084:9: warning: array subscript has type 'char' [-Wchar-subscripts] 2084 | mem[cx][cy]=true; | ^~ src/xye.cpp:2084:13: warning: array subscript has type 'char' [-Wchar-subscripts] 2084 | mem[cx][cy]=true; | ^~ src/xye.cpp:2099:29: warning: array subscript has type 'char' [-Wchar-subscripts] 2099 | rx=tx+ix[i]; | ^ src/xye.cpp:2100:29: warning: array subscript has type 'char' [-Wchar-subscripts] 2100 | ry=ty+iy[i]; | ^ src/xye.cpp:2102:86: warning: array subscript has type 'char' [-Wchar-subscripts] 2102 | if ((rx<0) || (ry<0) || (rx>=XYE_HORZ) || (ry>=XYE_VERT) || (mem[rx][ry])); | ^~ src/xye.cpp:2102:90: warning: array subscript has type 'char' [-Wchar-subscripts] 2102 | if ((rx<0) || (ry<0) || (rx>=XYE_HORZ) || (ry>=XYE_VERT) || (mem[rx][ry])); | ^~ src/xye.cpp:2107:30: warning: array subscript has type 'char' [-Wchar-subscripts] 2107 | mem[rx][ry]=true; | ^~ src/xye.cpp:2107:34: warning: array subscript has type 'char' [-Wchar-subscripts] 2107 | 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] 2189 | 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] 2432 | 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] 2518 | char nx, ny; | ^~ src/xye.cpp:2518:14: warning: unused variable 'ny' [-Wunused-variable] 2518 | 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:33: warning: array subscript has type 'char' [-Wchar-subscripts] 2722 | signed char aux=gox[i]; | ^ src/xye.cpp:2724:17: warning: array subscript has type 'char' [-Wchar-subscripts] 2724 | gox[i]=gox[j]; | ^ src/xye.cpp:2724:24: warning: array subscript has type 'char' [-Wchar-subscripts] 2724 | gox[i]=gox[j]; | ^ src/xye.cpp:2725:17: warning: array subscript has type 'char' [-Wchar-subscripts] 2725 | gox[j]=aux; | ^ src/xye.cpp:2726:21: warning: array subscript has type 'char' [-Wchar-subscripts] 2726 | aux=goy[i]; | ^ src/xye.cpp:2727:17: warning: array subscript has type 'char' [-Wchar-subscripts] 2727 | goy[i]=goy[j]; | ^ src/xye.cpp:2727:24: warning: array subscript has type 'char' [-Wchar-subscripts] 2727 | goy[i]=goy[j]; | ^ src/xye.cpp:2728:17: warning: array subscript has type 'char' [-Wchar-subscripts] 2728 | goy[j]=aux; | ^ src/xye.cpp:2729:29: warning: array subscript has type 'char' [-Wchar-subscripts] 2729 | edir daux=godir[i]; | ^ src/xye.cpp:2730:19: warning: array subscript has type 'char' [-Wchar-subscripts] 2730 | godir[i]=godir[j]; | ^ src/xye.cpp:2730:28: warning: array subscript has type 'char' [-Wchar-subscripts] 2730 | godir[i]=godir[j]; | ^ src/xye.cpp:2731:19: warning: array subscript has type 'char' [-Wchar-subscripts] 2731 | godir[j]=daux; | ^ src/xye.cpp:2740:16: warning: array subscript has type 'char' [-Wchar-subscripts] 2740 | sqMem::mem[x][y]=false; | ^ src/xye.cpp:2740:19: warning: array subscript has type 'char' [-Wchar-subscripts] 2740 | sqMem::mem[x][y]=false; | ^ src/xye.cpp:2760:121: warning: array subscript has type 'char' [-Wchar-subscripts] 2760 | for (i=0;((i<4) && (! halt) ) ;i++) if ((! AntiStickyRisk) || (SpotDirectionAllowedByMagnetics(this,cx,cy,godir[i],up,dw,lf,rg)) ) | ^ src/xye.cpp:2763:23: warning: array subscript has type 'char' [-Wchar-subscripts] 2763 | tx=cx+gox[i];ty=cy+goy[i]; | ^ src/xye.cpp:2763:36: warning: array subscript has type 'char' [-Wchar-subscripts] 2763 | tx=cx+gox[i];ty=cy+goy[i]; | ^ src/xye.cpp:2780:31: warning: array subscript has type 'char' [-Wchar-subscripts] 2780 | go=sqMem::mem[tx][ty]; | ^~ src/xye.cpp:2780:35: warning: array subscript has type 'char' [-Wchar-subscripts] 2780 | go=sqMem::mem[tx][ty]; | ^~ src/xye.cpp:2805:64: warning: array subscript has type 'char' [-Wchar-subscripts] 2805 | if (tele->dir==Opposite(godir[i]) ) | ^ src/xye.cpp:2814:60: warning: array subscript has type 'char' [-Wchar-subscripts] 2814 | go= sqMem::mem[nx][ny]; | ^~ src/xye.cpp:2814:64: warning: array subscript has type 'char' [-Wchar-subscripts] 2814 | go= sqMem::mem[nx][ny]; | ^~ src/xye.cpp:2816:56: warning: array subscript has type 'char' [-Wchar-subscripts] 2816 | sqMem::mem[tx][ty]=false; //So we don't test the teleport entrance again | ^~ src/xye.cpp:2816:60: warning: array subscript has type 'char' [-Wchar-subscripts] 2816 | sqMem::mem[tx][ty]=false; //So we don't test the teleport entrance again | ^~ src/xye.cpp:2819:56: warning: array subscript has type 'char' [-Wchar-subscripts] 2819 | sqMem::mem[tx][ty]=false; //So we don't test the teleport exit again | ^~ src/xye.cpp:2819:60: warning: array subscript has type 'char' [-Wchar-subscripts] 2819 | 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] 2794 | 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:76: warning: array subscript has type 'char' [-Wchar-subscripts] 2834 | go= ((gobject==NULL) || ((gobject->CanEnter(this,godir[i])) && ( (!pit::IsEnabledInstance(gobject)) || (! pit::CanConsume(this) ) ) ) ); //everything dislikes pits | ^ src/xye.cpp:2851:38: warning: array subscript has type 'char' [-Wchar-subscripts] 2851 | res[0]=godir[i]; | ^ src/xye.cpp:2853:38: warning: array subscript has type 'char' [-Wchar-subscripts] 2853 | res[0]=godir[step]; | ^~~~ src/xye.cpp:2861:45: warning: array subscript has type 'char' [-Wchar-subscripts] 2861 | if (savemem) sqMem::mem[tx][ty]=false; //So we don't go here anymore. | ^~ src/xye.cpp:2861:49: warning: array subscript has type 'char' [-Wchar-subscripts] 2861 | if (savemem) sqMem::mem[tx][ty]=false; //So we don't go here anymore. | ^~ src/xye.cpp:2869:31: warning: array subscript has type 'char' [-Wchar-subscripts] 2869 | allow[i]=true; | ^ src/xye.cpp:2886:29: warning: array subscript has type 'char' [-Wchar-subscripts] 2886 | sqMem::mem[tx][ty]=false; //So we don't check the same square over and over | ^~ src/xye.cpp:2886:33: warning: array subscript has type 'char' [-Wchar-subscripts] 2886 | sqMem::mem[tx][ty]=false; //So we don't check the same square over and over | ^~ src/xye.cpp:2906:41: warning: array subscript has type 'char' [-Wchar-subscripts] 2906 | for (i=0;i<4;i++) if (allow[i]) | ^ src/xye.cpp:2908:27: warning: array subscript has type 'char' [-Wchar-subscripts] 2908 | tx=cx+gox[i];ty=cy+goy[i]; | ^ src/xye.cpp:2908:40: warning: array subscript has type 'char' [-Wchar-subscripts] 2908 | tx=cx+gox[i];ty=cy+goy[i]; | ^ src/xye.cpp:2911:23: warning: array subscript has type 'char' [-Wchar-subscripts] 2911 | allow[i] = (! SpotGetAntiStickies(tx,ty,up,dw,lf,rg)); | ^ src/xye.cpp:2924:23: warning: array subscript has type 'char' [-Wchar-subscripts] 2924 | ret=allow[i]; | ^ src/xye.cpp:2930:27: warning: array subscript has type 'char' [-Wchar-subscripts] 2930 | if (allow[i]) | ^ src/xye.cpp:2932:39: warning: array subscript has type 'char' [-Wchar-subscripts] 2932 | res[resn++]=godir[i]; | ^ src/xye.cpp:2748:10: warning: unused variable 'able' [-Wunused-variable] 2748 | 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] 2952 | 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:5: warning: deleting object of abstract class type 'gobj' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 3002 | 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] 3205 | 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] 3162 | 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] 3583 | 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] 3649 | 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] 3701 | switch(dir) | ^ src/xye.cpp:3694:13: warning: unused variable 'osq' [-Wunused-variable] 3694 | square* osq; | ^~~ src/xye.cpp:3695:10: warning: unused variable 'object' [-Wunused-variable] 3695 | obj* object; | ^~~~~~ src/xye.cpp:3696:11: warning: unused variable 'gobject' [-Wunused-variable] 3696 | gobj* gobject; | ^~~~~~~ src/xye.cpp:3698:13: warning: unused variable 'sq11' [-Wunused-variable] 3698 | square *sq11,*sq12,*sq21,*sq22; | ^~~~ src/xye.cpp:3698:19: warning: unused variable 'sq12' [-Wunused-variable] 3698 | square *sq11,*sq12,*sq21,*sq22; | ^~~~ src/xye.cpp:3698:25: warning: unused variable 'sq21' [-Wunused-variable] 3698 | square *sq11,*sq12,*sq21,*sq22; | ^~~~ src/xye.cpp:3698:31: warning: unused variable 'sq22' [-Wunused-variable] 3698 | square *sq11,*sq12,*sq21,*sq22; | ^~~~ src/xye.cpp:3700:10: warning: unused variable 'a' [-Wunused-variable] 3700 | bool a=false,b=false; | ^ src/xye.cpp:3700:18: warning: unused variable 'b' [-Wunused-variable] 3700 | 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] 3770 | if (DoMagnetism(true,true,&Moved)) | ^~ src/xye.cpp:3772:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3772 | edir go; | ^~~~ src/xye.cpp:3772:14: warning: unused variable 'go' [-Wunused-variable] 3772 | 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] 3953 | if (DoMagnetism(true,true,&Moved)) | ^~ src/xye.cpp:3955:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3955 | edir go; | ^~~~ src/xye.cpp:3955:14: warning: unused variable 'go' [-Wunused-variable] 3955 | edir go; | ^~ src/xye.cpp: In member function 'void largeblock::getPushGroup()': src/xye.cpp:4038:13: warning: array subscript has type 'char' [-Wchar-subscripts] 4038 | checked[x][y]=1; | ^ src/xye.cpp:4038:16: warning: array subscript has type 'char' [-Wchar-subscripts] 4038 | 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] 4292 | if (DoMagnetism(true,true,&Moved)) | ^~ src/xye.cpp:4294:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4294 | edir go; | ^~~~ src/xye.cpp:4294:14: warning: unused variable 'go' [-Wunused-variable] 4294 | 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] 4359 | 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] 4389 | if (DoMagnetism(true,true,&Moved)) | ^~ src/xye.cpp:4391:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4391 | edir go; | ^~~~ src/xye.cpp:4391:14: warning: unused variable 'go' [-Wunused-variable] 4391 | 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] 4426 | if (DoMagnetism(true,true,&Moved)) | ^~ src/xye.cpp:4428:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4428 | edir go; | ^~~~ src/xye.cpp:4428:14: warning: unused variable 'go' [-Wunused-variable] 4428 | 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] 4494 | if (DoMagnetism(true,true,&Moved)) | ^~ src/xye.cpp:4496:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4496 | edir go; | ^~~~ src/xye.cpp:4496:14: warning: unused variable 'go' [-Wunused-variable] 4496 | 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] 4584 | char oldx=x, oldy=y; | ^~~~ src/xye.cpp:4584:18: warning: unused variable 'oldy' [-Wunused-variable] 4584 | 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] 4701 | 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] 4901 | 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] 4873 | 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] 5021 | 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] 5033 | 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] 5059 | 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] 5192 | 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] 5209 | 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] 5281 | 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] 5568 | 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] 5693 | switch(c) | ^ src/xye.cpp:5689:16: warning: unused variable 'bh' [-Wunused-variable] 5689 | dangerous* bh; | ^~ src/xye.cpp:5690:15: warning: variable 'bn' set but not used [-Wunused-but-set-variable] 5690 | impacter* bn; | ^~ src/xye.cpp:5691:15: warning: unused variable 'mg' [-Wunused-variable] 5691 | 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] 5786 | switch(c) | ^ src/xye.cpp:5783:20: warning: unused variable 'bh' [-Wunused-variable] 5783 | dangerous* bh; | ^~ src/xye.cpp:5769:11: warning: unused variable 'tx' [-Wunused-variable] 5769 | Uint8 tx,ty; | ^~ src/xye.cpp:5769:14: warning: unused variable 'ty' [-Wunused-variable] 5769 | Uint8 tx,ty; | ^~ src/xye.cpp: In member function 'void surprise::FinalExplode()': src/xye.cpp:5924:16: warning: unused variable 'ex' [-Wunused-variable] 5924 | 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] 5956 | Uint8 tx,ty; | ^~ src/xye.cpp:5956:14: warning: unused variable 'ty' [-Wunused-variable] 5956 | 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] 6088 | 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' [-Wdangling-else] 6339 | 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] 6388 | 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] 7358 | 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] 7631 | if (DoMagnetism(true,true,&Moved)) | ^~ src/xye.cpp:7633:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 7633 | edir go; | ^~~~ src/xye.cpp:7633:14: warning: unused variable 'go' [-Wunused-variable] 7633 | edir go; | ^~ src/xye.cpp: In member function 'virtual bool earth::trypush(edir, obj*)': src/xye.cpp:7697:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7697 | if (gobject=game::Square(x,y)->gobject) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye.cpp:7692:12: warning: enumeration value 'OT_WALL' not handled in switch [-Wswitch] 7692 | 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] 7746 | if (DoMagnetism(true,true,&Moved)) | ^~ src/xye.cpp:7748:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 7748 | edir go; | ^~~~ src/xye.cpp:7748:14: warning: unused variable 'go' [-Wunused-variable] 7748 | edir go; | ^~ src/xye.cpp: In member function 'virtual bool key::trypush(edir, obj*)': src/xye.cpp:7760:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7760 | if (gobject=game::Square(x,y)->gobject) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye.cpp: In member function 'virtual bool gem::trypush(edir, obj*)': src/xye.cpp:7923:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 7923 | if (gobject=game::Square(x,y)->gobject) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye.cpp: In member function 'virtual bool star::trypush(edir, obj*)': src/xye.cpp:8003:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 8003 | 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] 8106 | switch(dir) | ^ src/xye.cpp: In member function 'virtual void marked::OnEnter(obj*)': src/xye.cpp:8252:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 8252 | 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] 8435 | 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] 8486 | 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] 8639 | Uint8 tx,ty; | ^~ src/xye.cpp:8639:14: warning: unused variable 'ty' [-Wunused-variable] 8639 | Uint8 tx,ty; | ^~ src/xye.cpp: In member function 'bool windowblock::Detect(char, char)': src/xye.cpp:8742:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 8742 | if (o= sq->object) | ~^~~~~~~~~~~~ src/xye.cpp: In function 'void KillZone_Fire(killzone*)': src/xye.cpp:8867:59: warning: array subscript has type 'char' [-Wchar-subscripts] 8867 | game::SmallBoom(game::SquareN(kx+deathqueue::incx[i],ky+deathqueue::incy[i]),true,deathqueue::incx[i],-deathqueue::incy[i]); | ^ src/xye.cpp:8867:82: warning: array subscript has type 'char' [-Wchar-subscripts] 8867 | game::SmallBoom(game::SquareN(kx+deathqueue::incx[i],ky+deathqueue::incy[i]),true,deathqueue::incx[i],-deathqueue::incy[i]); | ^ src/xye.cpp:8867:108: warning: array subscript has type 'char' [-Wchar-subscripts] 8867 | game::SmallBoom(game::SquareN(kx+deathqueue::incx[i],ky+deathqueue::incy[i]),true,deathqueue::incx[i],-deathqueue::incy[i]); | ^ src/xye.cpp:8867:129: warning: array subscript has type 'char' [-Wchar-subscripts] 8867 | 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] 8864 | 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] 8874 | switch (K->kt) | ^ src/xye.cpp: In static member function 'static void sqMem::reset(bool)': src/xye.cpp:9006:13: warning: array subscript has type 'char' [-Wchar-subscripts] 9006 | mem[i][j]=val; | ^ src/xye.cpp:9006:16: warning: array subscript has type 'char' [-Wchar-subscripts] 9006 | 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] 9017 | 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] 9060 | switch(dir) | ^ src/xye.cpp: In function 'bool PickDirectDir(edir&, edir*, unsigned char, char, char, char, char, bool, bool)': src/xye.cpp:9124:20: warning: array subscript has type 'char' [-Wchar-subscripts] 9124 | 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] 9226 | 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] 9237 | 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] 9277 | 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:9: warning: deleting object of abstract class type 'obj' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 9333 | delete (tm->o); | ^~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=narrowing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -o xye main.o browser.o font.o gen.o kye_script.o levels.o options.o xye_tinystr.o xye_tinyxml.o xye_tinyxmlerror.o xye_tinyxmlparser.o vxsdl.o xye.o xsb_level.o xye_script.o listbox.o record.o xyedit.o editorsave.o editorload.o dialogs.o window.o skins.o -lSDL_ttf -lSDL_image -lSDL -lpthread In function 'Show', inlined from 'StartSection' at src/skins.cpp:571:9: src/skins.cpp:455:32: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 455 | FoundFile= new string[FileN]; | ^ /usr/include/c++/13/new: In function 'StartSection': /usr/include/c++/13/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In function 'Show', inlined from 'StartSection' at src/levels.cpp:673:9: src/levels.cpp:566:32: warning: argument 1 value '4294967295' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 566 | FoundFile= new string[FileN]; | ^ /usr/include/c++/13/new: In function 'StartSection': /usr/include/c++/13/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.42378 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/xye-buildroot + : + /bin/rm -rf -- /usr/src/tmp/xye-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd xye-0.12.2 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/xye-buildroot make: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' make[1]: Entering directory '/usr/src/RPM/BUILD/xye-0.12.2' /usr/bin/mkdir -p '/usr/src/tmp/xye-buildroot/usr/bin' /usr/libexec/rpm-build/install -p xye '/usr/src/tmp/xye-buildroot/usr/bin' /usr/bin/mkdir -p '/usr/src/tmp/xye-buildroot/usr/share/applications' /usr/libexec/rpm-build/install -p -m 644 xye.desktop '/usr/src/tmp/xye-buildroot/usr/share/applications' /usr/bin/mkdir -p '/usr/src/tmp/xye-buildroot/usr/share/xye' /usr/libexec/rpm-build/install -p -m 644 ReadMe.html NEWS ChangeLog AUTHORS '/usr/src/tmp/xye-buildroot/usr/share/xye' /usr/bin/mkdir -p '/usr/src/tmp/xye-buildroot/usr/share/xye/levels' /usr/libexec/rpm-build/install -p -m 644 levels/5levels.xye levels/levels.xye levels/logo.xye levels/Mic4.xye levels/pxlevels.xye levels/microban.xsb levels/oldtutorials.xye levels/sphinx.xye levels/cracked.xye levels/tutorials.xye levels/Phipps.xye levels/xyester.xye levels/SuperJustin.xye '/usr/src/tmp/xye-buildroot/usr/share/xye/levels' /usr/bin/mkdir -p '/usr/src/tmp/xye-buildroot/usr/share/pixmaps' /usr/libexec/rpm-build/install -p -m 644 pixmaps/xye.png '/usr/src/tmp/xye-buildroot/usr/share/pixmaps' /usr/bin/mkdir -p '/usr/src/tmp/xye-buildroot/usr/share/xye/res' /usr/libexec/rpm-build/install -p -m 644 res/default.xml res/xye.png res/xye_luminosity.png res/DejaVuSans.ttf res/DejaVuSans-Bold.ttf res/fon.bmp res/fon_bold.bmp res/clean40.xml res/clean40.png res/clean40_luminosity.png res/detailed.xml res/detailed20.xml res/detailed30.xml res/detailed.png res/detailed20.png res/detailed30.png res/detailed_L.png res/detailed_L20.png res/detailed_L30.png res/detailed_icon.png res/default_icon.png res/detailed_COPYING '/usr/src/tmp/xye-buildroot/usr/share/xye/res' make[1]: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' make: Leaving directory '/usr/src/RPM/BUILD/xye-0.12.2' + install -pD -m644 /usr/src/RPM/SOURCES/xye.xpm /usr/src/tmp/xye-buildroot/usr/share/pixmaps/xye.xpm + desktop-file-install --dir /usr/src/tmp/xye-buildroot/usr/share/applications /usr/src/RPM/SOURCES/xye.desktop + rm /usr/src/tmp/xye-buildroot/usr/share/xye/res/DejaVuSans.ttf /usr/src/tmp/xye-buildroot/usr/share/xye/res/DejaVuSans-Bold.ttf + ln -srf /usr/src/tmp/xye-buildroot/usr/share/fonts/ttf/dejavu/DejaVuSans.ttf /usr/src/tmp/xye-buildroot/usr/share/xye/res/DejaVuSans.ttf + ln -srf /usr/src/tmp/xye-buildroot/usr/share/fonts/ttf/dejavu/DejaVuSans-Bold.ttf /usr/src/tmp/xye-buildroot/usr/share/xye/res/DejaVuSans-Bold.ttf + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/xye-buildroot (auto) Verifying and fixing files in /usr/src/tmp/xye-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/share/applications/xye.desktop: performed minor cleanup: 2d1 < Encoding=UTF-8 5c4 < Categories=Application;Game;LogicGame --- > Categories=Game;LogicGame; 12c11 < MimeType=application/xye-xml --- > MimeType=application/xye-xml; Checking contents of files in /usr/src/tmp/xye-buildroot/ (default) Compressing files in /usr/src/tmp/xye-buildroot (auto) Verifying ELF objects in /usr/src/tmp/xye-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/xye: uses non-LFS functions: fopen readdir Splitting links to aliased files under /{,s}bin in /usr/src/tmp/xye-buildroot Processing files: xye-0.12.2-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.20303 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xye-0.12.2 + DOCDIR=/usr/src/tmp/xye-buildroot/usr/share/doc/xye-0.12.2 + export DOCDIR + rm -rf /usr/src/tmp/xye-buildroot/usr/share/doc/xye-0.12.2 + /bin/mkdir -p /usr/src/tmp/xye-buildroot/usr/share/doc/xye-0.12.2 + cp -prL NEWS AUTHORS COPYING INSTALL README /usr/src/tmp/xye-buildroot/usr/share/doc/xye-0.12.2 + chmod -R go-w /usr/src/tmp/xye-buildroot/usr/share/doc/xye-0.12.2 + chmod -R a+rX /usr/src/tmp/xye-buildroot/usr/share/doc/xye-0.12.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7mrZ3z find-provides: broken symbolic link /usr/src/tmp/xye-buildroot/usr/share/xye/res/DejaVuSans-Bold.ttf -> ../../fonts/ttf/dejavu/DejaVuSans-Bold.ttf is not going to provide anything find-provides: broken symbolic link /usr/src/tmp/xye-buildroot/usr/share/xye/res/DejaVuSans.ttf -> ../../fonts/ttf/dejavu/DejaVuSans.ttf is not going to provide anything find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qVI2vi find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) symlinks.req: /usr/src/tmp/xye-buildroot/usr/share/xye/res/DejaVuSans-Bold.ttf: /usr/share/fonts/ttf/dejavu/DejaVuSans-Bold.ttf -> /usr/share/fonts/ttf/dejavu/DejaVuSans-Bold.ttf (raw, not installed) symlinks.req: /usr/src/tmp/xye-buildroot/usr/share/xye/res/DejaVuSans.ttf: /usr/share/fonts/ttf/dejavu/DejaVuSans.ttf -> /usr/share/fonts/ttf/dejavu/DejaVuSans.ttf (raw, not installed) Requires: fonts-ttf-dejavu, /lib/ld-linux.so.2, /usr/share/fonts/ttf/dejavu/DejaVuSans-Bold.ttf, /usr/share/fonts/ttf/dejavu/DejaVuSans.ttf, libSDL-1.2.so.0 >= set:lg8xy7tnk1Vm2Z5ZcHeDXMGNZrFZBVSOTvx8OipIYY1CesHzt07HsMPhUB9svxzzn7jV9, libSDL_image-1.2.so.0 >= set:jifK3, libSDL_ttf-2.0.so.0 >= set:jgINt3Aj1FHVewrc3, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.38), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.11), libstdc++.so.6(GLIBCXX_3.4.20), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.29), libstdc++.so.6(GLIBCXX_3.4.32), libstdc++.so.6(GLIBCXX_3.4.9), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.B5X9ZQ Creating xye-debuginfo package Processing files: xye-debuginfo-0.12.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5IbsR4 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.SmDaAd find-requires: running scripts (debuginfo) Requires: xye = 0.12.2-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libSDL-1.2.so.0), debug(libSDL_image-1.2.so.0), debug(libSDL_ttf-2.0.so.0), debug(libc.so.6), debug(libgcc_s.so.1), debug(libstdc++.so.6) Wrote: /usr/src/RPM/RPMS/i586/xye-0.12.2-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/xye-debuginfo-0.12.2-alt1.i586.rpm (w2.lzdio) 31.21user 4.42system 0:14.29elapsed 249%CPU (0avgtext+0avgdata 90704maxresident)k 0inputs+0outputs (0major+1036228minor)pagefaults 0swaps /.out/xye-0.12.2-alt1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/xye-debuginfo-0.12.2-alt1.i586.rpm: The use of such a license name is ambiguous: GPL 3.62user 2.58system 0:26.95elapsed 23%CPU (0avgtext+0avgdata 127416maxresident)k 0inputs+0outputs (0major+209959minor)pagefaults 0swaps --- xye-0.12.2-alt1.i586.rpm.repo 2018-09-19 14:13:27.000000000 +0000 +++ xye-0.12.2-alt1.i586.rpm.hasher 2024-04-27 09:29:23.350192050 +0000 @@ -65,5 +65,8 @@ Requires: libc.so.6(GLIBC_2.3.4) +Requires: libc.so.6(GLIBC_2.34) +Requires: libc.so.6(GLIBC_2.38) Requires: libc.so.6(GLIBC_2.4) +Requires: libc.so.6(GLIBC_2.7) Requires: libgcc_s.so.1(GCC_3.0) -Requires: libpthread.so.0(GLIBC_2.0) +Requires: libgcc_s.so.1(GCC_3.3.1) Requires: libstdc++.so.6(CXXABI_1.3) @@ -75,2 +78,4 @@ Requires: libstdc++.so.6(GLIBCXX_3.4.21) +Requires: libstdc++.so.6(GLIBCXX_3.4.29) +Requires: libstdc++.so.6(GLIBCXX_3.4.32) Requires: libstdc++.so.6(GLIBCXX_3.4.9) @@ -79,4 +84,4 @@ Provides: xye = 0.12.2-alt1 -File: /usr/bin/xye 100755 root:root 3c5095115058085a99b4511ea34c73e4 -File: /usr/share/applications/xye.desktop 100644 root:root 7d3d281df9a2a5548b6430552f20becc +File: /usr/bin/xye 100755 root:root ba8d8939bd086c9195acfc78d8edcb05 +File: /usr/share/applications/xye.desktop 100644 root:root 609cb1b46c383e14ecc79e7c9112dbab File: /usr/share/doc/xye-0.12.2 40755 root:root @@ -84,3 +89,3 @@ File: /usr/share/doc/xye-0.12.2/COPYING 100644 root:root 6df1ff65b8a20e78abea8cc35c3afee6 -File: /usr/share/doc/xye-0.12.2/INSTALL 100644 root:root d0697e131465c2bdd0af3b07a84d2878 +File: /usr/share/doc/xye-0.12.2/INSTALL 100644 root:root dd63184811cb2ff705c3e466364d3773 File: /usr/share/doc/xye-0.12.2/NEWS 100644 root:root a0fb58391075f0ab29834cc48e643d34 @@ -131,2 +136,2 @@ File: /usr/share/xye/res/xye_luminosity.png 100644 root:root 692859a40ad3a7ecba3679b1d23099f4 -RPMIdentity: 675a3a401231d53bca0268a0feebeb58251e1bda321075969fb764f5e7c2e7f06bc18a194596dbcc169f470da246099bb87d3db7bd843dbacbbc7dfbad3029c3 +RPMIdentity: 796fb94d79cf20e6ffce08eaf2214ea05d1f6a3ad20dbad1abfdf08840200ce5a4a0e8f27cb57091838aa8f5ef0d630eea8390e092d1bad9e0d9313321def080 --- xye-debuginfo-0.12.2-alt1.i586.rpm.repo 2018-09-19 14:13:27.000000000 +0000 +++ xye-debuginfo-0.12.2-alt1.i586.rpm.hasher 2024-04-27 09:29:23.431193301 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/55 40755 root:root -/usr/lib/debug/.build-id/55/43cf0a572d0b791b88cc4ebc08f54b6225e866 120777 root:root ../../../../bin/xye -/usr/lib/debug/.build-id/55/43cf0a572d0b791b88cc4ebc08f54b6225e866.debug 120777 root:root ../../usr/bin/xye.debug +/usr/lib/debug/.build-id/0f 40755 root:root +/usr/lib/debug/.build-id/0f/85c1b4d696e56d73a303c721386f0189812c2c 120777 root:root ../../../../bin/xye +/usr/lib/debug/.build-id/0f/85c1b4d696e56d73a303c721386f0189812c2c.debug 120777 root:root ../../usr/bin/xye.debug /usr/lib/debug/usr/bin/xye.debug 100644 root:root @@ -28,2 +28,3 @@ /usr/src/debug/xye-0.12.2/src/skins.cpp 100644 root:root +/usr/src/debug/xye-0.12.2/src/skins.h 100644 root:root /usr/src/debug/xye-0.12.2/src/tinyxml 40755 root:root @@ -54,3 +55,2 @@ Requires: debug(libgcc_s.so.1) -Requires: debug(libpthread.so.0) Requires: debug(libstdc++.so.6) @@ -58,6 +58,6 @@ Provides: xye-debuginfo = 0.12.2-alt1 -File: /usr/lib/debug/.build-id/55 40755 root:root -File: /usr/lib/debug/.build-id/55/43cf0a572d0b791b88cc4ebc08f54b6225e866 120777 root:root ../../../../bin/xye -File: /usr/lib/debug/.build-id/55/43cf0a572d0b791b88cc4ebc08f54b6225e866.debug 120777 root:root ../../usr/bin/xye.debug -File: /usr/lib/debug/usr/bin/xye.debug 100644 root:root 210d64f69639b95ca47d0e760168ee50 +File: /usr/lib/debug/.build-id/0f 40755 root:root +File: /usr/lib/debug/.build-id/0f/85c1b4d696e56d73a303c721386f0189812c2c 120777 root:root ../../../../bin/xye +File: /usr/lib/debug/.build-id/0f/85c1b4d696e56d73a303c721386f0189812c2c.debug 120777 root:root ../../usr/bin/xye.debug +File: /usr/lib/debug/usr/bin/xye.debug 100644 root:root 83552a9a4ca9695151761efe7cb259b0 File: /usr/src/debug/xye-0.12.2 40755 root:root @@ -86,2 +86,3 @@ File: /usr/src/debug/xye-0.12.2/src/skins.cpp 100644 root:root 55b81189e14d337839388ea1a8220b1f +File: /usr/src/debug/xye-0.12.2/src/skins.h 100644 root:root 51c2acfc6a840ce7f3e42dadbd407da9 File: /usr/src/debug/xye-0.12.2/src/tinyxml 40755 root:root @@ -105,2 +106,2 @@ File: /usr/src/debug/xye-0.12.2/src/xyedit.h 100644 root:root 49f14d0844de11364acdd0cc8a8dae49 -RPMIdentity: f6fa424d79567841c368d5d9da534d2179206a1b1c8e59dd66f67bfb3828c68190cf4a52a8bab2838275fe254ceadb32242a5710d195c866a0baaaf028e78d79 +RPMIdentity: c88aad300192a12049a7ee0e5d212dc5e4f6353e017e2bdea0c3f41c865dc89689ca80051e4851836ef1c5364381efef508a3af55b98aa0ff7c1fe4541a5190f