>>> Building on arm64-1 under games/xye BDEPENDS = [devel/sdl-image;devel/sdl-ttf] DIST = [games/xye:xye-0.12.2.tar.gz] FULLPKGNAME = xye-0.12.2p5 RDEPENDS = [devel/sdl-image;devel/desktop-file-utils;devel/sdl-ttf] (Junk lock obtained for arm64-1 at 1756050419.53) >>> Running depends in games/xye at 1756050419.62 last junk was in graphics/xfig /usr/sbin/pkg_add -aI -Drepair sdl-image-1.2.12p5 sdl-ttf-2.0.11p3 was: /usr/sbin/pkg_add -aI -Drepair sdl-image-1.2.12p5 sdl-ttf-2.0.11p3 /usr/sbin/pkg_add -aI -Drepair sdl-image-1.2.12p5 sdl-ttf-2.0.11p3 mux_client_request_session: session request failed: Session open refused by peer >>> Running show-prepare-results in games/xye at 1756050424.55 mux_client_request_session: session request failed: Session open refused by peer ===> games/xye ===> Building from scratch xye-0.12.2p5 ===> xye-0.12.2p5 depends on: sdl-image-* -> sdl-image-1.2.12p5 ===> xye-0.12.2p5 depends on: sdl-ttf-* -> sdl-ttf-2.0.11p3 ===> Verifying specs: SDL SDL_image SDL_ttf c m pthread c++ c++abi pthread ===> found SDL.8.0 SDL_image.3.1 SDL_ttf.8.1 c.102.0 m.10.1 pthread.28.0 c++.12.0 c++abi.9.0 sdl-image-1.2.12p5 sdl-ttf-2.0.11p3 Don't run junk because nojunk in geo/gpxsee (Junk lock released for arm64-1 at 1756050426.48) distfiles size=2860290 >>> Running patch in games/xye at 1756050426.55 mux_client_request_session: session request failed: Session open refused by peer ===> games/xye ===> Checking files for xye-0.12.2p5 `/usr/ports/distfiles/xye-0.12.2.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for xye-0.12.2p5 ===> Patching for xye-0.12.2p5 ===> Applying OpenBSD patch patch-src_xsb_level_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |clang6 fix | |Index: src/xsb_level.cpp |--- src/xsb_level.cpp.orig |+++ src/xsb_level.cpp -------------------------- Patching file src/xsb_level.cpp using Plan A... Hunk #1 succeeded at 784. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in games/xye at 1756050428.22 mux_client_request_session: session request failed: Session open refused by peer ===> games/xye ===> Generating configure for xye-0.12.2p5 ===> Configuring for xye-0.12.2p5 Using /usr/obj/ports/xye-0.12.2/config.site (generated) configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc configure: loading site script /usr/obj/ports/xye-0.12.2/config.site checking build system type... aarch64-unknown-openbsd7.7 checking host system type... aarch64-unknown-openbsd7.7 checking target system type... aarch64-unknown-openbsd7.7 checking for a BSD-compatible install... /usr/obj/ports/xye-0.12.2/bin/install -c checking whether build environment is sane... yes /usr/obj/ports/xye-0.12.2/xye-0.12.2/missing: Unknown `--run' option Try `/usr/obj/ports/xye-0.12.2/xye-0.12.2/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for a thread-safe mkdir -p... mkdir -p checking for gawk... (cached) awk checking whether make sets $(MAKE)... (cached) yes checking for gcc... cc 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... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking whether we are using the GNU C++ compiler... (cached) yes checking whether c++ accepts -g... (cached) yes checking dependency style of c++... gcc3 checking for an ANSI C-conforming const... (cached) yes checking for sdl-config... /usr/local/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 configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc The xye binary will be installed in /usr/local/bin Configure complete, now type 'make' and hope for the best. >>> Running build in games/xye at 1756050435.80 mux_client_request_session: session request failed: Session open refused by peer ===> games/xye ===> Building for xye-0.12.2p5 c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o `test -f 'src/main.cpp' || echo './'`src/main.cpp In file included from src/main.cpp:39: In file included from src/xye_script.h:13: src/tinyxml/xye_tinyxml.h:636:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:637:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:638:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 638 | const TiXmlComment* ToComment() const { return ( this && type == COMMENT ) ? (const TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:639:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 639 | const TiXmlUnknown* ToUnknown() const { return ( this && type == UNKNOWN ) ? (const TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:641:59: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 641 | const TiXmlDeclaration* ToDeclaration() const { return ( this && type == DECLARATION ) ? (const TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:643:43: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:644:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:645:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 645 | TiXmlComment* ToComment() { return ( this && type == COMMENT ) ? (TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:646:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 646 | TiXmlUnknown* ToUnknown() { return ( this && type == UNKNOWN ) ? (TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:647:41: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 647 | TiXmlText* ToText() { return ( this && type == TEXT ) ? (TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:648:47: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 648 | TiXmlDeclaration* ToDeclaration() { return ( this && type == DECLARATION ) ? (TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ 12 warnings generated. mv -f .deps/main.Tpo .deps/main.Po c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT browser.o -MD -MP -MF .deps/browser.Tpo -c -o browser.o `test -f 'src/browser.cpp' || echo './'`src/browser.cpp src/browser.cpp:106:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 106 | while (ent=readdir(D)) | ~~~^~~~~~~~~~~ src/browser.cpp:106:15: note: place parentheses around the assignment to silence this warning 106 | while (ent=readdir(D)) | ^ | ( ) src/browser.cpp:106:15: note: use '==' to turn this assignment into an equality comparison 106 | while (ent=readdir(D)) | ^ | == src/browser.cpp:132:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 132 | while (ent=readdir(D)) | ~~~^~~~~~~~~~~ src/browser.cpp:132:15: note: place parentheses around the assignment to silence this warning 132 | while (ent=readdir(D)) | ^ | ( ) src/browser.cpp:132:15: note: use '==' to turn this assignment into an equality comparison 132 | while (ent=readdir(D)) | ^ | == src/browser.cpp:157:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 157 | while (ent=readdir(D)) | ~~~^~~~~~~~~~~ src/browser.cpp:157:15: note: place parentheses around the assignment to silence this warning 157 | while (ent=readdir(D)) | ^ | ( ) src/browser.cpp:157:15: note: use '==' to turn this assignment into an equality comparison 157 | while (ent=readdir(D)) | ^ | == 3 warnings generated. mv -f .deps/browser.Tpo .deps/browser.Po c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT font.o -MD -MP -MF .deps/font.Tpo -c -o font.o `test -f 'src/font.cpp' || echo './'`src/font.cpp mv -f .deps/font.Tpo .deps/font.Po c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT gen.o -MD -MP -MF .deps/gen.Tpo -c -o gen.o `test -f 'src/gen.cpp' || echo './'`src/gen.cpp mv -f .deps/gen.Tpo .deps/gen.Po c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT kye_script.o -MD -MP -MF .deps/kye_script.Tpo -c -o kye_script.o `test -f 'src/kye_script.cpp' || echo './'`src/kye_script.cpp In file included from src/kye_script.cpp:22: In file included from src/xye_script.h:13: src/tinyxml/xye_tinyxml.h:636:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:637:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:638:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 638 | const TiXmlComment* ToComment() const { return ( this && type == COMMENT ) ? (const TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:639:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 639 | const TiXmlUnknown* ToUnknown() const { return ( this && type == UNKNOWN ) ? (const TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:641:59: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 641 | const TiXmlDeclaration* ToDeclaration() const { return ( this && type == DECLARATION ) ? (const TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:643:43: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:644:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:645:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 645 | TiXmlComment* ToComment() { return ( this && type == COMMENT ) ? (TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:646:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 646 | TiXmlUnknown* ToUnknown() { return ( this && type == UNKNOWN ) ? (TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:647:41: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 647 | TiXmlText* ToText() { return ( this && type == TEXT ) ? (TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:648:47: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 648 | TiXmlDeclaration* ToDeclaration() { return ( this && type == DECLARATION ) ? (TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/kye_script.cpp:236:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 236 | if (tm=tm->Next) | ~~^~~~~~~~~ src/kye_script.cpp:236:19: note: place parentheses around the assignment to silence this warning 236 | if (tm=tm->Next) | ^ | ( ) src/kye_script.cpp:236:19: note: use '==' to turn this assignment into an equality comparison 236 | if (tm=tm->Next) | ^ | == 13 warnings generated. mv -f .deps/kye_script.Tpo .deps/kye_script.Po c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT levels.o -MD -MP -MF .deps/levels.Tpo -c -o levels.o `test -f 'src/levels.cpp' || echo './'`src/levels.cpp In file included from src/levels.cpp:20: In file included from src/xye_script.h:13: src/tinyxml/xye_tinyxml.h:636:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:637:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:638:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 638 | const TiXmlComment* ToComment() const { return ( this && type == COMMENT ) ? (const TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:639:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 639 | const TiXmlUnknown* ToUnknown() const { return ( this && type == UNKNOWN ) ? (const TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:641:59: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 641 | const TiXmlDeclaration* ToDeclaration() const { return ( this && type == DECLARATION ) ? (const TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:643:43: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:644:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:645:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 645 | TiXmlComment* ToComment() { return ( this && type == COMMENT ) ? (TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:646:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 646 | TiXmlUnknown* ToUnknown() { return ( this && type == UNKNOWN ) ? (TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:647:41: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 647 | TiXmlText* ToText() { return ( this && type == TEXT ) ? (TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:648:47: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 648 | TiXmlDeclaration* ToDeclaration() { return ( this && type == DECLARATION ) ? (TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/levels.cpp:210:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 210 | while (N=F.NextFileMatching(Akyexyelevel)) if (strlen(N)<=20) c++; | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/levels.cpp:210:13: note: place parentheses around the assignment to silence this warning 210 | while (N=F.NextFileMatching(Akyexyelevel)) if (strlen(N)<=20) c++; | ^ | ( ) src/levels.cpp:210:13: note: use '==' to turn this assignment into an equality comparison 210 | while (N=F.NextFileMatching(Akyexyelevel)) if (strlen(N)<=20) c++; | ^ | == src/levels.cpp:212:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 212 | while (N=F.NextSubFolder()) | ~^~~~~~~~~~~~~~~~~~ src/levels.cpp:212:13: note: place parentheses around the assignment to silence this warning 212 | while (N=F.NextSubFolder()) | ^ | ( ) src/levels.cpp:212:13: note: use '==' to turn this assignment into an equality comparison 212 | while (N=F.NextSubFolder()) | ^ | == src/levels.cpp:522:13: warning: 225 enumeration values not handled in switch: 'SDLK_UNKNOWN', 'SDLK_BACKSPACE', 'SDLK_TAB'... [-Wswitch] 522 | switch (keysim) | ^~~~~~ 15 warnings generated. mv -f .deps/levels.Tpo .deps/levels.Po c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o `test -f 'src/options.cpp' || echo './'`src/options.cpp In file included from src/options.cpp:17: In file included from src/options.h:1: src/tinyxml/xye_tinyxml.h:636:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:637:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:638:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 638 | const TiXmlComment* ToComment() const { return ( this && type == COMMENT ) ? (const TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:639:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 639 | const TiXmlUnknown* ToUnknown() const { return ( this && type == UNKNOWN ) ? (const TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:641:59: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 641 | const TiXmlDeclaration* ToDeclaration() const { return ( this && type == DECLARATION ) ? (const TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:643:43: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:644:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:645:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 645 | TiXmlComment* ToComment() { return ( this && type == COMMENT ) ? (TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:646:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 646 | TiXmlUnknown* ToUnknown() { return ( this && type == UNKNOWN ) ? (TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:647:41: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 647 | TiXmlText* ToText() { return ( this && type == TEXT ) ? (TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:648:47: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 648 | TiXmlDeclaration* ToDeclaration() { return ( this && type == DECLARATION ) ? (TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/options.cpp:470:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 470 | if (tm=ele->Attribute("sprites")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:470:11: note: place parentheses around the assignment to silence this warning 470 | if (tm=ele->Attribute("sprites")) { | ^ | ( ) src/options.cpp:470:11: note: use '==' to turn this assignment into an equality comparison 470 | if (tm=ele->Attribute("sprites")) { | ^ | == src/options.cpp:478:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 478 | if (tm=ele->Attribute("icon")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:478:11: note: place parentheses around the assignment to silence this warning 478 | if (tm=ele->Attribute("icon")) { | ^ | ( ) src/options.cpp:478:11: note: use '==' to turn this assignment into an equality comparison 478 | if (tm=ele->Attribute("icon")) { | ^ | == src/options.cpp:489:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 489 | if (tm=ele->Attribute("luminosity")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:489:11: note: place parentheses around the assignment to silence this warning 489 | if (tm=ele->Attribute("luminosity")) { | ^ | ( ) src/options.cpp:489:11: note: use '==' to turn this assignment into an equality comparison 489 | if (tm=ele->Attribute("luminosity")) { | ^ | == src/options.cpp:496:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 496 | if (tm=ele->Attribute("xyedirections")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:496:11: note: place parentheses around the assignment to silence this warning 496 | if (tm=ele->Attribute("xyedirections")) | ^ | ( ) src/options.cpp:496:11: note: use '==' to turn this assignment into an equality comparison 496 | if (tm=ele->Attribute("xyedirections")) | ^ | == src/options.cpp:500:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 500 | if (tm=ele->Attribute("fontfile")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:500:11: note: place parentheses around the assignment to silence this warning 500 | if (tm=ele->Attribute("fontfile")) { | ^ | ( ) src/options.cpp:500:11: note: use '==' to turn this assignment into an equality comparison 500 | if (tm=ele->Attribute("fontfile")) { | ^ | == src/options.cpp:508:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 508 | if (tm=ele->Attribute("boldfontfile")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:508:11: note: place parentheses around the assignment to silence this warning 508 | if (tm=ele->Attribute("boldfontfile")) { | ^ | ( ) src/options.cpp:508:11: note: use '==' to turn this assignment into an equality comparison 508 | if (tm=ele->Attribute("boldfontfile")) { | ^ | == src/options.cpp:517:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 517 | if (tm=ele->Attribute("truetypesize")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:517:11: note: place parentheses around the assignment to silence this warning 517 | if (tm=ele->Attribute("truetypesize")) { | ^ | ( ) src/options.cpp:517:11: note: use '==' to turn this assignment into an equality comparison 517 | if (tm=ele->Attribute("truetypesize")) { | ^ | == src/options.cpp:520:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 520 | if (tm=ele->Attribute("size")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:520:11: note: place parentheses around the assignment to silence this warning 520 | if (tm=ele->Attribute("size")) { | ^ | ( ) src/options.cpp:520:11: note: use '==' to turn this assignment into an equality comparison 520 | if (tm=ele->Attribute("size")) { | ^ | == src/options.cpp:583:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 583 | if (options=GetOptionsElement(r)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ src/options.cpp:583:16: note: place parentheses around the assignment to silence this warning 583 | if (options=GetOptionsElement(r)) | ^ | ( ) src/options.cpp:583:16: note: use '==' to turn this assignment into an equality comparison 583 | if (options=GetOptionsElement(r)) | ^ | == src/options.cpp:603:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 603 | if (options = GetOptionsElement(r) ) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:603:17: note: place parentheses around the assignment to silence this warning 603 | if (options = GetOptionsElement(r) ) { | ^ | ( ) src/options.cpp:603:17: note: use '==' to turn this assignment into an equality comparison 603 | if (options = GetOptionsElement(r) ) { | ^ | == src/options.cpp:741:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 741 | if (tm=ele->Attribute("red")) r=atoi(tm); | ~~^~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:741:11: note: place parentheses around the assignment to silence this warning 741 | if (tm=ele->Attribute("red")) r=atoi(tm); | ^ | ( ) src/options.cpp:741:11: note: use '==' to turn this assignment into an equality comparison 741 | if (tm=ele->Attribute("red")) r=atoi(tm); | ^ | == src/options.cpp:742:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 742 | if (tm=ele->Attribute("green")) g=atoi(tm); | ~~^~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:742:11: note: place parentheses around the assignment to silence this warning 742 | if (tm=ele->Attribute("green")) g=atoi(tm); | ^ | ( ) src/options.cpp:742:11: note: use '==' to turn this assignment into an equality comparison 742 | if (tm=ele->Attribute("green")) g=atoi(tm); | ^ | == src/options.cpp:743:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 743 | if (tm=ele->Attribute("blue")) b=atoi(tm); | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:743:11: note: place parentheses around the assignment to silence this warning 743 | if (tm=ele->Attribute("blue")) b=atoi(tm); | ^ | ( ) src/options.cpp:743:11: note: use '==' to turn this assignment into an equality comparison 743 | if (tm=ele->Attribute("blue")) b=atoi(tm); | ^ | == src/options.cpp:745:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 745 | if (tm=ele->Attribute("undo")) | ~~^~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:745:11: note: place parentheses around the assignment to silence this warning 745 | if (tm=ele->Attribute("undo")) | ^ | ( ) src/options.cpp:745:11: note: use '==' to turn this assignment into an equality comparison 745 | if (tm=ele->Attribute("undo")) | ^ | == src/options.cpp:754:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 754 | if (tm=ele->Attribute("pickedtheme")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:754:11: note: place parentheses around the assignment to silence this warning 754 | if (tm=ele->Attribute("pickedtheme")) | ^ | ( ) src/options.cpp:754:11: note: use '==' to turn this assignment into an equality comparison 754 | if (tm=ele->Attribute("pickedtheme")) | ^ | == src/options.cpp:761:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 761 | if (tm=ele->Attribute("disablelevelcolors")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/options.cpp:761:11: note: place parentheses around the assignment to silence this warning 761 | if (tm=ele->Attribute("disablelevelcolors")) | ^ | ( ) src/options.cpp:761:11: note: use '==' to turn this assignment into an equality comparison 761 | if (tm=ele->Attribute("disablelevelcolors")) | ^ | == 28 warnings generated. mv -f .deps/options.Tpo .deps/options.Po c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT xye_tinystr.o -MD -MP -MF .deps/xye_tinystr.Tpo -c -o xye_tinystr.o `test -f 'src/tinyxml/xye_tinystr.cpp' || echo './'`src/tinyxml/xye_tinystr.cpp mv -f .deps/xye_tinystr.Tpo .deps/xye_tinystr.Po c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT xye_tinyxml.o -MD -MP -MF .deps/xye_tinyxml.Tpo -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:636:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:637:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:638:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 638 | const TiXmlComment* ToComment() const { return ( this && type == COMMENT ) ? (const TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:639:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 639 | const TiXmlUnknown* ToUnknown() const { return ( this && type == UNKNOWN ) ? (const TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:641:59: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 641 | const TiXmlDeclaration* ToDeclaration() const { return ( this && type == DECLARATION ) ? (const TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:643:43: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:644:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:645:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 645 | TiXmlComment* ToComment() { return ( this && type == COMMENT ) ? (TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:646:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 646 | TiXmlUnknown* ToUnknown() { return ( this && type == UNKNOWN ) ? (TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:647:41: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 647 | TiXmlText* ToText() { return ( this && type == TEXT ) ? (TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:648:47: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 648 | TiXmlDeclaration* ToDeclaration() { return ( this && type == DECLARATION ) ? (TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ 12 warnings generated. mv -f .deps/xye_tinyxml.Tpo .deps/xye_tinyxml.Po c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT xye_tinyxmlerror.o -MD -MP -MF .deps/xye_tinyxmlerror.Tpo -c -o xye_tinyxmlerror.o `test -f 'src/tinyxml/xye_tinyxmlerror.cpp' || echo './'`src/tinyxml/xye_tinyxmlerror.cpp In file included from src/tinyxml/xye_tinyxmlerror.cpp:25: src/tinyxml/xye_tinyxml.h:636:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:637:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:638:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 638 | const TiXmlComment* ToComment() const { return ( this && type == COMMENT ) ? (const TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:639:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 639 | const TiXmlUnknown* ToUnknown() const { return ( this && type == UNKNOWN ) ? (const TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:641:59: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 641 | const TiXmlDeclaration* ToDeclaration() const { return ( this && type == DECLARATION ) ? (const TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:643:43: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:644:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:645:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 645 | TiXmlComment* ToComment() { return ( this && type == COMMENT ) ? (TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:646:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 646 | TiXmlUnknown* ToUnknown() { return ( this && type == UNKNOWN ) ? (TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:647:41: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 647 | TiXmlText* ToText() { return ( this && type == TEXT ) ? (TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:648:47: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 648 | TiXmlDeclaration* ToDeclaration() { return ( this && type == DECLARATION ) ? (TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ 12 warnings generated. mv -f .deps/xye_tinyxmlerror.Tpo .deps/xye_tinyxmlerror.Po c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT xye_tinyxmlparser.o -MD -MP -MF .deps/xye_tinyxmlparser.Tpo -c -o xye_tinyxmlparser.o `test -f 'src/tinyxml/xye_tinyxmlparser.cpp' || echo './'`src/tinyxml/xye_tinyxmlparser.cpp In file included from src/tinyxml/xye_tinyxmlparser.cpp:25: src/tinyxml/xye_tinyxml.h:636:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:637:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:638:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 638 | const TiXmlComment* ToComment() const { return ( this && type == COMMENT ) ? (const TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:639:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 639 | const TiXmlUnknown* ToUnknown() const { return ( this && type == UNKNOWN ) ? (const TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:641:59: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 641 | const TiXmlDeclaration* ToDeclaration() const { return ( this && type == DECLARATION ) ? (const TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:643:43: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:644:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:645:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 645 | TiXmlComment* ToComment() { return ( this && type == COMMENT ) ? (TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:646:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 646 | TiXmlUnknown* ToUnknown() { return ( this && type == UNKNOWN ) ? (TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:647:41: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 647 | TiXmlText* ToText() { return ( this && type == TEXT ) ? (TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:648:47: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 648 | TiXmlDeclaration* ToDeclaration() { return ( this && type == DECLARATION ) ? (TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ 12 warnings generated. mv -f .deps/xye_tinyxmlparser.Tpo .deps/xye_tinyxmlparser.Po c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT vxsdl.o -MD -MP -MF .deps/vxsdl.Tpo -c -o vxsdl.o `test -f 'src/vxsdl.cpp' || echo './'`src/vxsdl.cpp mv -f .deps/vxsdl.Tpo .deps/vxsdl.Po c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT xye.o -MD -MP -MF .deps/xye.Tpo -c -o xye.o `test -f 'src/xye.cpp' || echo './'`src/xye.cpp In file included from src/xye.cpp:23: In file included from src/xye_script.h:13: src/tinyxml/xye_tinyxml.h:636:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:637:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:638:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 638 | const TiXmlComment* ToComment() const { return ( this && type == COMMENT ) ? (const TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:639:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 639 | const TiXmlUnknown* ToUnknown() const { return ( this && type == UNKNOWN ) ? (const TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:641:59: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 641 | const TiXmlDeclaration* ToDeclaration() const { return ( this && type == DECLARATION ) ? (const TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:643:43: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:644:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:645:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 645 | TiXmlComment* ToComment() { return ( this && type == COMMENT ) ? (TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:646:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 646 | TiXmlUnknown* ToUnknown() { return ( this && type == UNKNOWN ) ? (TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:647:41: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 647 | TiXmlText* ToText() { return ( this && type == TEXT ) ? (TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:648:47: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 648 | TiXmlDeclaration* ToDeclaration() { return ( this && type == DECLARATION ) ? (TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/xye.cpp:784:25: warning: 211 enumeration values not handled in switch: 'SDLK_UNKNOWN', 'SDLK_BACKSPACE', 'SDLK_TAB'... [-Wswitch] 784 | switch (keysim) | ^~~~~~ src/xye.cpp:846:25: warning: 222 enumeration values not handled in switch: 'SDLK_UNKNOWN', 'SDLK_TAB', 'SDLK_CLEAR'... [-Wswitch] 846 | switch (keysim) | ^~~~~~ src/xye.cpp:1170:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1170 | if (undo=undotime) { | ~~~~^~~~~~~~~ src/xye.cpp:1170:13: note: place parentheses around the assignment to silence this warning 1170 | if (undo=undotime) { | ^ | ( ) src/xye.cpp:1170:13: note: use '==' to turn this assignment into an equality comparison 1170 | if (undo=undotime) { | ^ | == src/xye.cpp:1256:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1256 | if (gobject=sq->gobject) gobject->Loop(); | ~~~~~~~^~~~~~~~~~~~ src/xye.cpp:1256:16: note: place parentheses around the assignment to silence this warning 1256 | if (gobject=sq->gobject) gobject->Loop(); | ^ | ( ) src/xye.cpp:1256:16: note: use '==' to turn this assignment into an equality comparison 1256 | if (gobject=sq->gobject) gobject->Loop(); | ^ | == src/xye.cpp:1656:37: warning: 41 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] 1656 | if (shadow) switch (gobject->GetType()) | ^~~~~~~~~~~~~~~~~~ src/xye.cpp:1667:36: warning: 41 enumeration values not handled in switch: 'OT_ROBOXYE', 'OT_WALL', 'OT_BLOCK'... [-Wswitch] 1667 | if (shadow) switch(object->GetType()) | ^~~~~~~~~~~~~~~~~ src/xye.cpp:1791:17: warning: 40 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] 1791 | switch (object->GetType()) | ^~~~~~~~~~~~~~~~~ src/xye.cpp:1844:12: warning: enumeration values 'D_UP' and 'D_DOWN' not handled in switch [-Wswitch] 1844 | switch(LastXyeDir) | ^~~~~~~~~~ src/xye.cpp:2021:13: warning: delete called on 'gobj' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] 2021 | delete (sq->gobject); | ^ src/xye.cpp:2026:13: warning: delete called on 'obj' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] 2026 | delete (sq->object); | ^ src/xye.cpp:2189:12: warning: 37 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_BLOCK'... [-Wswitch] 2189 | switch(o->GetType()) | ^~~~~~~~~~~~ src/xye.cpp:2432:21: warning: 40 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] 2432 | switch (inobj->GetType()) | ^~~~~~~~~~~~~~~~ src/xye.cpp:2794:33: warning: 40 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] 2794 | else switch(ot) | ^~ src/xye.cpp:2952:12: warning: 31 enumeration values not handled in switch: 'OT_BLOCK', 'OT_TRICKDOOR', 'OT_HINT'... [-Wswitch] 2952 | switch(type) | ^~~~ src/xye.cpp:3002:5: warning: delete called on 'gobj' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] 3002 | delete this; | ^ src/xye.cpp:3205:25: warning: 40 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] 3205 | switch (object->GetType()) | ^~~~~~~~~~~~~~~~~ src/xye.cpp:3583:12: warning: enumeration value 'RC_9' not handled in switch [-Wswitch] 3583 | switch(rnc) | ^~~ src/xye.cpp:3701:12: warning: enumeration value 'D_RIGHT' not handled in switch [-Wswitch] 3701 | switch(dir) | ^~~ src/xye.cpp:4359:12: warning: 42 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] 4359 | switch(object->GetType()) | ^~~~~~~~~~~~~~~~~ src/xye.cpp:4901:17: warning: 40 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] 4901 | switch (object->GetType()) | ^~~~~~~~~~~~~~~~~ src/xye.cpp:5021:12: warning: enumeration values 'B_RED' and 'B_PURPLE' not handled in switch [-Wswitch] 5021 | switch(c) | ^ src/xye.cpp:5033:12: warning: enumeration values 'B_RED' and 'B_PURPLE' not handled in switch [-Wswitch] 5033 | switch(c) | ^ src/xye.cpp:5059:12: warning: 42 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] 5059 | switch(object->GetType()) | ^~~~~~~~~~~~~~~~~ src/xye.cpp:5192:12: warning: 38 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] 5192 | switch(res) | ^~~ src/xye.cpp:5209:12: warning: 41 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] 5209 | switch(res) | ^~~ src/xye.cpp:5568:12: warning: enumeration values 'B_RED' and 'B_PURPLE' not handled in switch [-Wswitch] 5568 | switch(c) | ^ src/xye.cpp:5693:16: warning: enumeration value 'B_RED' not handled in switch [-Wswitch] 5693 | switch(c) | ^ src/xye.cpp:5786:16: warning: enumeration value 'B_RED' not handled in switch [-Wswitch] 5786 | switch(c) | ^ src/xye.cpp:6342:14: warning: add explicit braces to avoid dangling else [-Wdangling-else] 6342 | else | ^ src/xye.cpp:7358:12: warning: 42 enumeration values not handled in switch: 'OT_ROBOXYE', 'OT_WALL', 'OT_BLOCK'... [-Wswitch] 7358 | switch(object->GetType()) | ^~~~~~~~~~~~~~~~~ src/xye.cpp:7697:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7697 | if (gobject=game::Square(x,y)->gobject) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye.cpp:7697:20: note: place parentheses around the assignment to silence this warning 7697 | if (gobject=game::Square(x,y)->gobject) | ^ | ( ) src/xye.cpp:7697:20: note: use '==' to turn this assignment into an equality comparison 7697 | if (gobject=game::Square(x,y)->gobject) | ^ | == src/xye.cpp:7692:13: warning: 42 enumeration values not handled in switch: 'OT_WALL', 'OT_BLOCK', 'OT_TRICKDOOR'... [-Wswitch] 7692 | switch (pusher->GetType()) | ^~~~~~~~~~~~~~~~~ src/xye.cpp:7760:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7760 | if (gobject=game::Square(x,y)->gobject) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye.cpp:7760:20: note: place parentheses around the assignment to silence this warning 7760 | if (gobject=game::Square(x,y)->gobject) | ^ | ( ) src/xye.cpp:7760:20: note: use '==' to turn this assignment into an equality comparison 7760 | if (gobject=game::Square(x,y)->gobject) | ^ | == src/xye.cpp:7923:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7923 | if (gobject=game::Square(x,y)->gobject) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye.cpp:7923:20: note: place parentheses around the assignment to silence this warning 7923 | if (gobject=game::Square(x,y)->gobject) | ^ | ( ) src/xye.cpp:7923:20: note: use '==' to turn this assignment into an equality comparison 7923 | if (gobject=game::Square(x,y)->gobject) | ^ | == src/xye.cpp:8003:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8003 | if (gobject=game::Square(x,y)->gobject) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye.cpp:8003:20: note: place parentheses around the assignment to silence this warning 8003 | if (gobject=game::Square(x,y)->gobject) | ^ | ( ) src/xye.cpp:8003:20: note: use '==' to turn this assignment into an equality comparison 8003 | if (gobject=game::Square(x,y)->gobject) | ^ | == src/xye.cpp:8084:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 8084 | if ((game::counter8==0)) anim=!anim; | ~~~~~~~~~~~~~~^~~ src/xye.cpp:8084:24: note: remove extraneous parentheses around the comparison to silence this warning 8084 | if ((game::counter8==0)) anim=!anim; | ~ ^ ~ src/xye.cpp:8084:24: note: use '=' to turn this equality comparison into an assignment 8084 | if ((game::counter8==0)) anim=!anim; | ^~ | = src/xye.cpp:8106:12: warning: enumeration value 'D_DOWN' not handled in switch [-Wswitch] 8106 | switch(dir) | ^~~ src/xye.cpp:8252:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8252 | if (active=RenderAfterObjects=(entering->HasBlockColor(c))) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye.cpp:8252:15: note: place parentheses around the assignment to silence this warning 8252 | if (active=RenderAfterObjects=(entering->HasBlockColor(c))) | ^ | ( ) src/xye.cpp:8252:15: note: use '==' to turn this assignment into an equality comparison 8252 | if (active=RenderAfterObjects=(entering->HasBlockColor(c))) | ^ | == src/xye.cpp:8435:17: warning: 39 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] 8435 | switch (object->GetType()) | ^~~~~~~~~~~~~~~~~ src/xye.cpp:8486:13: warning: 42 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] 8486 | switch (entering->GetType()) | ^~~~~~~~~~~~~~~~~~~ src/xye.cpp:8573:12: warning: address of stack memory associated with local variable 'res' returned [-Wreturn-stack-address] 8573 | return res.c_str(); | ^~~ src/xye.cpp:8742:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8742 | if (o= sq->object) | ~^~~~~~~~~~~~ src/xye.cpp:8742:10: note: place parentheses around the assignment to silence this warning 8742 | if (o= sq->object) | ^ | ( ) src/xye.cpp:8742:10: note: use '==' to turn this assignment into an equality comparison 8742 | if (o= sq->object) | ^ | == src/xye.cpp:8874:13: warning: enumeration value 'KT_KILLORGANICS' not handled in switch [-Wswitch] 8874 | switch (K->kt) | ^~~~~ src/xye.cpp:9017:12: warning: 40 enumeration values not handled in switch: 'OT_WALL', 'OT_BLOCK', 'OT_TRICKDOOR'... [-Wswitch] 9017 | switch(t) | ^ src/xye.cpp:9060:12: warning: enumeration value 'D_LEFT' not handled in switch [-Wswitch] 9060 | switch(dir) | ^~~ src/xye.cpp:9226:12: warning: enumeration value 'D_LEFT' not handled in switch [-Wswitch] 9226 | switch(dir) | ^~~ src/xye.cpp:9237:12: warning: enumeration value 'D_RIGHT' not handled in switch [-Wswitch] 9237 | switch(dir) | ^~~ src/xye.cpp:9277:12: warning: 40 enumeration values not handled in switch: 'OT_WALL', 'OT_BLOCK', 'OT_TRICKDOOR'... [-Wswitch] 9277 | switch(object->GetType()) | ^~~~~~~~~~~~~~~~~ src/xye.cpp:9317:1: warning: '/*' within block comment [-Wcomment] 9317 | /** /Object recycle queue **/ | ^ src/xye.cpp:9333:9: warning: delete called on 'obj' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor] 9333 | delete (tm->o); | ^ 62 warnings generated. mv -f .deps/xye.Tpo .deps/xye.Po c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT xsb_level.o -MD -MP -MF .deps/xsb_level.Tpo -c -o xsb_level.o `test -f 'src/xsb_level.cpp' || echo './'`src/xsb_level.cpp In file included from src/xsb_level.cpp:24: In file included from src/xye_script.h:13: src/tinyxml/xye_tinyxml.h:636:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:637:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:638:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 638 | const TiXmlComment* ToComment() const { return ( this && type == COMMENT ) ? (const TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:639:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 639 | const TiXmlUnknown* ToUnknown() const { return ( this && type == UNKNOWN ) ? (const TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:641:59: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 641 | const TiXmlDeclaration* ToDeclaration() const { return ( this && type == DECLARATION ) ? (const TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:643:43: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:644:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:645:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 645 | TiXmlComment* ToComment() { return ( this && type == COMMENT ) ? (TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:646:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 646 | TiXmlUnknown* ToUnknown() { return ( this && type == UNKNOWN ) ? (TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:647:41: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 647 | TiXmlText* ToText() { return ( this && type == TEXT ) ? (TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:648:47: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 648 | TiXmlDeclaration* ToDeclaration() { return ( this && type == DECLARATION ) ? (TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/xsb_level.cpp:546:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 546 | if (tm=tm->Next) | ~~^~~~~~~~~ src/xsb_level.cpp:546:19: note: place parentheses around the assignment to silence this warning 546 | if (tm=tm->Next) | ^ | ( ) src/xsb_level.cpp:546:19: note: use '==' to turn this assignment into an equality comparison 546 | if (tm=tm->Next) | ^ | == src/xsb_level.cpp:637:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 637 | if (object=game::Square(x,y)->object ) return (object->GetType()==OT_WALL); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/xsb_level.cpp:637:15: note: place parentheses around the assignment to silence this warning 637 | if (object=game::Square(x,y)->object ) return (object->GetType()==OT_WALL); | ^ | ( ) src/xsb_level.cpp:637:15: note: use '==' to turn this assignment into an equality comparison 637 | if (object=game::Square(x,y)->object ) return (object->GetType()==OT_WALL); | ^ | == src/xsb_level.cpp:648:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 648 | if (object=sq->object) | ~~~~~~^~~~~~~~~~~ src/xsb_level.cpp:648:15: note: place parentheses around the assignment to silence this warning 648 | if (object=sq->object) | ^ | ( ) src/xsb_level.cpp:648:15: note: use '==' to turn this assignment into an equality comparison 648 | if (object=sq->object) | ^ | == src/xsb_level.cpp:681:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 681 | if (object=sq->object) | ~~~~~~^~~~~~~~~~~ src/xsb_level.cpp:681:15: note: place parentheses around the assignment to silence this warning 681 | if (object=sq->object) | ^ | ( ) src/xsb_level.cpp:681:15: note: use '==' to turn this assignment into an equality comparison 681 | if (object=sq->object) | ^ | == src/xsb_level.cpp:815:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 815 | if (object=sq->object) | ~~~~~~^~~~~~~~~~~ src/xsb_level.cpp:815:15: note: place parentheses around the assignment to silence this warning 815 | if (object=sq->object) | ^ | ( ) src/xsb_level.cpp:815:15: note: use '==' to turn this assignment into an equality comparison 815 | if (object=sq->object) | ^ | == 17 warnings generated. mv -f .deps/xsb_level.Tpo .deps/xsb_level.Po c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -I/usr/local/include -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -DXTHREADS -MT xye_script.o -MD -MP -MF .deps/xye_script.Tpo -c -o xye_script.o `test -f 'src/xye_script.cpp' || echo './'`src/xye_script.cpp In file included from src/xye_script.cpp:20: In file included from src/options.h:1: src/tinyxml/xye_tinyxml.h:636:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:637:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:638:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 638 | const TiXmlComment* ToComment() const { return ( this && type == COMMENT ) ? (const TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:639:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 639 | const TiXmlUnknown* ToUnknown() const { return ( this && type == UNKNOWN ) ? (const TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:641:59: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 641 | const TiXmlDeclaration* ToDeclaration() const { return ( this && type == DECLARATION ) ? (const TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:643:43: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:644:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 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:645:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 645 | TiXmlComment* ToComment() { return ( this && type == COMMENT ) ? (TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:646:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 646 | TiXmlUnknown* ToUnknown() { return ( this && type == UNKNOWN ) ? (TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:647:41: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 647 | TiXmlText* ToText() { return ( this && type == TEXT ) ? (TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/tinyxml/xye_tinyxml.h:648:47: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] 648 | TiXmlDeclaration* ToDeclaration() { return ( this && type == DECLARATION ) ? (TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type. | ^~~~ ~~ src/xye_script.cpp:303:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 303 | else if (pack=fil.FirstChildElement("xyereplay")) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye_script.cpp:303:22: note: place parentheses around the assignment to silence this warning 303 | else if (pack=fil.FirstChildElement("xyereplay")) | ^ | ( ) src/xye_script.cpp:303:22: note: use '==' to turn this assignment into an equality comparison 303 | else if (pack=fil.FirstChildElement("xyereplay")) | ^ | == src/xye_script.cpp:405:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 405 | if (pack=pack->FirstChildElement("moves")) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye_script.cpp:405:25: note: place parentheses around the assignment to silence this warning 405 | if (pack=pack->FirstChildElement("moves")) | ^ | ( ) src/xye_script.cpp:405:25: note: use '==' to turn this assignment into an equality comparison 405 | if (pack=pack->FirstChildElement("moves")) | ^ | == src/xye_script.cpp:862:5: error: reference to 'lock' is ambiguous 862 | lock* bc=new lock(game::SquareN(LastX,LastY),c); | ^ src/xye.h:1048:7: note: candidate found by name lookup is 'lock' 1048 | class lock : public obj | ^ /usr/include/c++/v1/mutex:417:35: note: candidate found by name lookup is 'std::lock' 417 | inline _LIBCPP_HIDE_FROM_ABI void lock(_L0& __l0, _L1& __l1, _L2& __l2, _L3&... __l3) { | ^ /usr/include/c++/v1/mutex:357:28: note: candidate found by name lookup is 'std::lock' 357 | _LIBCPP_HIDE_FROM_ABI void lock(_L0& __l0, _L1& __l1) { | ^ src/xye_script.cpp:1517:16: warning: 4 enumeration values not handled in switch: 'OT_XYE', 'OT_FIREBALL', 'OT_EXIT'... [-Wswitch] 1517 | switch(GetOTFromXmlElement(pEChild,&x)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye_script.cpp:1917:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1917 | if (pEChild= ( level->FirstChildElement("kyeformat"))) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye_script.cpp:1917:16: note: place parentheses around the assignment to silence this warning 1917 | if (pEChild= ( level->FirstChildElement("kyeformat"))) | ^ | ( ) src/xye_script.cpp:1917:16: note: use '==' to turn this assignment into an equality comparison 1917 | if (pEChild= ( level->FirstChildElement("kyeformat"))) | ^ | == 16 warnings and 1 error generated. *** Error 1 in /usr/obj/ports/xye-0.12.2/xye-0.12.2 (Makefile:647 'xye_script.o') *** Error 2 in games/xye (/usr/ports/infrastructure/mk/bsd.port.mk:3069 '/usr/obj/ports/xye-0.12.2/.build_done': @cd /usr/obj/ports/xye-0.12...) *** Error 2 in games/xye (/usr/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=xye-0.12.2p5; export _LOCKS_HELD=" xye-0.12.2p5"; ...) ===> Exiting games/xye with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1756050504.23 max_stuck=0.00/depends=4.96/show-prepare-results=1.99/patch=1.67/configure=7.57/build=68.50 Error: job failed with 512 on arm64-1 at 1756050504