Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 657188 Details for
Bug 739324
games-puzzle/xye-0.12.2 installs .desktop files with MimeType but does not update desktop mimeinfo cache
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 108.35 KB, created by
Agostino Sarubbo
on 2020-08-27 20:36:08 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-08-27 20:36:08 UTC
Size:
108.35 KB
patch
obsolete
> * Package: games-puzzle/xye-0.12.2 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo-mirror/gentoo/commit/951b76ed9b78a30bcaa8ef48e21ff6deed32fd9f (Thu Aug 27 18:35:26 UTC 2020) >@@@@@ END @@@@@ > > > >emerge --info: >Portage 3.0.4 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32, 5.4.0-1021-aws x86_64) >================================================================= >System uname: Linux-5.4.0-1021-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-gentoo-2.7 >KiB Mem: 64359960 total, 51040532 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Thu, 27 Aug 2020 18:35:25 +0000 >sh bash 5.0_p18 >ld GNU ld (Gentoo 2.34 p6) 2.34.0 >app-shells/bash: 5.0_p18::gentoo >dev-lang/perl: 5.30.3-r1::gentoo >dev-lang/python: 2.7.18-r1::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo >dev-util/cmake: 3.18.1::gentoo >sys-apps/baselayout: 2.7::gentoo >sys-apps/openrc: 0.42.1::gentoo >sys-apps/sandbox: 2.20::gentoo >sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo >sys-devel/automake: 1.16.2::gentoo >sys-devel/binutils: 2.34-r2::gentoo >sys-devel/gcc: 10.2.0-r1::gentoo >sys-devel/gcc-config: 2.3.1::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) >sys-libs/glibc: 2.32::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-max-age: 24 > sync-rsync-extra-opts: > sync-rsync-verify-jobs: 1 > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* ZLIB" >CBUILD="x86_64-pc-linux-gnu" >CC="x86_64-pc-linux-gnu-clang" >CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXX="x86_64-pc-linux-gnu-clang++" >CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >DISTDIR="/var/tmp/portage/games-puzzle/xye-0.12.2/distdir" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" >ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" >FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="C.UTF-8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" >MAKEOPTS="-j16 V=1" >PKGDIR="/root/.packages" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" >Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS > > > >>>> Unpacking source... >>>> Unpacking xye-0.12.2.tar.gz to /var/tmp/portage/games-puzzle/xye-0.12.2/work >>>> Source unpacked in /var/tmp/portage/games-puzzle/xye-0.12.2/work >>>> Preparing source in /var/tmp/portage/games-puzzle/xye-0.12.2/work/xye-0.12.2 ... > * Applying xye-0.12.2-fix-buildsystem.patch ... > [ ok ] > * Applying xye-0.12.2-fix-c++14.patch ... > [ ok ] > * Applying xye-0.12.2-fix-desktop-file.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/games-puzzle/xye-0.12.2/work/xye-0.12.2' ... > * Running aclocal ... > [ ok ] > * Running autoconf --force ... > [ ok ] > * Running automake --add-missing --copy --force-missing ... > [ ok ] > * Running elibtoolize in: xye-0.12.2/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/games-puzzle/xye-0.12.2/work/xye-0.12.2 ... > * econf: updating xye-0.12.2/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating xye-0.12.2/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/xye-0.12.2 --htmldir=/usr/share/doc/xye-0.12.2/html --libdir=/usr/lib64 >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking target system type... x86_64-pc-linux-gnu >checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-clang >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-clang accepts -g... yes >checking for x86_64-pc-linux-gnu-clang option to accept ISO C89... none needed >checking whether x86_64-pc-linux-gnu-clang understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-clang... none >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-pc-linux-gnu-clang++ accepts -g... yes >checking dependency style of x86_64-pc-linux-gnu-clang++... 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 > >The xye binary will be installed in /usr/bin > >Configure complete, now type 'make' and hope for the best. > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/games-puzzle/xye-0.12.2/work/xye-0.12.2 ... >make -j16 V=1 >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o main.o `test -f 'src/main.cpp' || echo './'`src/main.cpp >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o browser.o `test -f 'src/browser.cpp' || echo './'`src/browser.cpp >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o font.o `test -f 'src/font.cpp' || echo './'`src/font.cpp >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gen.o `test -f 'src/gen.cpp' || echo './'`src/gen.cpp >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -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 >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o levels.o `test -f 'src/levels.cpp' || echo './'`src/levels.cpp >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o options.o `test -f 'src/options.cpp' || echo './'`src/options.cpp >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -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 >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -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 >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -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 >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -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 >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o vxsdl.o `test -f 'src/vxsdl.cpp' || echo './'`src/vxsdl.cpp >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o xye.o `test -f 'src/xye.cpp' || echo './'`src/xye.cpp >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -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 >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -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 >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o listbox.o `test -f 'src/listbox.cpp' || echo './'`src/listbox.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;In file included from pointer may In file included from besrc/options.cpp :assumedsrc/tinyxml/xye_tinyxmlerror.cpp: 17to25: > : >alwayssrc/tinyxml/xye_tinyxml.h: In file included from convert636: src/options.hto54: :true warning >1 : [-Wundefined-bool-conversion]'this': > >pointersrc/tinyxml/xye_tinyxml.h: cannot636 be:54 null: inwarning: > 'this' well-defined pointerC++ cannotcode; bepointer nullmay inbe > ...ToDocument() const { return ( this && type == DOCUMENT ... assumedwell-defined > ^~~~ ~~toC++ > alwayscode; convertpointer tomay truebe > assumed [-Wundefined-bool-conversion] >to always convert to true > [-Wundefined-bool-conversion] > ...ToDocument() const { return ( this && type == DOCUMENT ... > ^~~~ ~~ > ...ToDocument() const { return ( this && type == DOCUMENT ... > ^~~~ ~~ >src/tinyxml/xye_tinyxml.h:637:54: warning: 'this' pointer cannot be null in > well-defined C++ code; pointer may be assumed src/tinyxml/xye_tinyxml.hto always :convert637: to54: true warning > : 'this'[-Wundefined-bool-conversion] >src/tinyxml/xye_tinyxml.h pointer:637 cannot: be54: null warning in: 'this' > pointerwell-defined cannot C++ ...ToElement() const { return ( this && type == ELEMENT ...becode; >pointernull ^~~~ ~~ > inmay > bewell-defined assumedC++ tocode; alwayspointer convertmay to be true > assumed [-Wundefined-bool-conversion] >to always convert to true > [-Wundefined-bool-conversion] > ...ToElement() const { return ( this && type == ELEMENT ... > ^~~~ ~~ > ...ToElement() const { return ( this && type == ELEMENT ...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 truesrc/tinyxml/xye_tinyxml.h > [-Wundefined-bool-conversion] >:638:54: warning: 'this' pointer src/tinyxml/xye_tinyxml.hcannot be: null638: in54: > ...ToComment() const { return ( this && type == COMMENT ...warningwell-defined: > C++ ^~~~ ~~'this' > code; pointer pointer cannot may be be null assumed in to > alwayswell-defined convertC++ tocode; true pointer > [-Wundefined-bool-conversion] may > be assumed to always convert to true > [-Wundefined-bool-conversion] > ...ToComment() const { return ( this && type == COMMENT ... > ^~~~ ~~ >src/tinyxml/xye_tinyxml.h:639:54: warning ...ToComment() const { return ( this && type == COMMENT ...: 'this' > ^~~~ ~~ pointer > cannot be null in > well-defined C++ code; pointer may be assumed to always convert to true > [-Wundefined-bool-conversion] >src/tinyxml/xye_tinyxml.h:639:54: warning: 'this' pointer cannot be null in > ...ToUnknown() const { return ( this && type == UNKNOWN ... src/tinyxml/xye_tinyxml.hwell-defined > ^~~~ ~~ :C++ > 639:code; 54:pointer warningmay : 'this'be pointerassumed cannotto bealways null convert in to > truewell-defined > C++[-Wundefined-bool-conversion] > code; pointer may be assumed to always convert to true ...ToUnknown() const { return ( this && type == UNKNOWN ... > [-Wundefined-bool-conversion] > ^~~~ ~~ > >src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot ...ToUnknown() const { return ( this && type == UNKNOWN ...be > ^~~~ ~~ null > in > well-defined C++ code; pointer may be assumed to always convert to true > [-Wundefined-bool-conversion] >src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer ...ToText() const { return ( this && type == TEXT ) ? (co...cannot >be ^~~~ ~~ >null in > well-definedsrc/tinyxml/xye_tinyxml.h C++ code;:640 pointer: may52: be warning assumed: to'this' alwayspointer convertcannot tobe true null > in[-Wundefined-bool-conversion] > > well-defined C++ code; pointer may be assumed to always convert ...ToText() const { return ( this && type == TEXT ) ? (co...src/tinyxml/xye_tinyxml.hto > ^~~~ ~~true: > > 641:[-Wundefined-bool-conversion] >59: warning: 'this' pointer cannot be null in > well-defined C++ ...ToText() const { return ( this && type == TEXT ) ? (co...code; >pointer ^~~~ ~~ >may be assumed to always convert to true > [-Wundefined-bool-conversion] >src/tinyxml/xye_tinyxml.h:641:59: warning: 'this' pointer ...TiXmlDeclaration* ToDeclaration() const { return ( this && type == DEC... > ^~~~ ~~cannot >be null in > well-defined C++ code; pointersrc/tinyxml/xye_tinyxml.h may be: 641In file included from :assumed59 :tosrc/tinyxml/xye_tinyxmlparser.cpp warningalways: : 'this'convert25 pointerto: > cannottruesrc/tinyxml/xye_tinyxml.h > :636[-Wundefined-bool-conversion]be >:54 null: inwarning: >'this' well-definedpointer C++cannot code;be src/tinyxml/xye_tinyxml.hnullpointer ...TiXmlDeclaration* ToDeclaration() const { return ( this && type == DEC... : >may643in ^~~~ ~~be >: >43 :assumed well-defined warningtoC++ : 'this'code; always pointer convertpointer may tocannotbe beassumed truenullto >inalways > convert [-Wundefined-bool-conversion]well-defined >to C++true > code; [-Wundefined-bool-conversion] pointer > may be assumed to always convert to ...TiXmlDeclaration* ToDeclaration() const { return ( this && type == DEC... true > >src/tinyxml/xye_tinyxml.h ^~~~ ~~[-Wundefined-bool-conversion] >:643 >:43 ...ToDocument() const { return ( this && type == DOCUMENT ...: > ^~~~ ~~warning: >'this' pointer cannot be null in > well-defined TiXmlDocument* ToDocument() { return ( this && type ...C++ code; > ^~~~ ~~ pointer > may be assumed to always convert to true > [-Wundefined-bool-conversion] >src/tinyxml/xye_tinyxml.h:643: TiXmlDocument* ToDocument() { return ( this && type ...43: > warning ^~~~ ~~ >: src/tinyxml/xye_tinyxml.h'this' pointer: cannot637: 54:be warningnull : 'this'in >src/tinyxml/xye_tinyxml.h : 644pointerwell-defined cannot: C++42 be code;: null pointerwarningin >: 'this' maywell-defined pointerbeC++ code;cannotassumed pointer beto may always null be in >convertassumed src/tinyxml/xye_tinyxml.h towell-definedto : C++644true always:code; > 42 pointerconvert: [-Wundefined-bool-conversion]may >warningbeto : 'this'assumed truepointerto >cannotalways beconvert [-Wundefined-bool-conversion] >to null TiXmlDocument* ToDocument() { return ( this && type ... truein > > ^~~~ ~~ > >[-Wundefined-bool-conversion] > well-defined C++ code; pointer may be ...ToElement() const { return ( this && type == ELEMENT ... > ^~~~ ~~assumed >to always convert to true TiXmlElement* ToElement() { return ( this && type ... > > ^~~~ ~~ [-Wundefined-bool-conversion] > > TiXmlElement* ToElement() { return ( this && type ... > ^~~~ ~~ >src/tinyxml/xye_tinyxml.h:644:42: warning: 'this' pointer cannot besrc/tinyxml/xye_tinyxml.h null :638in >:54 : well-defined warning: C++ 'this' src/tinyxml/xye_tinyxml.hpointercode; :cannotpointer 645bemay :42 nullbe: assumedwarningin: 'this' >to src/tinyxml/xye_tinyxml.h well-definedpointeralways: C++ 645 cannot:convertcode; 42to be :pointertrue > null warningmay[-Wundefined-bool-conversion] : > in'this'be > pointerassumedwell-defined cannot C++ beto nullcode;always pointer convertin TiXmlElement* ToElement() { return ( this && type ... > may >well-definedto ^~~~ ~~ C++be > true code; assumed > pointer [-Wundefined-bool-conversion] tomay > alwaysbe convertassumed toto true always > convert[-Wundefined-bool-conversion] > to true > ...ToComment() const { return ( this && type == COMMENT ...[-Wundefined-bool-conversion] > ^~~~ ~~ > > TiXmlComment* ToComment() { return ( this && type ... > ^~~~ ~~ > TiXmlComment* ToComment() { return ( this && type ... > ^~~~ ~~ >src/tinyxml/xye_tinyxml.h:645:42: warning: 'this' pointer cannot be null in > well-defined C++ code; pointer src/tinyxml/xye_tinyxml.hmay be :639assumed :54to: alwayswarning: convert'this' tosrc/tinyxml/xye_tinyxml.hpointer true :cannot >src/tinyxml/xye_tinyxml.h 646[-Wundefined-bool-conversion]be: >:null646 42::in > 42warning well-defined: :'this' C++ pointer warningcode; : 'this'cannot TiXmlComment* ToComment() { return ( this && type ... pointerpointerbe > maycannot ^~~~ ~~ nullbe > beinassumed > to nullwell-defined always in >convert C++ towell-defined code;trueC++ >pointer code; may [-Wundefined-bool-conversion] >pointer maybe beassumed assumed to to always always convert convert to to true > true >[-Wundefined-bool-conversion] ...ToUnknown() const { return ( this && type == UNKNOWN ... > >[-Wundefined-bool-conversion] > ^~~~ ~~ >src/tinyxml/xye_tinyxml.h:646:42: warning: 'this' pointer TiXmlUnknown* ToUnknown() { return ( this && type ... cannot TiXmlUnknown* ToUnknown() { return ( this && type ... > ^~~~ ~~ >be > ^~~~ ~~ >null in > well-defined C++ code; pointer may be assumed to always convert to true > [-Wundefined-bool-conversion] >src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer TiXmlUnknown* ToUnknown() { return ( this && type ...cannot >be ^~~~ ~~ >nullsrc/tinyxml/xye_tinyxml.h in >src/tinyxml/xye_tinyxml.h :well-defined647:647 :C++:41 41code;: : warningpointer : warning'this'may : pointerbe 'this'cannotassumed betopointer null alwayscannot convertin > beto well-defined null C++true > code;in > pointer [-Wundefined-bool-conversion]well-defined may >C++ be code; assumed src/tinyxml/xye_tinyxml.hpointer tomay: always 647be convert :assumed to 41to true :always ...ToText() const { return ( this && type == TEXT ) ? (co... > warning >: convert[-Wundefined-bool-conversion]'this' ^~~~ ~~ >to > pointertrue > cannot [-Wundefined-bool-conversion] >be null in > well-defined C++ TiXmlText* ToText() { return ( this && type ...code; pointer > ^~~~ ~~ may > be TiXmlText* ToText() { return ( this && type ...assumed > ^~~~ ~~ to > always convert to true > [-Wundefined-bool-conversion] >src/tinyxml/xye_tinyxml.h: TiXmlText* ToText() { return ( this && type ...641: >59: ^~~~ ~~ > warning: 'this' pointer cannot be null insrc/tinyxml/xye_tinyxml.h > well-defined :C++648: code;47: src/tinyxml/xye_tinyxml.hpointer warningmay: : 'this'be648 :pointerassumed 47 :tocannot warningbe always: null'this'convert in topointer > true cannotwell-defined > be[-Wundefined-bool-conversion] > C++nullsrc/tinyxml/xye_tinyxml.h code;in :648pointer > :47 maywell-defined: bewarning: C++ 'this' code;assumed pointer pointer ...TiXmlDeclaration* ToDeclaration() const { return ( this && type == DEC...tocannot >always may be ^~~~ ~~convert > tobe nulltrue assumed >in to > [-Wundefined-bool-conversion] >well-defined always C++ convert code; to pointer true >may [-Wundefined-bool-conversion]be >assumed to always TiXmlDeclaration* ToDeclaration() { return ( this && type ... > ^~~~ ~~convert >to true > [-Wundefined-bool-conversion] > TiXmlDeclaration* ToDeclaration() { return ( this && type ... > ^~~~ ~~ >src/tinyxml/xye_tinyxml.h TiXmlDeclaration* ToDeclaration() { return ( this && type ... > ^~~~ ~~: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] > TiXmlDocument* ToDocument() { return ( this && 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] > TiXmlElement* ToElement() { return ( this && 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] > TiXmlComment* ToComment() { return ( this && 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] > TiXmlUnknown* ToUnknown() { return ( this && 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] > TiXmlText* ToText() { return ( this && 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] > TiXmlDeclaration* ToDeclaration() { return ( this && type ... > ^~~~ ~~ >12 warnings generated. >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o record.o `test -f 'src/record.cpp' || echo './'`src/record.cpp >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o xyedit.o `test -f 'src/xyedit.cpp' || echo './'`src/xyedit.cpp >src/browser.cpp:106:15: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > while (ent=readdir(D)) > ~~~^~~~~~~~~~~ >src/browser.cpp:106:15: note: place parentheses around the assignment to silence > this warning > while (ent=readdir(D)) > ^ > ( ) >src/browser.cpp:106:15: note: use '==' to turn this assignment into an equality > comparison > while (ent=readdir(D)) > ^ > == >src/browser.cpp:132:15: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > while (ent=readdir(D)) > ~~~^~~~~~~~~~~ >src/browser.cpp:132:15: note: place parentheses around the assignment to silence > this warning > while (ent=readdir(D)) > ^ > ( ) >src/browser.cpp:132:15: note: use '==' to turn this assignment into an equality > comparison > while (ent=readdir(D)) > ^ > == >src/browser.cpp:157:15: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > while (ent=readdir(D)) > ~~~^~~~~~~~~~~ >src/browser.cpp:157:15: note: place parentheses around the assignment to silence > this warning > while (ent=readdir(D)) > ^ > ( ) >src/browser.cpp:157:15: note: use '==' to turn this assignment into an equality > comparison > while (ent=readdir(D)) > ^ > == >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] > ...ToDocument() const { return ( this && type == DOCUMENT ... > ^~~~ ~~ >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] > ...ToElement() const { return ( this && type == ELEMENT ... > ^~~~ ~~ >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] > ...ToComment() const { return ( this && type == COMMENT ... > ^~~~ ~~ >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] > ...ToUnknown() const { return ( this && type == UNKNOWN ... > ^~~~ ~~ >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] > ...ToText() const { return ( this && type == TEXT ) ? (co... > ^~~~ ~~ >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] > ...TiXmlDeclaration* ToDeclaration() const { return ( this && type == DEC... > ^~~~ ~~ >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] > TiXmlDocument* ToDocument() { return ( this && 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] > TiXmlElement* ToElement() { return ( this && 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] > TiXmlComment* ToComment() { return ( this && 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] > TiXmlUnknown* ToUnknown() { return ( this && 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] > TiXmlText* ToText() { return ( this && 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] > TiXmlDeclaration* ToDeclaration() { return ( this && type ... > ^~~~ ~~ >src/xye_script.cpp:303:22: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > else if (pack=fil.FirstChildElement("xyereplay")) > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/xye_script.cpp:303:22: note: place parentheses around the assignment to > silence this warning > else if (pack=fil.FirstChildElement("xyereplay")) > ^ > ( ) >src/xye_script.cpp:303:22: note: use '==' to turn this assignment into an > equality comparison > else if (pack=fil.FirstChildElement("xyereplay")) > ^ > == >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] >In file included from src/levels.cpp:20: >In file included from src/xye_script.h:13: >src/tinyxml/xye_tinyxml.h:636:54 ...ToDocument() const { return ( this && type == DOCUMENT ...: warning: >'this' pointer cannot ^~~~ ~~ be null >in > well-defined C++ code; pointer may be assumed to always convert to true > [-Wundefined-bool-conversion] > ...ToDocument() const { return ( this && type == DOCUMENT ... > ^~~~ ~~ >src/tinyxml/xye_tinyxml.h:637:54: warning: 'this' pointer cannot be null in > well-defined C++ code; pointer may be src/tinyxml/xye_tinyxml.h:637:54assumed: warning: 'this' pointer cannotto be null in > well-defined alwaysC++ code; pointerconvert may be toassumed to alwaystrue convert to > true > [-Wundefined-bool-conversion][-Wundefined-bool-conversion] > > ...ToElement() const { return ( this && type == ELEMENT ... ...ToElement() const { return ( this && type == ELEMENT ... > > ^~~~ ~~ > ^~~~ ~~ >src/tinyxml/xye_tinyxml.h:638:54: warning: 'this' pointer cannot be null in > well-definedsrc/tinyxml/xye_tinyxml.h C++ code; :pointer may 638be: assumed to54 always convert: to true >warning [-Wundefined-bool-conversion] >: 'this' pointer cannot be null in > well-defined C++ code; pointer ...ToComment() const { return ( this && type == COMMENT ...may > ^~~~ ~~ >be assumed to always convert to true > [-Wundefined-bool-conversion] > ...ToComment() const { return ( this && type == COMMENT ... > ^~~~ ~~ >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] > ...ToUnknown() const { return ( this && type == UNKNOWN ... > ^~~~ ~~ >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] >src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot ...ToUnknown() const { return ( this && type == UNKNOWN ... be null > in > well-defined ^~~~ ~~ C++ code; > pointer may be assumed to always convert to true > [-Wundefined-bool-conversion] > ...ToText() const { return ( this && type == TEXT ) ? (co... > ^~~~ ~~ >src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot be null insrc/tinyxml/xye_tinyxml.h:641: >59: warning: 'this' pointer cannotwell-defined beC++ null in >code; well-defined C++ pointercode; pointer maymay be assumed beto always convertassumed to true >to [-Wundefined-bool-conversion]always > convert to true > [-Wundefined-bool-conversion] > ...TiXmlDeclaration* ToDeclaration() const { return ( this && type == DEC... > ^~~~ ~~ > ...ToText() const { return ( this && type == TEXT ) ? (co... > ^~~~ ~~ >src/tinyxml/xye_tinyxml.h:643:43: warning: 'this' pointer cannot be null in >src/tinyxml/xye_tinyxml.h :well-defined641 C++: code; pointer59 :may be assumedwarning : to 'this'always convert pointerto true > [-Wundefined-bool-conversion] >cannot be null in > well-defined C++ code; pointer may TiXmlDocument* ToDocument() { return ( this && type ... > ^~~~ ~~ >be assumed to always convert to true > [-Wundefined-bool-conversion] > ...TiXmlDeclaration* ToDeclaration() const { return ( this && type == DEC... > ^~~~ ~~ >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] >src/tinyxml/xye_tinyxml.h:643:43: TiXmlElement* ToElement() { return ( this && type ... >warning ^~~~ ~~ >: 'this' pointer cannot be null in > well-defined C++ code; pointer may be assumed to always convert to true > [-Wundefined-bool-conversion] > TiXmlDocument* ToDocument() { return ( this && 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] > TiXmlComment* ToComment() { return ( this && 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] >src/tinyxml/xye_tinyxml.h:646:42: warning: 'this' pointer cannot be null TiXmlElement* ToElement() { return ( this && type ...in > > ^~~~ ~~well-defined C++ >code; pointer may be assumed to always convert to true > [-Wundefined-bool-conversion] > TiXmlUnknown* ToUnknown() { return ( this && type ... > ^~~~ ~~ >src/tinyxml/xye_tinyxml.h:645:42: warning: 'this' pointer cannot be null in > well-defined C++ code; pointer may be assumed tosrc/tinyxml/xye_tinyxml.h:647: 41: warningalways: 'this' pointer cannot be convertnull in > well-definedto C++ code; pointer may truebe assumed to > always convert to true >[-Wundefined-bool-conversion] >[-Wundefined-bool-conversion] > TiXmlText* ToText() { return ( this && type ... TiXmlComment* ToComment() { return ( this && type ... > > ^~~~ ~~ > ^~~~ ~~ >src/tinyxml/xye_tinyxml.h:648:47: warning: 'this' pointer cannot be null in > well-defined C++ code; pointer may be assumed to alwayssrc/tinyxml/xye_tinyxml.h: 646convert: to true >42 [-Wundefined-bool-conversion] >: warning: 'this' pointer cannot be null in > well-defined C++ TiXmlDeclaration* ToDeclaration() { return ( this && type ... >code; ^~~~ ~~ > pointer may be assumed to always convert to true > [-Wundefined-bool-conversion] >src/xye_script.cpp:405:25: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > TiXmlUnknown* ToUnknown() { return ( this && type ... if (pack=pack->FirstChildElement("moves")) > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ^~~~ ~~ >src/xye_script.cpp:405:25: note: place parentheses around the assignment to > silence this warning > if (pack=pack->FirstChildElement("moves"))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] > ^ > ( ) >src/xye_script.cpp:405:25: note: use '==' to turn this assignment into an > TiXmlText* ToText() { return ( this && type ... equality comparison > if (pack=pack->FirstChildElement("moves")) > ^ > == > > ^~~~ ~~ >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] > TiXmlDeclaration* ToDeclaration() { return ( this && type ... > ^~~~ ~~ >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] > ...ToDocument() const { return ( this && type == DOCUMENT ... > ^~~~ ~~ >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] > ...ToElement() const { return ( this && type == ELEMENT ... > ^~~~ ~~ >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] > ...ToComment() const { return ( this && type == COMMENT ... > ^~~~ ~~ >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] > ...ToUnknown() const { return ( this && type == UNKNOWN ... > ^~~~ ~~ >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] > ...ToText() const { return ( this && type == TEXT ) ? (co... > ^~~~ ~~ >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] > ...TiXmlDeclaration* ToDeclaration() const { return ( this && type == DEC... > ^~~~ ~~ >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] > TiXmlDocument* ToDocument() { return ( this && 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] > TiXmlElement* ToElement() { return ( this && 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] > TiXmlComment* ToComment() { return ( this && 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] > TiXmlUnknown* ToUnknown() { return ( this && 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] > TiXmlText* ToText() { return ( this && 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] > TiXmlDeclaration* ToDeclaration() { return ( this && type ... > ^~~~ ~~ >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o editorsave.o `test -f 'src/editorsave.cpp' || echo './'`src/editorsave.cpp >3 warnings generated. >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o editorload.o `test -f 'src/editorload.cpp' || echo './'`src/editorload.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] > ...ToDocument() const { return ( this && type == DOCUMENT ... > ^~~~ ~~ >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] > ...ToElement() const { return ( this && type == ELEMENT ... > ^~~~ ~~ >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] > ...ToComment() const { return ( this && type == COMMENT ... > ^~~~ ~~ >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] > ...ToUnknown() const { return ( this && type == UNKNOWN ... > ^~~~ ~~ >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] > ...ToText() const { return ( this && type == TEXT ) ? (co... > ^~~~ ~~ >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] > ...TiXmlDeclaration* ToDeclaration() const { return ( this && type == DEC... > ^~~~ ~~ >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] > TiXmlDocument* ToDocument() { return ( this && 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] > TiXmlElement* ToElement() { return ( this && 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] > TiXmlComment* ToComment() { return ( this && 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] > TiXmlUnknown* ToUnknown() { return ( this && 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] > TiXmlText* ToText() { return ( this && 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] > TiXmlDeclaration* ToDeclaration() { return ( this && type ... > ^~~~ ~~ >src/listbox.cpp:339:21: warning: 229 enumeration values not handled in switch: > 'SDLK_UNKNOWN', 'SDLK_BACKSPACE', 'SDLK_TAB'... [-Wswitch] > switch (keysim) > ^ >src/kye_script.cpp:236:19: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (tm=tm->Next) > ~~^~~~~~~~~ >src/kye_script.cpp:236:19: note: place parentheses around the assignment to > silence this warning > if (tm=tm->Next) > ^ > ( ) >src/kye_script.cpp:236:19: note: use '==' to turn this assignment into an > equality comparison > if (tm=tm->Next) > ^ > == >12 warnings generated. >src/xye_script.cpp:1517:16: warning: 4 enumeration values not handled in switch: > 'OT_XYE', 'OT_FIREBALL', 'OT_EXIT'... [-Wswitch] > switch(GetOTFromXmlElement(pEChild,&x)) > ^ >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] > ...ToDocument() const { return ( this && type == DOCUMENT ... > ^~~~ ~~ >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] > ...ToElement() const { return ( this && type == ELEMENT ... > ^~~~ ~~ >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] > ...ToComment() const { return ( this && type == COMMENT ... > ^~~~ ~~ >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] > ...ToUnknown() const { return ( this && type == UNKNOWN ... > ^~~~ ~~ >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] > ...ToText() const { return ( this && type == TEXT ) ? (co... > ^~~~ ~~ >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] > ...TiXmlDeclaration* ToDeclaration() const { return ( this && type == DEC... > ^~~~ ~~ >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] > TiXmlDocument* ToDocument() { return ( this && 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] > TiXmlElement* ToElement() { return ( this && 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] > TiXmlComment* ToComment() { return ( this && 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] > TiXmlUnknown* ToUnknown() { return ( this && 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] > TiXmlText* ToText() { return ( this && 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] > TiXmlDeclaration* ToDeclaration() { return ( this && type ... > ^~~~ ~~ >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o dialogs.o `test -f 'src/dialogs.cpp' || echo './'`src/dialogs.cpp >src/xye_script.cpp:1917:16: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (pEChild= ( level->FirstChildElement("kyeformat"))) > ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/xye_script.cpp:1917:16: note: place parentheses around the assignment to > silence this warning > if (pEChild= ( level->FirstChildElement("kyeformat"))) > ^ > ( ) >src/xye_script.cpp:1917:16: note: use '==' to turn this assignment into an > equality comparison > if (pEChild= ( level->FirstChildElement("kyeformat"))) > ^ > == >src/record.cpp:107:14: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > while (tm=first) > ~~^~~~~~ >src/record.cpp:107:14: note: place parentheses around the assignment to silence > this warning > while (tm=first) > ^ > ( ) >src/record.cpp:107:14: note: use '==' to turn this assignment into an equality > comparison > while (tm=first) > ^ > == >src/record.cpp:186:15: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > while ( tm= (!tm)?first:tm->next) { > ~~^~~~~~~~~~~~~~~~~~~~~~ >src/record.cpp:186:15: note: place parentheses around the assignment to silence > this warning > while ( tm= (!tm)?first:tm->next) { > ^ > ( ) >src/record.cpp:186:15: note: use '==' to turn this assignment into an equality > comparison > while ( tm= (!tm)?first:tm->next) { > ^ > == >src/levels.cpp:210:13: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > 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 > 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 > 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] > while (N=F.NextSubFolder()) > ~^~~~~~~~~~~~~~~~~~ >src/levels.cpp:212:13: note: place parentheses around the assignment to silence > this warning > while (N=F.NextSubFolder()) > ^ > ( ) >src/levels.cpp:212:13: note: use '==' to turn this assignment into an equality > comparison > while (N=F.NextSubFolder()) > ^ > == >src/xsb_level.cpp:546:19: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (tm=tm->Next) > ~~^~~~~~~~~ >src/xsb_level.cpp:546:19: note: place parentheses around the assignment to > silence this warning > if (tm=tm->Next) > ^ > ( ) >src/xsb_level.cpp:546:19: note: use '==' to turn this assignment into an > equality comparison > if (tm=tm->Next) > ^ > == >src/xsb_level.cpp:637:15: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > 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 > 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 > if (object=game::Square(x,y)->object ) return (object->GetType()==OT_WALL); > ^ > == >src/levels.cpp:522:13: warning: 225 enumeration values not handled in switch: > 'SDLK_UNKNOWN', 'SDLK_BACKSPACE', 'SDLK_TAB'... [-Wswitch] > switch (keysim) > ^ >src/xsb_level.cpp:648:15: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (object=sq->object) > ~~~~~~^~~~~~~~~~~ >src/xsb_level.cpp:648:15: note: place parentheses around the assignment to > silence this warning > if (object=sq->object) > ^ > ( ) >src/xsb_level.cpp:648:15: note: use '==' to turn this assignment into an > equality comparison > if (object=sq->object) > ^ > == >src/xsb_level.cpp:681:15: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (object=sq->object) > ~~~~~~^~~~~~~~~~~ >src/xsb_level.cpp:681:15: note: place parentheses around the assignment to > silence this warning > if (object=sq->object) > ^ > ( ) >src/xsb_level.cpp:681:15: note: use '==' to turn this assignment into an > equality comparison > if (object=sq->object) > ^ > == >src/xsb_level.cpp:815:15: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (object=sq->object) > ~~~~~~^~~~~~~~~~~ >src/xsb_level.cpp:815:15: note: place parentheses around the assignment to > silence this warning > if (object=sq->object) > ^ > ( ) >src/xsb_level.cpp:815:15: note: use '==' to turn this assignment into an > equality comparison > if (object=sq->object) > ^ > == >src/xye.cpp:784:25: warning: 211 enumeration values not handled in switch: > 'SDLK_UNKNOWN', 'SDLK_BACKSPACE', 'SDLK_TAB'... [-Wswitch] > switch (keysim) > ^ >src/xye.cpp:846:25: warning: 222 enumeration values not handled in switch: > 'SDLK_UNKNOWN', 'SDLK_TAB', 'SDLK_CLEAR'... [-Wswitch] > switch (keysim) > ^ >src/xye.cpp:1170:13: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (undo=undotime) { > ~~~~^~~~~~~~~ >src/xye.cpp:1170:13: note: place parentheses around the assignment to silence > this warning > if (undo=undotime) { > ^ > ( ) >src/xye.cpp:1170:13: note: use '==' to turn this assignment into an equality > comparison > if (undo=undotime) { > ^ > == >src/xye.cpp:1256:16: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (gobject=sq->gobject) gobject->Loop(); > ~~~~~~~^~~~~~~~~~~~ >src/xye.cpp:1256:16: note: place parentheses around the assignment to silence > this warning > if (gobject=sq->gobject) gobject->Loop(); > ^ > ( ) >src/xye.cpp:1256:16: note: use '==' to turn this assignment into an equality > comparison > if (gobject=sq->gobject) gobject->Loop(); > ^ > == >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o window.o `test -f 'src/window.cpp' || echo './'`src/window.cpp >src/xye.cpp:1656:37: warning: 41 enumeration values not handled in switch: > 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] > 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] > if (shadow) switch(object->GetType()) > ^ >12 warnings generated. >src/xye.cpp:1791:17: warning: 40 enumeration values not handled in switch: > 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] > switch (object->GetType()) > ^ >x86_64-pc-linux-gnu-clang++ -DDATA_PATH=\"/usr/share/xye/\" -I. -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o skins.o `test -f 'src/skins.cpp' || echo './'`src/skins.cpp >src/xye.cpp:1844:12: warning: enumeration values 'D_UP' and 'D_DOWN' not handled > in switch [-Wswitch] > 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] > 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] > delete (sq->object); > ^ >src/xye.cpp:2189:12: warning: 37 enumeration values not handled in switch: > 'OT_XYE', 'OT_ROBOXYE', 'OT_BLOCK'... [-Wswitch] > switch(o->GetType()) > ^ >src/xye.cpp:2432:21: warning: 40 enumeration values not handled in switch: > 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] > switch (inobj->GetType()) > ^ >src/xye.cpp:2794:33: warning: 40 enumeration values not handled in switch: > 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] > else switch(ot) > ^ >src/options.cpp:470:11: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (tm=ele->Attribute("sprites")) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/options.cpp:470:11: note: place parentheses around the assignment to silence > this warning > if (tm=ele->Attribute("sprites")) { > ^ > ( ) >src/options.cpp:470:11: note: use '==' to turn this assignment into an equality > comparison > if (tm=ele->Attribute("sprites")) { > ^ > == >In file included from src/xyedit.cpp:26: >In file included from src/xye_script.h:13: >src/tinyxml/xye_tinyxml.h:636:54:src/options.cpp :warning478: :'this'11 :pointer warningcannot: usingbe thenull resultin >of well-definedan C++assignment code;as pointera >may conditionbe withoutassumed parenthesesto [-Wparentheses]always > convert to true > if (tm=ele->Attribute("icon")) { >[-Wundefined-bool-conversion] ~~^~~~~~~~~~~~~~~~~~~~~~~ > >src/options.cpp:478:11: note: place parentheses ...ToDocument() const { return ( this && type == DOCUMENT ...around > ^~~~ ~~the > assignment to silence > this warning > if (tm=ele->Attribute("icon")) { > ^ > ( ) >src/options.cpp:478:11: note: use '==' to turn this assignment into an equality > comparison > if (tm=ele->Attribute("icon")) { > ^ > == >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] > ...ToElement() const { return ( this && type == ELEMENT ... > ^~~~ ~~ >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] > ...ToComment() const { return ( this && type == COMMENT ... > ^~~~ ~~ >src/xye.cpp:2952:12: warning: 31 enumeration values not handled in switch: >src/tinyxml/xye_tinyxml.h 'OT_BLOCK', 'OT_TRICKDOOR', :639'OT_HINT'...: [-Wswitch] >54: warning switch(type): > ^'this' > pointer cannot be null in > well-defined C++ code; pointer may be assumed to always convert to true > [-Wundefined-bool-conversion] > ...ToUnknown() const { return ( this && type == UNKNOWN ... > ^~~~ ~~ >src/options.cpp:489:11: warning: using the src/tinyxml/xye_tinyxml.hresult of :640an: assignment52 : as warning: a >'this' pointer condition cannotwithout be parentheses null[-Wparentheses] in > > well-defined C++ if (tm=ele->Attribute("luminosity")) { >code; ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~pointer > may be assumed to always convert to true > [-Wundefined-bool-conversion] >src/options.cpp:489:11: note: place parentheses ...ToText() const { return ( this && type == TEXT ) ? (co... >around ^~~~ ~~ the > assignment to silence > this warning > if (tm=ele->Attribute("luminosity")) { > ^ > ( ) >src/options.cpp:489:11: note: use '==' to turn this assignment into an equality > comparison >src/tinyxml/xye_tinyxml.h if (tm=ele->Attribute("luminosity")) {: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] > ...TiXmlDeclaration* ToDeclaration() const { return ( this && type == DEC... > ^~~~ ~~ >src/tinyxml/xye_tinyxml.h:643:43: warning: 'this' pointer src/options.cppcannot be null:496 :in >11: warningwell-defined : C++using thecode; pointerresult ofmay bean assignmentassumed asto alwaysa > convert condition to without parenthesestrue > [-Wparentheses] >[-Wundefined-bool-conversion] > if (tm=ele->Attribute("xyedirections")) > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > TiXmlDocument* ToDocument() { return ( this && type ...src/options.cpp:496 >src/xye.cpp ^~~~ ~~: >11: :note3002:: 5place :parentheses warning : around deletethe called assignment onto 'gobj' silence >that isthis warningabstract >but has > non-virtual if (tm=ele->Attribute("xyedirections")) > destructor ^ > ( ) >[-Wdelete-abstract-non-virtual-dtor] > delete this; > ^ >src/options.cpp:496:11src/tinyxml/xye_tinyxml.h:: 644note: use :'=='42: to warningturn: 'this' this pointerassignment cannot into bean null equality >in > comparisonwell-defined > C++ code; if (tm=ele->Attribute("xyedirections"))pointer > ^ >may ==be > assumed to always convert to true > [-Wundefined-bool-conversion] > TiXmlElement* ToElement() { return ( this && type ... > ^~~~ ~~ >src/options.cpp:500:11: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (tm=ele->Attribute("fontfile")) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/options.cpp:500:11: notesrc/tinyxml/xye_tinyxml.h: place parentheses:645 :around42 the: warningassignment: to'this' pointersilence > cannot bethis warningnull > in > well-defined C++ code; if (tm=ele->Attribute("fontfile")) { >pointer ^ >may ( ) >be assumed to always convert to src/options.cpp:true500 > :11:[-Wundefined-bool-conversion] > note: use '==' to turn this assignment into an equality TiXmlComment* ToComment() { return ( this && type ... > > ^~~~ ~~comparison > > if (tm=ele->Attribute("fontfile")) { > ^ > == >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] > TiXmlUnknown* ToUnknown() { return ( this && type ... > ^~~~ ~~ >src/options.cpp:508:11: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] >src/tinyxml/xye_tinyxml.h if (tm=ele->Attribute("boldfontfile")) {:647 > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~:41 >: warning: 'this' pointer cannot besrc/options.cpp null :508in: >11 well-defined: noteC++: code;place parenthesespointer mayaround bethe assumed assignmentto toalways silence convert > thisto truewarning > > [-Wundefined-bool-conversion] > if (tm=ele->Attribute("boldfontfile")) { > ^ > ( ) > TiXmlText* ToText() { return ( this && type ... >src/options.cpp: ^~~~ ~~ >508:11: note: use '==' to turn this assignment into an equality > comparison > if (tm=ele->Attribute("boldfontfile")) { > ^ > == >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] > TiXmlDeclaration* ToDeclaration() { return ( this && type ... > ^~~~ ~~ >src/options.cpp:517:11: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (tm=ele->Attribute("truetypesize")) { > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/options.cpp:517:11: note: place parentheses around the assignment to silence > this warning > if (tm=ele->Attribute("truetypesize")) { > ^ > ( ) >src/options.cpp:517:11: note: use '==' to turn this assignment into an equality > comparison > if (tm=ele->Attribute("truetypesize")) { > ^ > == >src/options.cpp:520:11: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (tm=ele->Attribute("size")) { > ~~^~~~~~~~~~~~~~~~~~~~~~~ >src/options.cpp:520:11: note: place parentheses around the assignment to silence > this warning > if (tm=ele->Attribute("size")) { > ^ > ( ) >src/options.cpp:520:11: note: use '==' to turn this assignment into an equality > comparison > if (tm=ele->Attribute("size")) { > ^ > == >src/options.cpp:583:16: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (options=GetOptionsElement(r)) > ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ >src/options.cpp:583:16: note: place parentheses around the assignment to silence > this warning > if (options=GetOptionsElement(r)) > ^ > ( ) >src/options.cpp:583:16: note: use '==' to turn this assignment into an equality > comparison > if (options=GetOptionsElement(r)) > ^ > == >src/options.cpp:603:17: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (options = GetOptionsElement(r) ) { > ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ >src/options.cpp:603:17: note: place parentheses around the assignment to silence > this warning > if (options = GetOptionsElement(r) ) { > ^ > ( ) >src/options.cpp:603:17: note: use '==' to turn this assignment into an equality > comparison > if (options = GetOptionsElement(r) ) { > ^ > == >src/xye.cpp:3205:25: warning: 40 enumeration values not handled in switch: > 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] > switch (object->GetType()) > ^ >src/options.cpp:741:11: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (tm=ele->Attribute("red")) r=atoi(tm); > ~~^~~~~~~~~~~~~~~~~~~~~~ >src/options.cpp:741:11: note: place parentheses around the assignment to silence > this warning > if (tm=ele->Attribute("red")) r=atoi(tm); > ^ > ( ) >src/options.cpp:741:11: note: use '==' to turn this assignment into an equality > comparison > 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] > if (tm=ele->Attribute("green")) g=atoi(tm); > ~~^~~~~~~~~~~~~~~~~~~~~~~~ >src/options.cpp:742:11: note: place parentheses around the assignment to silence > this warning > if (tm=ele->Attribute("green")) g=atoi(tm); > ^ > ( ) >src/options.cpp:742:11: note: use '==' to turn this assignment into an equality > comparison > 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] > if (tm=ele->Attribute("blue")) b=atoi(tm); > ~~^~~~~~~~~~~~~~~~~~~~~~~ >src/options.cpp:743:11: note: place parentheses around the assignment to silence > this warning > if (tm=ele->Attribute("blue")) b=atoi(tm); > ^ > ( ) >src/options.cpp:743:11: note: use '==' to turn this assignment into an equality > comparison > 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] > if (tm=ele->Attribute("undo")) > ~~^~~~~~~~~~~~~~~~~~~~~~~ >src/options.cpp:745:11: note: place parentheses around the assignment to silence > this warning > if (tm=ele->Attribute("undo")) > ^ > ( ) >src/options.cpp:745:11: note: use '==' to turn this assignment into an equality > comparison > if (tm=ele->Attribute("undo")) > ^ > == >src/options.cpp:754:11: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (tm=ele->Attribute("pickedtheme")) > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/options.cpp:754:11: note: place parentheses around the assignment to silence > this warning > if (tm=ele->Attribute("pickedtheme")) > ^ > ( ) >src/options.cpp:754:11: note: use '==' to turn this assignment into an equality > comparison > if (tm=ele->Attribute("pickedtheme")) > ^ > == >src/options.cpp:761:11: warning: using the result of an assignment as a > condition without parentheses [-Wparentheses] > if (tm=ele->Attribute("disablelevelcolors")) > ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/options.cpp:761:11: note: place parentheses around the assignment to silence > this warning > if (tm=ele->Attribute("disablelevelcolors")) > ^ > ( ) >src/options.cpp:761:11: note: use '==' to turn this assignment into an equality > comparison > if (tm=ele->Attribute("disablelevelcolors")) > ^ > == >src/xye.cpp:3583:12: warning: enumeration value 'RC_9' not handled in switch > [-Wswitch] > switch(rnc) > ^ >src/xye.cpp:3701:12: warning: enumeration value 'D_RIGHT' not handled in switch > [-Wswitch] > switch(dir) > ^ >src/xyedit.cpp:790:12: warning: 230 enumeration values not handled in switch: > 'SDLK_UNKNOWN', 'SDLK_BACKSPACE', 'SDLK_TAB'... [-Wswitch] > switch(keysim) > ^ >src/xyedit.cpp:804:12: warning: 221 enumeration values not handled in switch: > 'SDLK_UNKNOWN', 'SDLK_TAB', 'SDLK_CLEAR'... [-Wswitch] > switch(keysim) > ^ >src/xye.cpp:4359:12: warning: 42 enumeration values not handled in switch: > 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] > switch(object->GetType()) > ^ >2 warnings generated. >src/xyedit.cpp:1429:20: warning: 4 enumeration values not handled in switch: > 'EDCO_PURPLE', 'EDCO_WHITE', 'EDCO_METAL'... [-Wswitch] > switch(color) > ^ >src/xyedit.cpp:1521:20: warning: 4 enumeration values not handled in switch: > 'EDCO_PURPLE', 'EDCO_WHITE', 'EDCO_METAL'... [-Wswitch] > switch(color) > ^ >12 warnings generated. >src/xyedit.cpp:1621:12: warning: 6 enumeration values not handled in switch: > 'EDOT_BOT', 'EDOT_FIREPAD', 'EDOT_FOOD'... [-Wswitch] > switch(ot) > ^ >src/xye.cpp:4901:17: warning: 40 enumeration values not handled in switch: > 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] > switch (object->GetType()) > ^ >src/xyedit.cpp:2370:12: warning: 27 enumeration values not handled in switch: > 'EDOT_WALL', 'EDOT_GEM', 'EDOT_BLOCK'... [-Wswitch] > switch(editor::buttons->SelectedObjectType) > ^ >src/xye.cpp:5021:12: warning: enumeration values 'B_RED' and 'B_PURPLE' not > handled in switch [-Wswitch] > switch(c) > ^ >src/xye.cpp:5033:12: warning: enumeration values 'B_RED' and 'B_PURPLE' not > handled in switch [-Wswitch] > switch(c) > ^ >src/xye.cpp:5059:12: warning: 42 enumeration values not handled in switch: > 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] > switch(object->GetType()) > ^ >src/xye.cpp:5192:12: warning: 38 enumeration values not handled in switch: > 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] > switch(res) > ^ >src/xye.cpp:5209:12: warning: 41 enumeration values not handled in switch: > 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] > switch(res) > ^ >src/xyedit.cpp:2884:74: warning: equality comparison with extraneous parentheses > [-Wparentheses-equality] > ...> 1) &&*/ ( editor::buttons->SelectedObjectType == EDOT_LARGEBLOCK) ) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ >src/xyedit.cpp:2884:74: note: remove extraneous parentheses around the > comparison to silence this warning > ...> 1) &&*/ ( editor::buttons->SelectedObjectType == EDOT_LARGEBLOCK) ) > ~~ ^ ~ >src/xyedit.cpp:2884:74: note: use '=' to turn this equality comparison into an > assignment > ...editor::tic4 > 1) &&*/ ( editor::buttons->SelectedObjectType == EDOT_LAR... > ^~ > = >In file included from src/editorload.cpp:3: >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] > ...ToDocument() const { return ( this && type == DOCUMENT ... > ^~~~ ~~ >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] > ...ToElement() const { return ( this && type == ELEMENT ... > ^~~~ ~~ >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] > ...ToComment() const { return ( this && type == COMMENT ... > ^~~~ ~~ >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] > ...ToUnknown() const { return ( this && type == UNKNOWN ... > ^~~~ ~~ >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] > ...ToText() const { return ( this && type == TEXT ) ? (co... > ^~~~ ~~ >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] > ...TiXmlDeclaration* ToDeclaration() const { return ( this && type == DEC... > ^~~~ ~~ >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] > TiXmlDocument* ToDocument() { return ( this && 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] > TiXmlElement* ToElement() { return ( this && 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] > TiXmlComment* ToComment() { return ( this && 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] > TiXmlUnknown* ToUnknown() { return ( this && 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] > TiXmlText* ToText() { return ( this && 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] > TiXmlDeclaration* ToDeclaration() { return ( this && type ... > ^~~~ ~~ >src/xyedit.cpp:3328:12: warning: enumeration value 'EDOT_NONE' not handled in > switch [-Wswitch] > switch(ot) > ^ >src/xye.cpp:5568:12: warning: enumeration values 'B_RED' and 'B_PURPLE' not > handled in switch [-Wswitch] > switch(c) > ^ >src/xye.cpp:5693:16: warning: enumeration value 'B_RED' not handled in switch > [-Wswitch] > switch(c) > ^ >src/xye.cpp:5786:16: warning: enumeration value 'B_RED' not handled in switch > [-Wswitch] > switch(c) > ^ >1 warning generated. >src/xye.cpp:6342:14: warning: add explicit braces to avoid dangling else > [-Wdangling-else] > else > ^ >src/dialogs.cpp:47:12: warning: 231 enumeration values not handled in switch: > 'SDLK_UNKNOWN', 'SDLK_BACKSPACE', 'SDLK_TAB'... [-Wswitch] > switch(keysym) > ^ >src/dialogs.cpp:66:12: warning: 231 enumeration values not handled in switch: > 'SDLK_UNKNOWN', 'SDLK_BACKSPACE', 'SDLK_TAB'... [-Wswitch] > switch(keysym) > ^ >src/dialogs.cpp:281:12: warning: 230 enumeration values not handled in switch: > 'SDLK_UNKNOWN', 'SDLK_TAB', 'SDLK_CLEAR'... [-Wswitch] > switch(keysym) > ^ >src/xye.cpp:7358:12: warning: 42 enumeration values not handled in switch: > 'OT_ROBOXYE', 'OT_WALL', 'OT_BLOCK'... [-Wswitch] > switch(object->GetType()) > ^ >src/xye.cpp:7697:20: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (gobject=game::Square(x,y)->gobject) > ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/xye.cpp:7697:20: note: place parentheses around the assignment to silence > this warning > if (gobject=game::Square(x,y)->gobject) > ^ > ( ) >src/xye.cpp:7697:20: note: use '==' to turn this assignment into an equality > comparison > 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] > switch (pusher->GetType()) > ^ >src/xye.cpp:7760:20: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (gobject=game::Square(x,y)->gobject) > ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/xye.cpp:7760:20: note: place parentheses around the assignment to silence > this warning > if (gobject=game::Square(x,y)->gobject) > ^ > ( ) >src/xye.cpp:7760:20: note: use '==' to turn this assignment into an equality > comparison > 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] > if (gobject=game::Square(x,y)->gobject) > ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/xye.cpp:7923:20: note: place parentheses around the assignment to silence > this warning > if (gobject=game::Square(x,y)->gobject) > ^ > ( ) >src/xye.cpp:7923:20: note: use '==' to turn this assignment into an equality > comparison > 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] > if (gobject=game::Square(x,y)->gobject) > ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/xye.cpp:8003:20: note: place parentheses around the assignment to silence > this warning > if (gobject=game::Square(x,y)->gobject) > ^ > ( ) >src/xye.cpp:8003:20: note: use '==' to turn this assignment into an equality > comparison > if (gobject=game::Square(x,y)->gobject) > ^ > == >src/xye.cpp:8084:24: warning: equality comparison with extraneous parentheses > [-Wparentheses-equality] > if ((game::counter8==0)) anim=!anim; > ~~~~~~~~~~~~~~^~~ >src/xye.cpp:8084:24: note: remove extraneous parentheses around the comparison > to silence this warning > if ((game::counter8==0)) anim=!anim; > ~ ^ ~ >src/xye.cpp:8084:24: note: use '=' to turn this equality comparison into an > assignment > if ((game::counter8==0)) anim=!anim; > ^~ > = >src/xye.cpp:8106:12: warning: enumeration value 'D_DOWN' not handled in switch > [-Wswitch] > switch(dir) > ^ >src/xye.cpp:8252:15: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (active=RenderAfterObjects=(entering->HasBlockColor(c))) > ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/xye.cpp:8252:15: note: place parentheses around the assignment to silence > this warning > if (active=RenderAfterObjects=(entering->HasBlockColor(c))) > ^ > ( ) >src/xye.cpp:8252:15: note: use '==' to turn this assignment into an equality > comparison > 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] > switch (object->GetType()) > ^ >src/xye.cpp:8486:13: warning: 42 enumeration values not handled in switch: > 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] > switch (entering->GetType()) > ^ >src/xye.cpp:8573:12: warning: address of stack memory associated with local > variable 'res' returned [-Wreturn-stack-address] > return res.c_str(); > ^~~ >src/xye.cpp:8742:10: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > if (o= sq->object) > ~^~~~~~~~~~~~ >src/xye.cpp:8742:10: note: place parentheses around the assignment to silence > this warning > if (o= sq->object) > ^ > ( ) >src/xye.cpp:8742:10: note: use '==' to turn this assignment into an equality > comparison > if (o= sq->object) > ^ > == >src/xye.cpp:8874:13: warning: enumeration value 'KT_KILLORGANICS' not handled in > switch [-Wswitch] > switch (K->kt) > ^ >src/xye.cpp:9017:12: warning: 40 enumeration values not handled in switch: > 'OT_WALL', 'OT_BLOCK', 'OT_TRICKDOOR'... [-Wswitch] > switch(t) > ^ >src/xye.cpp:9060:12: warning: enumeration value 'D_LEFT' not handled in switch > [-Wswitch] > switch(dir) > ^ >src/xye.cpp:9226:12: warning: enumeration value 'D_LEFT' not handled in switch > [-Wswitch] > switch(dir) > ^ >src/xye.cpp:9237:12: warning: enumeration value 'D_RIGHT' not handled in switch > [-Wswitch] > switch(dir) > ^ >src/xye.cpp:9277:12: warning: 40 enumeration values not handled in switch: > 'OT_WALL', 'OT_BLOCK', 'OT_TRICKDOOR'... [-Wswitch] > switch(object->GetType()) > ^ >src/xye.cpp:9317:1: warning: '/*' within block comment [-Wcomment] >/** /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] > delete (tm->o); > ^ >In file included from src/window.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] > ...ToDocument() const { return ( this && type == DOCUMENT ... > ^~~~ ~~ >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] > ...ToElement() const { return ( this && type == ELEMENT ... > ^~~~ ~~ >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] > ...ToComment() const { return ( this && type == COMMENT ... > ^~~~ ~~ >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] > ...ToUnknown() const { return ( this && type == UNKNOWN ... > ^~~~ ~~ >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] > ...ToText() const { return ( this && type == TEXT ) ? (co... > ^~~~ ~~ >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] > ...TiXmlDeclaration* ToDeclaration() const { return ( this && type == DEC... > ^~~~ ~~ >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] > TiXmlDocument* ToDocument() { return ( this && 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] > TiXmlElement* ToElement() { return ( this && 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] > TiXmlComment* ToComment() { return ( this && 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] > TiXmlUnknown* ToUnknown() { return ( this && 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] > TiXmlText* ToText() { return ( this && 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] > TiXmlDeclaration* ToDeclaration() { return ( this && type ... > ^~~~ ~~ >In file included from src/skins.cpp:21: >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] > ...ToDocument() const { return ( this && type == DOCUMENT ... > ^~~~ ~~ >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] > ...ToElement() const { return ( this && type == ELEMENT ... > ^~~~ ~~ >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] > ...ToComment() const { return ( this && type == COMMENT ... > ^~~~ ~~ >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] > ...ToUnknown() const { return ( this && type == UNKNOWN ... > ^~~~ ~~ >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] > ...ToText() const { return ( this && type == TEXT ) ? (co... > ^~~~ ~~ >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] > ...TiXmlDeclaration* ToDeclaration() const { return ( this && type == DEC... > ^~~~ ~~ >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] > TiXmlDocument* ToDocument() { return ( this && 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] > TiXmlElement* ToElement() { return ( this && 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] > TiXmlComment* ToComment() { return ( this && 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] > TiXmlUnknown* ToUnknown() { return ( this && 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] > TiXmlText* ToText() { return ( this && 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] > TiXmlDeclaration* ToDeclaration() { return ( this && type ... > ^~~~ ~~ >src/editorsave.cpp:149:12: warning: 5 enumeration values not handled in switch: > 'EDOT_XYE', 'EDOT_ONEDIRECTION', 'EDOT_FIREPAD'... [-Wswitch] > switch(o.type) > ^ >src/editorsave.cpp:442:12: warning: 23 enumeration values not handled in switch: > 'EDOT_XYE', 'EDOT_WALL', 'EDOT_GEM'... [-Wswitch] > switch(o.type) > ^ >17 warnings generated. >src/editorload.cpp:33:12: warning: 24 enumeration values not handled in switch: > 'EDOT_XYE', 'EDOT_WALL', 'EDOT_GEM'... [-Wswitch] > switch(ed) { > ^ >13 warnings generated. >15 warnings generated. >src/skins.cpp:198:13: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > while (N=F.NextFileMatching(Axyeskin)) if (strlen(N)<=20) c++; > ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/skins.cpp:198:13: note: place parentheses around the assignment to silence > this warning > while (N=F.NextFileMatching(Axyeskin)) if (strlen(N)<=20) c++; > ^ > ( ) >src/skins.cpp:198:13: note: use '==' to turn this assignment into an equality > comparison > while (N=F.NextFileMatching(Axyeskin)) if (strlen(N)<=20) c++; > ^ > == >src/skins.cpp:200:13: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > while (N=F.NextSubFolder()) > ~^~~~~~~~~~~~~~~~~~ >src/skins.cpp:200:13: note: place parentheses around the assignment to silence > this warning > while (N=F.NextSubFolder()) > ^ > ( ) >src/skins.cpp:200:13: note: use '==' to turn this assignment into an equality > comparison > while (N=F.NextSubFolder()) > ^ > == >src/skins.cpp:421:13: warning: 227 enumeration values not handled in switch: > 'SDLK_UNKNOWN', 'SDLK_TAB', 'SDLK_CLEAR'... [-Wswitch] > switch (keysim) > ^ >16 warnings generated. >3 warnings generated. >12 warnings generated. >2 warnings generated. >15 warnings generated. >13 warnings generated. >28 warnings generated. >20 warnings generated. >62 warnings generated. >x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -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 >>>> Source compiled. >>>> Test phase: games-puzzle/xye-0.12.2 >make -j16 V=1 check >make: Nothing to be done for 'check'. >>>> Completed testing games-puzzle/xye-0.12.2 > >>>> Install games-puzzle/xye-0.12.2 into /var/tmp/portage/games-puzzle/xye-0.12.2/image/ >make -j16 V=1 DESTDIR=/var/tmp/portage/games-puzzle/xye-0.12.2/image/ install >make[1]: Entering directory '/var/tmp/portage/games-puzzle/xye-0.12.2/work/xye-0.12.2' > /bin/mkdir -p '/var/tmp/portage/games-puzzle/xye-0.12.2/image//usr/bin' > /bin/mkdir -p '/var/tmp/portage/games-puzzle/xye-0.12.2/image//usr/share/applications' > /bin/mkdir -p '/var/tmp/portage/games-puzzle/xye-0.12.2/image//usr/share/doc/xye-0.12.2' > /bin/mkdir -p '/var/tmp/portage/games-puzzle/xye-0.12.2/image//usr/share/doc/xye-0.12.2/html' > /bin/mkdir -p '/var/tmp/portage/games-puzzle/xye-0.12.2/image//usr/share/xye/levels' > /bin/mkdir -p '/var/tmp/portage/games-puzzle/xye-0.12.2/image//usr/share/pixmaps' > /bin/mkdir -p '/var/tmp/portage/games-puzzle/xye-0.12.2/image//usr/share/xye/res' > /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 xye.desktop '/var/tmp/portage/games-puzzle/xye-0.12.2/image//usr/share/applications' > /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 NEWS ChangeLog AUTHORS '/var/tmp/portage/games-puzzle/xye-0.12.2/image//usr/share/doc/xye-0.12.2' > /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c xye '/var/tmp/portage/games-puzzle/xye-0.12.2/image//usr/bin' > /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 pixmaps/xye.png '/var/tmp/portage/games-puzzle/xye-0.12.2/image//usr/share/pixmaps' > /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -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 '/var/tmp/portage/games-puzzle/xye-0.12.2/image//usr/share/xye/levels' > /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 res/default.xml res/xye.png res/xye_luminosity.png 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 '/var/tmp/portage/games-puzzle/xye-0.12.2/image//usr/share/xye/res' > /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 ReadMe.html '/var/tmp/portage/games-puzzle/xye-0.12.2/image//usr/share/doc/xye-0.12.2/html' >make[1]: Leaving directory '/var/tmp/portage/games-puzzle/xye-0.12.2/work/xye-0.12.2' >>>> Completed installing games-puzzle/xye-0.12.2 into /var/tmp/portage/games-puzzle/xye-0.12.2/image/ > > * Final size of build directory: 10132 KiB (9.8 MiB) > * Final size of installed tree: 5028 KiB (4.9 MiB) > >strip: llvm-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version > /usr/bin/xye >>>> Done. > * QA Notice: .desktop files with MimeType= were found installed > * but desktop mimeinfo cache has not been updated: > * /usr/share/applications/xye.desktop > * Please make sure to call xdg_desktop_database_update() > * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 739324
: 657188