=> Building games/netradiant Started : Friday, 8 MAR 2019 at 08:40:22 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/construction/games/netradiant XDG_CONFIG_HOME=/construction/games/netradiant HOME=/construction/games/netradiant TMPDIR="/tmp" PATH=/construction/games/netradiant/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- BUILD=release DOWNLOAD_GAMEPACKS=no LIBS_DL="" RADIANT_ABOUTMSG="For DragonFly 5.5 (x86_64)" XDG_DATA_HOME=/construction/games/netradiant XDG_CONFIG_HOME=/construction/games/netradiant HOME=/construction/games/netradiant TMPDIR="/tmp" PATH=/construction/games/netradiant/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/games/netradiant/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- ARCH=x86_64 GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/netradiant" EXAMPLESDIR="share/examples/netradiant" DATADIR="share/netradiant" WWWDIR="www/netradiant" ETCDIR="etc/netradiant" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- ARCH=x86_64 PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/netradiant DOCSDIR=/usr/local/share/doc/netradiant EXAMPLESDIR=/usr/local/share/examples/netradiant WWWDIR=/usr/local/www/netradiant ETCDIR=/usr/local/etc/netradiant -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> netradiant-20130630_8 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> netradiant-20130630_8 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of netradiant-20130630_8 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by netradiant-20130630_8 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by netradiant-20130630_8 for building => SHA256 Checksum OK for netradiant-20130630-src.tar.bz2. => SHA256 Checksum OK for q3map2.6. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by netradiant-20130630_8 for building ===> Extracting for netradiant-20130630_8 ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by netradiant-20130630_8 for building => SHA256 Checksum OK for netradiant-20130630-src.tar.bz2. => SHA256 Checksum OK for q3map2.6. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for netradiant-20130630_8 ===> Applying ports patches for netradiant-20130630_8 ===> Applying dragonfly patches for netradiant-20130630_8 /usr/bin/sed -i.bak -e 's@\(Linux FreeBSD\)@\1 DragonFly@g' /construction/games/netradiant/netradiant-20130630-src/Makefile /usr/bin/sed -i.bak -e 's@\(defined( __FreeBSD__ )\)@(\1 || defined(__DragonFly__))@g' /construction/games/netradiant/netradiant-20130630-src/radiant/url.cpp /usr/bin/sed -i.bak -e 's@\(defined(__FreeBSD__)\)@(\1 || defined(__DragonFly__))@g' /construction/games/netradiant/netradiant-20130630-src/contrib/bobtoolz/misc.cpp /usr/bin/sed -i.bak -e 's@\(defined ( __FreeBSD__ )\)@(\1 || defined(__DragonFly__))@g' /construction/games/netradiant/netradiant-20130630-src/radiant/mainframe.cpp /construction/games/netradiant/netradiant-20130630-src/radiant/watchbsp.cpp -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> netradiant-20130630_8 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.19.8.1_2... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_2: .......... done Extracting gmake-4.2.1_3: .......... done ===> netradiant-20130630_8 depends on executable: gmake - found ===> Returning to build of netradiant-20130630_8 ===> netradiant-20130630_8 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-1.6.0,1.txz Installing pkgconf-1.6.0,1... Extracting pkgconf-1.6.0,1: .......... done ===> netradiant-20130630_8 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of netradiant-20130630_8 ===> netradiant-20130630_8 depends on package: xorgproto>=0 - not found ===> Installing existing package /packages/All/xorgproto-2018.4.txz Installing xorgproto-2018.4... Extracting xorgproto-2018.4: .......... done ===> netradiant-20130630_8 depends on package: xorgproto>=0 - found ===> Returning to build of netradiant-20130630_8 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> netradiant-20130630_8 depends on shared library: libgtkglext-x11-1.0.so - not found ===> Installing existing package /packages/All/gtkglext-1.2.0_19.txz Installing gtkglext-1.2.0_19... `-- Installing atk-2.28.1... | `-- Installing glib-2.56.3_3,1... | | `-- Installing libffi-3.2.1_3... | | `-- Extracting libffi-3.2.1_3: .......... done | | `-- Installing libiconv-1.14_11... | | `-- Extracting libiconv-1.14_11: .......... done | | `-- Installing libxml2-2.9.8... | | `-- Extracting libxml2-2.9.8: .......... done | | `-- Installing pcre-8.42_1... | | `-- Extracting pcre-8.42_1: .......... done | | `-- Installing python27-2.7.15... | | `-- Installing expat-2.2.6_1... | | `-- Extracting expat-2.2.6_1: .......... done | | `-- Installing libressl-2.8.3... | | `-- Extracting libressl-2.8.3: .......... done | | `-- Installing ncurses-6.1.20190112... | | `-- Extracting ncurses-6.1.20190112: .......... done | | `-- Installing readline-7.0.5... | | `-- Extracting readline-7.0.5: .......... done | | `-- Extracting python27-2.7.15: .......... done | `-- Extracting glib-2.56.3_3,1: .......... done No schema files found: doing nothing. `-- Extracting atk-2.28.1: .......... done `-- Installing gtk2-2.24.32... | `-- Installing cups-2.2.10... | | `-- Installing avahi-app-0.7_2... | | `-- Installing dbus-1.12.12... | | | `-- Installing libICE-1.0.9_3,1... | | | `-- Extracting libICE-1.0.9_3,1: .......... done | | | `-- Installing libSM-1.2.3,1... | | | `-- Extracting libSM-1.2.3,1: .......... done | | | `-- Installing libX11-1.6.7,1... | | | `-- Installing libXau-1.0.8_5... | | | `-- Extracting libXau-1.0.8_5: .......... done | | | `-- Installing libXdmcp-1.1.2_2... | | | `-- Extracting libXdmcp-1.1.2_2: ......... done | | | `-- Installing libxcb-1.13.1... | | | | `-- Installing libpthread-stubs-0.4... | | | | `-- Extracting libpthread-stubs-0.4: .... done | | | `-- Extracting libxcb-1.13.1: .......... done | | | `-- Extracting libX11-1.6.7,1: .......... done ===> Creating groups. Creating group 'messagebus' with gid '556'. ===> Creating users Creating user 'messagebus' with uid '556'. | | `-- Extracting dbus-1.12.12: ......... done | | `-- Installing dbus-glib-0.110... | | `-- Extracting dbus-glib-0.110: .......... done | | `-- Installing gdbm-1.18.1... | | `-- Extracting gdbm-1.18.1: .......... done | | `-- Installing gnome_subr-1.0... | | `-- Extracting gnome_subr-1.0: .... done | | `-- Installing gobject-introspection-1.56.1,1... | | | `-- Installing python36-3.6.8... | | | `-- Extracting python36-3.6.8: .......... done | | `-- Extracting gobject-introspection-1.56.1,1: .......... done | | `-- Installing libdaemon-0.14_1... | | `-- Extracting libdaemon-0.14_1: .......... done ===> Creating groups. Creating group 'avahi' with gid '558'. ===> Creating users Creating user 'avahi' with uid '558'. | | `-- Extracting avahi-app-0.7_2: .......... done | | `-- Installing gnutls-3.6.6_2... | | `-- Installing ca_root_nss-3.42.1... | | `-- Extracting ca_root_nss-3.42.1: ........ done | | `-- Installing gmp-6.1.2_1... | | `-- Extracting gmp-6.1.2_1: .......... done | | `-- Installing libidn2-2.1.1... | | | `-- Installing libunistring-0.9.10_1... | | | `-- Extracting libunistring-0.9.10_1: .......... done | | `-- Extracting libidn2-2.1.1: .......... done | | `-- Installing libtasn1-4.13_1... | | `-- Extracting libtasn1-4.13_1: .......... done | | `-- Installing nettle-3.4.1_1... | | `-- Extracting nettle-3.4.1_1: .......... done | | `-- Installing p11-kit-0.23.15... | | `-- Extracting p11-kit-0.23.15: .......... done | | `-- Installing trousers-0.3.14_2... | | | `-- Installing tpm-emulator-0.7.4_2... ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. | | | `-- Extracting tpm-emulator-0.7.4_2: ......... done ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. | | `-- Extracting trousers-0.3.14_2: .......... done | | `-- Extracting gnutls-3.6.6_2: .......... done | | `-- Installing libpaper-1.1.24.4... | | `-- Extracting libpaper-1.1.24.4: .......... done ===> Creating groups. Creating group 'cups' with gid '193'. ===> Creating users Creating user 'cups' with uid '193'. | `-- Extracting cups-2.2.10: .......... done | `-- Installing gdk-pixbuf2-2.36.12... | | `-- Installing jpeg-turbo-2.0.2... | | `-- Extracting jpeg-turbo-2.0.2: .......... done | | `-- Installing png-1.6.36... | | `-- Extracting png-1.6.36: .......... done | | `-- Installing shared-mime-info-1.10... | | `-- Extracting shared-mime-info-1.10: .......... done | | `-- Installing tiff-4.0.10... | | `-- Installing jbigkit-2.1_1... | | `-- Extracting jbigkit-2.1_1: .......... done | | `-- Extracting tiff-4.0.10: .......... done | `-- Extracting gdk-pixbuf2-2.36.12: .......... done | `-- Installing gtk-update-icon-cache-2.24.32... | | `-- Installing hicolor-icon-theme-0.17... | | `-- Extracting hicolor-icon-theme-0.17: . done | | `-- Installing libXcomposite-0.4.4_5,1... | | `-- Installing libXext-1.3.3_3,1... | | `-- Extracting libXext-1.3.3_3,1: .......... done | | `-- Installing libXfixes-5.0.3_2... | | `-- Extracting libXfixes-5.0.3_2: .......... done | | `-- Extracting libXcomposite-0.4.4_5,1: .......... done | | `-- Installing libXcursor-1.1.15_2... | | `-- Installing libXrender-0.9.10_2... | | `-- Extracting libXrender-0.9.10_2: .......... done | | `-- Extracting libXcursor-1.1.15_2: .......... done | | `-- Installing libXdamage-1.1.4_5... | | `-- Extracting libXdamage-1.1.4_5: ......... done | | `-- Installing libXi-1.7.9_2,1... | | `-- Extracting libXi-1.7.9_2,1: .......... done | | `-- Installing libXinerama-1.1.4_2,1... | | `-- Extracting libXinerama-1.1.4_2,1: .......... done | | `-- Installing libXrandr-1.5.1_2... | | `-- Extracting libXrandr-1.5.1_2: .......... done | | `-- Installing pango-1.42.4_1... | | `-- Installing cairo-1.15.12,2... | | | `-- Installing fontconfig-2.12.6,1... | | | `-- Installing freetype2-2.9.1... | | | `-- Extracting freetype2-2.9.1: .......... done | | | `-- Extracting fontconfig-2.12.6,1: .......... done Running fc-cache to build fontconfig cache... /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory fc-cache: succeeded | | | `-- Installing mesa-libs-18.3.2... | | | `-- Installing libXxf86vm-1.1.4_3... | | | `-- Extracting libXxf86vm-1.1.4_3: .......... done | | | `-- Installing libdrm-2.4.96,1... | | | | `-- Installing libpciaccess-0.13.5... | | | | `-- Installing pciids-20190213... | | | | `-- Extracting pciids-20190213: ..... done | | | | `-- Extracting libpciaccess-0.13.5: ......... done | | | `-- Extracting libdrm-2.4.96,1: .......... done | | | `-- Installing libelf-0.8.13_3... | | | `-- Extracting libelf-0.8.13_3: .......... done | | | `-- Installing libxshmfence-1.2_4... | | | `-- Extracting libxshmfence-1.2_4: ......... done | | | `-- Installing wayland-1.16.0... | | | `-- Extracting wayland-1.16.0: .......... done | | | `-- Extracting mesa-libs-18.3.2: .......... done | | | `-- Installing pixman-0.34.0_1... | | | `-- Extracting pixman-0.34.0_1: .......... done | | | `-- Installing xcb-util-renderutil-0.3.9_1... | | | `-- Installing xcb-util-0.4.0_2,1... | | | `-- Extracting xcb-util-0.4.0_2,1: .......... done | | | `-- Extracting xcb-util-renderutil-0.3.9_1: ......... done | | `-- Extracting cairo-1.15.12,2: .......... done | | `-- Installing encodings-1.0.4_4,1... | | | `-- Installing font-util-1.3.1... | | | `-- Extracting font-util-1.3.1: .......... done | | `-- Extracting encodings-1.0.4_4,1: .......... done | | `-- Installing fribidi-0.19.7... | | `-- Extracting fribidi-0.19.7: .......... done | | `-- Installing harfbuzz-2.3.1... | | | `-- Installing graphite2-1.3.13... | | | `-- Extracting graphite2-1.3.13: .......... done | | `-- Extracting harfbuzz-2.3.1: .......... done | | `-- Installing libXft-2.3.2_3... | | `-- Extracting libXft-2.3.2_3: .......... done | | `-- Installing xorg-fonts-truetype-7.7_1... | | | `-- Installing dejavu-2.37... | | | `-- Installing mkfontdir-1.0.7... | | | | `-- Installing mkfontscale-1.1.3_2... | | | | `-- Installing libfontenc-1.1.4... | | | | `-- Extracting libfontenc-1.1.4: ......... done | | | | `-- Extracting mkfontscale-1.1.3_2: ..... done | | | `-- Extracting mkfontdir-1.0.7: ..... done | | | `-- Extracting dejavu-2.37: .......... done | | | `-- Installing font-bh-ttf-1.0.3_3... | | | `-- Extracting font-bh-ttf-1.0.3_3: .......... done | | | `-- Installing font-misc-ethiopic-1.0.3_3... | | | `-- Extracting font-misc-ethiopic-1.0.3_3: ... done | | | `-- Installing font-misc-meltho-1.0.3_3... | | | `-- Extracting font-misc-meltho-1.0.3_3: .......... done | | `-- Extracting pango-1.42.4_1: .......... done | `-- Extracting gtk-update-icon-cache-2.24.32: .... done `-- Extracting gtk2-2.24.32: .......... done `-- Installing libGLU-9.0.0_3... `-- Extracting libGLU-9.0.0_3: ...... done `-- Installing pangox-compat-0.0.2_2... `-- Extracting pangox-compat-0.0.2_2: ....... done Extracting gtkglext-1.2.0_19: .......... done Message from python27-2.7.15: =========================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter =========================================================================== Message from python36-3.6.8: =========================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py36-gdbm databases/py-gdbm@py36 py36-sqlite3 databases/py-sqlite3@py36 py36-tkinter x11-toolkits/py-tkinter@py36 =========================================================================== Message from ca_root_nss-3.42.1: ********************************* WARNING ********************************* FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. *********************************** NOTE ********************************** This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem *************************************************************************** Message from trousers-0.3.14_2: To run tcsd automatically, add the following line to /etc/rc.conf: tcsd_enable="YES" You might want to edit /usr/local/etc/tcsd.conf to reflect your setup. If you want to use tcsd with software TPM emulator, use the following configuration in /etc/rc.conf: tcsd_enable="YES" tcsd_mode="emulator" tpmd_enable="YES" To use TPM, add your_account to '_tss' group like following: # pw groupmod _tss -m your_account Message from freetype2-2.9.1: The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/ft2-toc.html, if documentation was installed). Message from dejavu-2.37: Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/share/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. Message from gtkglext-1.2.0_19: ===> NOTICE: The gtkglext port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> netradiant-20130630_8 depends on shared library: libgtkglext-x11-1.0.so - found (/usr/local/lib/libgtkglext-x11-1.0.so) ===> Returning to build of netradiant-20130630_8 ===> netradiant-20130630_8 depends on shared library: libwebp.so - not found ===> Installing existing package /packages/All/webp-1.0.2.txz Installing webp-1.0.2... `-- Installing giflib-5.1.4... `-- Extracting giflib-5.1.4: .......... done Extracting webp-1.0.2: .......... done ===> netradiant-20130630_8 depends on shared library: libwebp.so - found (/usr/local/lib/libwebp.so) ===> Returning to build of netradiant-20130630_8 ===> netradiant-20130630_8 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> netradiant-20130630_8 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so) ===> netradiant-20130630_8 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> netradiant-20130630_8 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> netradiant-20130630_8 depends on shared library: libgtk-x11-2.0.so - found (/usr/local/lib/libgtk-x11-2.0.so) ===> netradiant-20130630_8 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so) ===> netradiant-20130630_8 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so) ===> netradiant-20130630_8 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for netradiant-20130630_8 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for netradiant-20130630_8 gmake[2]: Entering directory '/construction/games/netradiant/netradiant-20130630-src' checking that the build tools exist Checking for /bin/sh (bash (or another shell))... found. Checking for echo (coreutils)... found. Checking for echo -n (coreutils)... found. Checking for cat (coreutils)... found. Checking for mkdir -p (coreutils)... found. Checking for cp (coreutils)... found. Checking for cp -r (coreutils)... found. Checking for rm -f (coreutils)... found. Checking for rm -f -r (coreutils)... found. Checking for mv (coreutils)... found. Checking for echo test | tee /dev/stderr (coreutils)... found. Checking for sed (sed)... found. Checking for find (findutils)... found. Checking for diff (diff)... found. Checking for cc (c compiler)... found. Checking for c++ (c++ compiler)... found. Checking for ranlib (binutils)... found. Checking for ar (binutils)... found. Checking for pkg-config (pkg-config)... found. Checking for ldd (libc6)... found. All required tools have been found! checking that the dependencies exist Checking for jpeglib.h (libjpeg8-dev)... found and links. Checking for glib.h (libglib2.0-dev)... found and links. Checking for libxml/xpath.h (libxml2-dev)... found and links. Checking for png.h (libpng12-dev)... found and links. Checking for webp/decode.h (libwebp-dev)... found and links. Checking for GL/gl.h (mesa-common-dev (or another OpenGL library))... found and links. Checking for gtk/gtkdialog.h (libgtk2.0-dev)... found and links. Checking for pango/pangoft2.h (libpango1.0-dev)... found and links. Checking for gtk/gtkglwidget.h (libgtkglext1-dev)... found and links. Checking for dlfcn.h (libc6-dev)... found and links. Checking for zlib.h (zlib1g-dev)... found and links. All required libraries have been found! cc tools/quake2/common/bspfile.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/common/bspfile.o cc tools/quake2/common/cmdlib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/common/cmdlib.o cc tools/quake2/common/inout.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/common/inout.o cc tools/quake2/common/l3dslib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/common/l3dslib.o cc tools/quake2/common/lbmlib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/common/lbmlib.o tools/quake2/common/cmdlib.c: In function 'SetQdirFromPath': tools/quake2/common/cmdlib.c:197:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for ( i = 0; i < strlen( qdir ); i++ ) ^ tools/quake2/common/cmdlib.c:210:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for ( i = 0; i < strlen( gamedir ); i++ ) ^ tools/quake2/common/cmdlib.c: In function 'ExpandPath': tools/quake2/common/cmdlib.c:253:7: warning: the address of 'qdir' will always evaluate as 'true' [-Waddress] if ( !qdir ) { ^ tools/quake2/common/cmdlib.c: In function 'ExpandGamePath': tools/quake2/common/cmdlib.c:266:7: warning: the address of 'qdir' will always evaluate as 'true' [-Waddress] if ( !qdir ) { ^ tools/quake2/common/inout.c: In function 'xml_NodeForVec': tools/quake2/common/inout.c:69:26: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] ret = xmlNewNode( NULL, "point" ); ^~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/common/inout.c:70:26: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( ret, buf ); ^~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/common/inout.c: In function 'xml_SendNode': tools/quake2/common/inout.c:92:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] while ( pos < xml_buf->use ) ^ tools/quake2/common/inout.c: In function 'xml_Select': tools/quake2/common/inout.c:147:27: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] node = xmlNewNode( NULL, "select" ); ^~~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/common/inout.c:148:27: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( node, buf ); ^~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/common/inout.c:151:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/common/inout.c:151:29: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~~~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/common/inout.c:154:29: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] select = xmlNewNode( NULL, "brush" ); ^~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/common/inout.c:155:29: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( select, buf ); ^~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/common/inout.c: In function 'xml_Point': tools/quake2/common/inout.c:174:27: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] node = xmlNewNode( NULL, "pointmsg" ); ^~~~~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/common/inout.c:175:27: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( node, msg ); ^~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/common/inout.c:178:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/common/inout.c:178:29: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~~~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/common/inout.c:181:28: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] point = xmlNewNode( NULL, "point" ); ^~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/common/inout.c:182:28: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( point, buf ); ^~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/common/inout.c: In function 'xml_Winding': tools/quake2/common/inout.c:198:27: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] node = xmlNewNode( NULL, "windingmsg" ); ^~~~~~~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/common/inout.c:199:27: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( node, msg ); ^~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/common/inout.c:202:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/common/inout.c:202:29: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~~~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/common/inout.c:215:30: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] winding = xmlNewNode( NULL, "winding" ); ^~~~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/common/inout.c:216:30: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( winding, buf ); ^~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/common/inout.c: In function 'Broadcast_Setup': tools/quake2/common/inout.c:238:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Net_StringToAddress( (char *)dest, &address ); ^ tools/quake2/common/inout.c: In function 'FPrintf': tools/quake2/common/inout.c:280:20: warning: pointer targets in passing argument 1 of 'xmlNewDoc' differ in signedness [-Wpointer-sign] doc = xmlNewDoc( "1.0" ); ^~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:780:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewDoc (const xmlChar *version); ^~~~~~~~~ tools/quake2/common/inout.c:281:48: warning: pointer targets in passing argument 3 of 'xmlNewDocRawNode' differ in signedness [-Wpointer-sign] doc->children = xmlNewDocRawNode( doc, NULL, "q3map_feedback", NULL ); ^~~~~~~~~~~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:902:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewDocRawNode (xmlDocPtr doc, ^~~~~~~~~~~~~~~~ tools/quake2/common/inout.c:284:27: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] node = xmlNewNode( NULL, "message" ); ^~~~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/common/inout.c:285:27: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( node, buf ); ^~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/common/inout.c:288:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/common/inout.c:288:29: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~~~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/common/bspfile.c: In function 'LoadBSPFile': tools/quake2/common/bspfile.c:388:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for ( i = 0 ; i < sizeof( dheader_t ) / 4 ; i++ ) ^ tools/quake2/common/bspfile.c: In function 'LoadBSPFileTexinfo': tools/quake2/common/bspfile.c:447:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for ( i = 0 ; i < sizeof( dheader_t ) / 4 ; i++ ) ^ tools/quake2/common/bspfile.c: In function 'SwapBSPFile': tools/quake2/common/bspfile.c:219:28: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations] texinfo[i].vecs[0][j] = LittleFloat( texinfo[i].vecs[0][j] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/common/bspfile.c:218:3: note: within this loop for ( j = 0 ; j < 8 ; j++ ) ^~~ tools/quake2/common/inout.c: In function 'Error': tools/quake2/common/inout.c:341:57: warning: '%s' directive writing up to 4095 bytes into a region of size 4064 [-Wformat-overflow=] sprintf( out_buffer, "************ ERROR ************\n%s\n", tmp ); ^~ ~~~ tools/quake2/common/inout.c:341:2: note: 'sprintf' output between 34 and 4129 bytes into a destination of size 4096 sprintf( out_buffer, "************ ERROR ************\n%s\n", tmp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/common/mathlib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/common/mathlib.o cc tools/quake2/common/md4.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/common/md4.o cc tools/quake2/common/path_init.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/common/path_init.o tools/quake2/common/bspfile.c: In function 'UnparseEntities': tools/quake2/common/bspfile.c:719:29: warning: '%s' directive writing up to 1023 bytes into a region of size between 1021 and 2044 [-Wformat-overflow=] sprintf( line, "\"%s\" \"%s\"\n", key, value ); ^~ ~~~~~ tools/quake2/common/bspfile.c:719:4: note: 'sprintf' output between 7 and 2053 bytes into a destination of size 2048 sprintf( line, "\"%s\" \"%s\"\n", key, value ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/common/polylib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/common/polylib.o tools/quake2/common/path_init.c: In function 'InitPaths': tools/quake2/common/path_init.c:325:3: warning: statement with no effect [-Wunused-value] for ( j; j < *argc && argv[ j ] == NULL; j++ ) ; ^~~ tools/quake2/common/path_init.c: In function 'LokiInitPaths': tools/quake2/common/path_init.c:136:13: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized] last[ 0 ] = path[ 0 ]; ~~~~~~~~~~^~~~~~~~~~~ tools/quake2/common/polylib.c: In function 'CopyWinding': tools/quake2/common/polylib.c:276:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] size = (int)( (winding_t *)0 )->p[w->numpoints]; ^ tools/quake2/common/lbmlib.c: In function 'LoadTGA': tools/quake2/common/lbmlib.c:779:17: warning: 'alphabyte' may be used uninitialized in this function [-Wmaybe-uninitialized] *pixbuf++ = alphabyte; ~~~~~~~~~~^~~~~~~~~~~ tools/quake2/common/lbmlib.c:778:17: warning: 'blue' may be used uninitialized in this function [-Wmaybe-uninitialized] *pixbuf++ = blue; ~~~~~~~~~~^~~~~~ tools/quake2/common/lbmlib.c:777:17: warning: 'green' may be used uninitialized in this function [-Wmaybe-uninitialized] *pixbuf++ = green; ~~~~~~~~~~^~~~~~~ tools/quake2/common/lbmlib.c:776:17: warning: 'red' may be used uninitialized in this function [-Wmaybe-uninitialized] *pixbuf++ = red; ~~~~~~~~~~^~~~~ cc tools/quake2/common/scriplib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/common/scriplib.o cc tools/quake2/common/threads.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/common/threads.o tools/quake2/common/threads.c: In function 'RunThreadsOn': tools/quake2/common/threads.c:552:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ( pthread_create( &work_threads[i], NULL, (void*)func, (void*)i ) != 0 ) { ^ cc tools/quake2/common/trilib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/common/trilib.o tools/quake2/common/trilib.c: In function 'ByteSwapTri': tools/quake2/common/trilib.c:61:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for ( i = 0 ; i < sizeof( tf_triangle ) / 4 ; i++ ) ^ cc tools/quake2/q2map/brushbsp.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/brushbsp.o cc tools/quake2/q2map/csg.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/csg.o cc tools/quake2/q2map/faces.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/faces.o tools/quake2/common/cmdlib.c: In function 'ExpandPathAndArchive': tools/quake2/common/cmdlib.c:284:31: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( archivename, "%s/%s", archivedir, path ); ^ tools/quake2/common/cmdlib.c:284:3: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( archivename, "%s/%s", archivedir, path ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/q2map/flow.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/flow.o tools/quake2/q2map/brushbsp.c: In function 'AllocBrush': tools/quake2/q2map/brushbsp.c:324:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] c = (int)&( ( (bspbrush_t *)0 )->sides[numsides] ); ^ tools/quake2/q2map/brushbsp.c: In function 'CopyBrush': tools/quake2/q2map/brushbsp.c:380:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] size = (int)&( ( (bspbrush_t *)0 )->sides[brush->numsides] ); ^ tools/quake2/q2map/brushbsp.c: In function 'SelectSplitSide': tools/quake2/q2map/brushbsp.c:768:6: warning: variable 'bestsplits' set but not used [-Wunused-but-set-variable] int bestsplits; ^~~~~~~~~~ cc tools/quake2/q2map/glfile.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/glfile.o cc tools/quake2/q2map/leakfile.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/leakfile.o cc tools/quake2/q2map/lightmap.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/lightmap.o cc tools/quake2/q2map/main.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/main.o tools/quake2/q2map/leakfile.c: In function 'LeakFile': tools/quake2/q2map/leakfile.c:137:31: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] xml_node = xmlNewNode( NULL, "polyline" ); ^~~~~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/q2map/qbsp.h:47, from tools/quake2/q2map/leakfile.c:22: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/q2map/leakfile.c:131:24: warning: '.lin' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%s.lin", source ); ^~~~ tools/quake2/q2map/leakfile.c:131:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( filename, "%s.lin", source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/leakfile.c:141:14: warning: 'nextnode' may be used uninitialized in this function [-Wmaybe-uninitialized] while ( node->occupied > 1 ) ~~~~^~~~~~~~~~ tools/quake2/q2map/leakfile.c:161:3: warning: 'nextportal' may be used uninitialized in this function [-Wmaybe-uninitialized] WindingCenter( nextportal->winding, mid ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/q2map/map.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/map.o tools/quake2/q2map/map.c: In function 'ParseMapEntity': tools/quake2/q2map/map.c:831:18: warning: variable 'startsides' set but not used [-Wunused-but-set-variable] int startbrush, startsides; ^~~~~~~~~~ tools/quake2/q2map/map.c:831:6: warning: variable 'startbrush' set but not used [-Wunused-but-set-variable] int startbrush, startsides; ^~~~~~~~~~ tools/quake2/q2map/lightmap.c: In function 'LerpTriangle': tools/quake2/q2map/lightmap.c:329:26: warning: variable 'y2' set but not used [-Wunused-but-set-variable] float x, y, x1, y1, x2, y2; ^~ tools/quake2/q2map/lightmap.c:329:14: warning: variable 'x1' set but not used [-Wunused-but-set-variable] float x, y, x1, y1, x2, y2; ^~ tools/quake2/q2map/main.c: In function 'main': tools/quake2/q2map/main.c:601:4: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( game, argv[ i ], 64 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/q2map/nodraw.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/nodraw.o tools/quake2/q2map/lightmap.c: In function 'TriEdge_r': tools/quake2/q2map/lightmap.c:257:17: warning: 'bestp' may be used uninitialized in this function [-Wmaybe-uninitialized] nt->edges[1] = FindEdge( trian, e->p1, bestp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/lightmap.c: In function 'TriangulatePoints': tools/quake2/q2map/lightmap.c:300:7: warning: 'bp2' may be used uninitialized in this function [-Wmaybe-uninitialized] e2 = FindEdge( trian, bp2, bp1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/lightmap.c:300:7: warning: 'bp1' may be used uninitialized in this function [-Wmaybe-uninitialized] cc tools/quake2/q2map/patches.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/patches.o tools/quake2/q2map/patches.c: In function 'CalcTextureReflectivity_Quake2': tools/quake2/q2map/patches.c:49:20: warning: 'pics/colormap.pcx' directive writing 17 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( path, "%spics/colormap.pcx", gamedir ); ^~~~~~~~~~~~~~~~~ tools/quake2/q2map/patches.c:49:2: note: 'sprintf' output between 18 and 1041 bytes into a destination of size 1024 sprintf( path, "%spics/colormap.pcx", gamedir ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/patches.c:74:21: warning: 'textures/' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( path, "%stextures/%s.wal", gamedir, texinfo[i].texture ); ^~~~~~~~~ tools/quake2/q2map/patches.c:74:3: note: 'sprintf' output 14 or more bytes (assuming 1037) into a destination of size 1024 sprintf( path, "%stextures/%s.wal", gamedir, texinfo[i].texture ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/patches.c: In function 'CalcTextureReflectivity_Heretic2': tools/quake2/q2map/patches.c:151:21: warning: 'textures/' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( path, "%stextures/%s.m32", gamedir, texinfo[i].texture ); ^~~~~~~~~ tools/quake2/q2map/patches.c:151:3: note: 'sprintf' output 14 or more bytes (assuming 1037) into a destination of size 1024 sprintf( path, "%stextures/%s.m32", gamedir, texinfo[i].texture ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/patches.c:153:22: warning: 'textures/' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( path, "%stextures/%s.m8", gamedir, texinfo[i].texture ); ^~~~~~~~~ tools/quake2/q2map/patches.c:153:4: note: 'sprintf' output 13 or more bytes (assuming 1036) into a destination of size 1024 sprintf( path, "%stextures/%s.m8", gamedir, texinfo[i].texture ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/q2map/portals.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/portals.o cc tools/quake2/q2map/prtfile.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/prtfile.o cc tools/quake2/q2map/qbsp.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/qbsp.o tools/quake2/q2map/lightmap.c: In function 'GatherSampleLight': tools/quake2/q2map/lightmap.c:992:26: warning: 'scale' may be used uninitialized in this function [-Wmaybe-uninitialized] VectorMA( dest, scale * lightscale, l->color, dest ); ~~~~~~^~~~~~~~~~~~ tools/quake2/q2map/qbsp.c: In function 'ProcessWorldModel': tools/quake2/q2map/qbsp.c:244:33: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] leaknode = xmlNewNode( NULL, "message" ); ^~~~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/q2map/qbsp.h:47, from tools/quake2/q2map/qbsp.c:23: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/q2map/qbsp.c:245:33: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( leaknode, "MAP LEAKED\n" ); ^~~~~~~~~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/q2map/qbsp.h:47, from tools/quake2/q2map/qbsp.c:23: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/q2map/qbsp.c:249:26: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( leaknode, "level", (char*) &level ); ^~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/q2map/qbsp.h:47, from tools/quake2/q2map/qbsp.c:23: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/q2map/qbsp.c:249:35: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( leaknode, "level", (char*) &level ); ^~~~~~~~~~~~~~ In file included from tools/quake2/common/inout.h:26, from tools/quake2/q2map/qbsp.h:47, from tools/quake2/q2map/qbsp.c:23: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/q2map/lightmap.c: In function 'FinalLightFace': tools/quake2/q2map/lightmap.c:1330:3: warning: 'trian' may be used uninitialized in this function [-Wmaybe-uninitialized] FreeTriangulation( trian ); ^~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/prtfile.c: In function 'WritePortalFile': tools/quake2/q2map/prtfile.c:258:24: warning: '.prt' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%s.prt", source ); ^~~~ tools/quake2/q2map/prtfile.c:258:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( filename, "%s.prt", source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/q2map/qrad.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/qrad.o cc tools/quake2/q2map/qvis.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/qvis.o cc tools/quake2/q2map/textures.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/textures.o tools/quake2/q2map/qvis.c: In function 'NewWinding': tools/quake2/q2map/qvis.c:85:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] size = (int)( (winding_t *)0 )->points[points]; ^ tools/quake2/q2map/qvis.c: In function 'PComp': tools/quake2/q2map/qvis.c:126:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if ( ( *(portal_t **)a )->nummightsee == ( *(portal_t **)b )->nummightsee ) { ^ tools/quake2/q2map/qvis.c:126:46: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if ( ( *(portal_t **)a )->nummightsee == ( *(portal_t **)b )->nummightsee ) { ^ tools/quake2/q2map/qvis.c:129:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if ( ( *(portal_t **)a )->nummightsee < ( *(portal_t **)b )->nummightsee ) { ^ tools/quake2/q2map/qvis.c:129:45: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] if ( ( *(portal_t **)a )->nummightsee < ( *(portal_t **)b )->nummightsee ) { ^ tools/quake2/q2map/qvis.c: In function 'LoadPortals': tools/quake2/q2map/qvis.c:389:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ( (unsigned)leafnums[0] > portalclusters ^ tools/quake2/q2map/qvis.c:390:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] || (unsigned)leafnums[1] > portalclusters ) { ^ tools/quake2/q2map/qrad.c: In function 'MakeTransfers': tools/quake2/q2map/qrad.c:225:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for ( j = 0, patch2 = patches ; j < num_patches ; j++, patch2++ ) ^ tools/quake2/q2map/qrad.c:299:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for ( j = 0 ; j < num_patches ; j++ ) ^ tools/quake2/q2map/qrad.c:204:33: warning: variable 'all_transfers' set but not used [-Wunused-but-set-variable] float transfers[MAX_PATCHES], *all_transfers; ^~~~~~~~~~~~~ tools/quake2/q2map/qrad.c: In function 'FreeTransfers': tools/quake2/q2map/qrad.c:325:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for ( i = 0 ; i < num_patches ; i++ ) ^ tools/quake2/q2map/qrad.c: In function 'WriteWorld': tools/quake2/q2map/qrad.c:351:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for ( j = 0, patch = patches ; j < num_patches ; j++, patch++ ) ^ tools/quake2/q2map/qrad.c: In function 'WriteGlView': tools/quake2/q2map/qrad.c:392:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for ( j = 0 ; j < num_patches ; j++ ) ^ tools/quake2/q2map/qrad.c: In function 'CollectLight': tools/quake2/q2map/qrad.c:428:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for ( i = 0, patch = patches ; i < num_patches ; i++, patch++ ) ^ tools/quake2/q2map/qrad.c: In function 'BounceLight': tools/quake2/q2map/qrad.c:494:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for ( i = 0 ; i < num_patches ; i++ ) ^ tools/quake2/q2map/qrad.c: In function 'CheckPatches': tools/quake2/q2map/qrad.c:525:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for ( i = 0 ; i < num_patches ; i++ ) ^ tools/quake2/q2map/qbsp.c: In function 'BSP_Main': tools/quake2/q2map/qbsp.c:383:20: warning: '.prt' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( path, "%s.prt", source ); ^~~~ tools/quake2/q2map/qbsp.c:383:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( path, "%s.prt", source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/qbsp.c:385:20: warning: '.lin' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( path, "%s.lin", source ); ^~~~ tools/quake2/q2map/qbsp.c:385:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( path, "%s.lin", source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/qbsp.c:397:20: warning: '.bsp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( out, "%s.bsp", source ); ^~~~ tools/quake2/q2map/qbsp.c:397:3: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( out, "%s.bsp", source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/portals.c: In function 'MakeNodePortal': tools/quake2/q2map/portals.c:387:38: warning: 'side' may be used uninitialized in this function [-Wmaybe-uninitialized] for ( p = node->portals ; p && w; p = p->next[side] ) ~~^~~~~~~~~~~~~~~ tools/quake2/q2map/portals.c:403:3: warning: 'dist' may be used uninitialized in this function [-Wmaybe-uninitialized] ChopWindingInPlace( &w, normal, dist, 0.1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/q2map/trace.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/trace.o tools/quake2/q2map/portals.c: In function 'SplitNodePortals': tools/quake2/q2map/portals.c:436:6: warning: 'side' may be used uninitialized in this function [-Wmaybe-uninitialized] int side; ^~~~ tools/quake2/q2map/textures.c: In function 'FindMiptex': tools/quake2/q2map/textures.c:70:21: warning: 'textures/' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( path, "%stextures/%s.wal", gamedir, name ); ^~~~~~~~~ tools/quake2/q2map/textures.c:70:3: note: 'sprintf' output 14 or more bytes (assuming 1037) into a destination of size 1024 sprintf( path, "%stextures/%s.wal", gamedir, name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/textures.c:48:21: warning: 'textures/' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( path, "%stextures/%s.m32", gamedir, name ); ^~~~~~~~~ tools/quake2/q2map/textures.c:48:3: note: 'sprintf' output 14 or more bytes (assuming 1037) into a destination of size 1024 sprintf( path, "%stextures/%s.m32", gamedir, name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/textures.c:57:22: warning: 'textures/' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( path, "%stextures/%s.m8", gamedir, name ); ^~~~~~~~~ tools/quake2/q2map/textures.c:57:4: note: 'sprintf' output 13 or more bytes (assuming 1036) into a destination of size 1024 sprintf( path, "%stextures/%s.m8", gamedir, name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/trace.c: In function 'MakeTnodes': tools/quake2/q2map/trace.c:90:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] tnodes = (tnode_t *)( ( (int)tnodes + 31 ) & ~31 ); ^ tools/quake2/q2map/trace.c:90:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] tnodes = (tnode_t *)( ( (int)tnodes + 31 ) & ~31 ); ^ cc tools/quake2/q2map/tree.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/tree.o tools/quake2/q2map/qrad.c: In function 'RAD_Main': tools/quake2/q2map/qrad.c:620:20: warning: '%s' directive writing up to 1023 bytes into a region of size between 993 and 1024 [-Wformat-overflow=] sprintf( name, "%s%s", inbase, source ); ^~ ~~~~~~ tools/quake2/q2map/qrad.c:620:2: note: 'sprintf' output between 1 and 1055 bytes into a destination of size 1024 sprintf( name, "%s%s", inbase, source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/qrad.c:634:20: warning: '%s' directive writing up to 1023 bytes into a region of size between 993 and 1024 [-Wformat-overflow=] sprintf( name, "%s%s", outbase, source ); ^~ ~~~~~~ tools/quake2/q2map/qrad.c:634:2: note: 'sprintf' output between 1 and 1055 bytes into a destination of size 1024 sprintf( name, "%s%s", outbase, source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/q2map/writebsp.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/q2map/writebsp.o cc libs/l_net/l_net.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/l_net/l_net.o tools/quake2/q2map/writebsp.c: In function 'EmitPlanes': tools/quake2/q2map/writebsp.c:49:6: warning: variable 'planetranslate' set but not used [-Wunused-but-set-variable] int planetranslate[MAX_MAP_PLANES]; ^~~~~~~~~~~~~~ cc libs/l_net/l_net_berkley.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/l_net/l_net_berkley.o cc tools/quake2/qdata/images.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata/images.o tools/quake2/q2map/qvis.c: In function 'VIS_Main': tools/quake2/q2map/qvis.c:555:20: warning: '%s' directive writing up to 1023 bytes into a region of size between 993 and 1024 [-Wformat-overflow=] sprintf( name, "%s%s", inbase, source ); ^~ ~~~~~~ tools/quake2/q2map/qvis.c:555:2: note: 'sprintf' output between 1 and 1055 bytes into a destination of size 1024 sprintf( name, "%s%s", inbase, source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/qvis.c:576:20: warning: '%s' directive writing up to 1023 bytes into a region of size between 993 and 1024 [-Wformat-overflow=] sprintf( name, "%s%s", outbase, source ); ^~ ~~~~~~ tools/quake2/q2map/qvis.c:576:2: note: 'sprintf' output between 1 and 1055 bytes into a destination of size 1024 sprintf( name, "%s%s", outbase, source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata/models.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata/models.o cc tools/quake2/qdata/qdata.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata/qdata.o tools/quake2/q2map/writebsp.c: In function 'SetModelNumbers': tools/quake2/q2map/writebsp.c:335:22: warning: '%i' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf( value, "*%i", models ); ^~ tools/quake2/q2map/writebsp.c:335:20: note: directive argument in the range [1, 2147483647] sprintf( value, "*%i", models ); ^~~~~ tools/quake2/q2map/writebsp.c:335:4: note: 'sprintf' output between 3 and 12 bytes into a destination of size 10 sprintf( value, "*%i", models ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/q2map/writebsp.c: In function 'SetLightStyles': tools/quake2/q2map/writebsp.c:387:22: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( value, "%i", 32 + j ); ^ tools/quake2/q2map/writebsp.c:387:3: note: 'sprintf' output between 3 and 11 bytes into a destination of size 10 sprintf( value, "%i", 32 + j ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/models.c: In function 'WriteModelFile': tools/quake2/qdata/models.c:142:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] model.framesize = (int)&( (daliasframe_t *)0 )->verts[model.num_xyz]; ^ tools/quake2/qdata/models.c:154:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for ( i = 0 ; i < sizeof( dmdl_t ) / 4 ; i++ ) ^ tools/quake2/qdata/models.c:138:6: warning: variable 'c_on' set but not used [-Wunused-but-set-variable] int c_on, c_off; ^~~~ tools/quake2/q2map/writebsp.c: In function 'EndBSPFile': tools/quake2/q2map/writebsp.c:523:20: warning: '.bsp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( path, "%s.bsp", source ); ^~~~ tools/quake2/q2map/writebsp.c:523:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( path, "%s.bsp", source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata/sprites.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata/sprites.o tools/quake2/qdata/images.c: In function 'AveragePixels': tools/quake2/qdata/images.c:413:6: warning: variable 'fullbright' set but not used [-Wunused-but-set-variable] int fullbright; ^~~~~~~~~~ tools/quake2/qdata/images.c: In function 'Cmd_Mip': tools/quake2/qdata/images.c:655:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] while ( (int)lump_p & 3 ) ^ tools/quake2/qdata/images.c: In function 'Cmd_Mipdir': tools/quake2/qdata/images.c:695:21: warning: too many arguments for format [-Wformat-extra-args] sprintf( filename, "%stextures", gamedir, mip_prefix ); ^~~~~~~~~~~~ cc tools/quake2/qdata/tables.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata/tables.o In file included from tools/quake2/qdata/qdata.c:248: /usr/include/sys/dir.h:38:2: warning: #warning "The information in this file should be obtained from " [-Wcpp] #warning "The information in this file should be obtained from " ^~~~~~~ /usr/include/sys/dir.h:39:2: warning: #warning "and is provided solely (and temporarily) for backward compatibility." [-Wcpp] #warning "and is provided solely (and temporarily) for backward compatibility." ^~~~~~~ tools/quake2/qdata/qdata.c: In function 'PackDirectory_r': tools/quake2/qdata/qdata.c:259:6: warning: unused variable 'len' [-Wunused-variable] int len; ^~~ tools/quake2/qdata/sprites.c: In function 'FinishSprite': tools/quake2/qdata/sprites.c:48:9: warning: variable 'curframe' set but not used [-Wunused-but-set-variable] int i, curframe; ^~~~~~~~ tools/quake2/qdata/sprites.c: In function 'Cmd_SpriteFrame': tools/quake2/qdata/sprites.c:139:17: warning: variable 'yh' set but not used [-Wunused-but-set-variable] int y,xl,yl,xh,yh,w,h; ^~ tools/quake2/qdata/sprites.c:139:14: warning: variable 'xh' set but not used [-Wunused-but-set-variable] int y,xl,yl,xh,yh,w,h; ^~ tools/quake2/qdata/sprites.c: In function 'FinishSprite': tools/quake2/qdata/sprites.c:60:24: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%s%s.sp2", gamedir, spritename ); ^~ ~~~~~~~~~~ tools/quake2/qdata/sprites.c:60:2: note: 'sprintf' output between 5 and 2051 bytes into a destination of size 1024 sprintf( savename, "%s%s.sp2", gamedir, spritename ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/sprites.c:65:21: warning: '.sp2' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%s.sp2", spritename ); ^~~~ tools/quake2/qdata/sprites.c:65:3: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( name, "%s.sp2", spritename ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/models.c: In function 'FindFrameFile.part.1': tools/quake2/qdata/models.c:818:22: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s%s.%s",cddir, base, suffix, trifileext ); ^~ ~~~~ tools/quake2/qdata/models.c:818:2: note: 'sprintf' output 3 or more bytes (assuming 1088) into a destination of size 1024 sprintf( file1, "%s/%s%s.%s",cddir, base, suffix, trifileext ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/models.c:826:22: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s.%s",cddir, base, suffix ); ^~ ~~~~ tools/quake2/qdata/models.c:826:2: note: 'sprintf' output between 3 and 1088 bytes into a destination of size 1024 sprintf( file1, "%s/%s.%s",cddir, base, suffix ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/tables.c: In function 'Cmd_Alphalight': tools/quake2/qdata/tables.c:140:24: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%s%s", gamedir, token ); ^~ ~~~~~ tools/quake2/qdata/tables.c:140:2: note: 'sprintf' output between 1 and 2047 bytes into a destination of size 1024 sprintf( savename, "%s%s", gamedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/tables.c: In function 'Cmd_Inverse16Table': tools/quake2/qdata/tables.c:158:24: warning: 'pics/16to8.dat' directive writing 14 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%spics/16to8.dat", gamedir ); ^~~~~~~~~~~~~~ tools/quake2/qdata/tables.c:158:2: note: 'sprintf' output between 15 and 1038 bytes into a destination of size 1024 sprintf( savename, "%spics/16to8.dat", gamedir ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/models.c: In function 'H_printf': tools/quake2/qdata/models.c:113:21: warning: '/tris.h' directive writing 7 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%s/tris.h", cddir ); ^~~~~~~ tools/quake2/qdata/models.c:113:3: note: 'sprintf' output between 8 and 1031 bytes into a destination of size 1024 sprintf( name, "%s/tris.h", cddir ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata/video.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata/video.o tools/quake2/qdata/qdata.c: In function 'ReleaseFile': tools/quake2/qdata/qdata.c:112:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( dest, "%s/%s", g_releasedir, filename ); ^ tools/quake2/qdata/qdata.c:112:3: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( dest, "%s/%s", g_releasedir, filename ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/sprites.c: In function 'Cmd_SpriteFrame': tools/quake2/qdata/sprites.c:188:24: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%s%s_%i.pcx", gamedir, spritename, sprite.numframes ); ^~ ~~~~~~~~~~ tools/quake2/qdata/sprites.c:188:2: note: 'sprintf' output between 7 and 2063 bytes into a destination of size 1024 sprintf( savename, "%s%s_%i.pcx", gamedir, spritename, sprite.numframes ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/models.c: In function 'FinishModel': tools/quake2/qdata/models.c:286:21: warning: '/tris.md2' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%s/tris.md2", cddir ); ^~~~~~~~~ tools/quake2/qdata/models.c:286:3: note: 'sprintf' output between 10 and 1033 bytes into a destination of size 1024 sprintf( name, "%s/tris.md2", cddir ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/models.c:283:21: warning: '%s' directive writing up to 63 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%s%s", gamedir, modelname ); ^~ ~~~~~~~~~ tools/quake2/qdata/models.c:283:3: note: 'sprintf' output between 1 and 1087 bytes into a destination of size 1024 sprintf( name, "%s%s", gamedir, modelname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/models.c:267:22: warning: '/tris.md2' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%s/tris.md2", cdpartial ); ^~~~~~~~~ tools/quake2/qdata/models.c:267:4: note: 'sprintf' output between 10 and 1033 bytes into a destination of size 1024 sprintf( name, "%s/tris.md2", cdpartial ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata_heretic2/common/bspfile.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/common/bspfile.o tools/quake2/qdata/video.c: In function 'FindNextChunk': tools/quake2/qdata/video.c:96:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if ( !strncmp( data_p, name, 4 ) ) { ^~~~~~ In file included from tools/quake2/qdata/qdata.h:25, from tools/quake2/qdata/video.c:22: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ tools/quake2/qdata/video.c: In function 'DumpChunks': tools/quake2/qdata/video.c:118:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf( "0x%x : %s (%d)\n", (int)( data_p - 4 ), str, iff_chunk_len ); ^ tools/quake2/qdata/video.c: In function 'GetWavinfo': tools/quake2/qdata/video.c:145:37: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if ( !( data_p && !strncmp( data_p + 8, "WAVE", 4 ) ) ) { ~~~~~~~^~~ In file included from tools/quake2/qdata/qdata.h:25, from tools/quake2/qdata/video.c:22: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ tools/quake2/qdata/video.c:181:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if ( !strncmp( data_p + 28, "mark", 4 ) ) { // this is not a proper parse, but it works with cooledit... ~~~~~~~^~~~ In file included from tools/quake2/qdata/qdata.h:25, from tools/quake2/qdata/video.c:22: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ tools/quake2/qdata/video.c: In function 'bwtCompare': tools/quake2/qdata/video.c:347:8: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] i1 = *(int *)elem1; ^ tools/quake2/qdata/video.c:348:8: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] i2 = *(int *)elem2; ^ tools/quake2/qdata/video.c: In function 'Huffman': tools/quake2/qdata/video.c:493:11: warning: variable 'maxchar' set but not used [-Wunused-but-set-variable] int max, maxchar; ^~~~~~~ tools/quake2/qdata/video.c: In function 'LZSS': tools/quake2/qdata/video.c:662:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if ( in.count >= sizeof( lzss_next ) / 4 ) { ^~ tools/quake2/qdata/video.c: In function 'Cmd_Video': tools/quake2/qdata/video.c:1197:11: warning: too many arguments for format [-Wformat-extra-args] printf( "counting ", frame ); ^~~~~~~~~~~ tools/quake2/qdata/video.c:1216:11: warning: too many arguments for format [-Wformat-extra-args] printf( "packing ", frame ); ^~~~~~~~~~ tools/quake2/qdata/video.c:1259:24: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf( "Total size: %i\n", ftell( output ) ); ~^ ~~~~~~~~~~~~~~~ %li tools/quake2/qdata/qdata.c: In function 'PackDirectory_r': tools/quake2/qdata/qdata.c:277:29: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( dirstring, "%s%s/%s", gamedir, dir, name ); ^~ tools/quake2/qdata/qdata.c:277:3: note: 'sprintf' output 2 or more bytes (assuming 1280) into a destination of size 1024 sprintf( dirstring, "%s%s/%s", gamedir, dir, name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/qdata.c: In function 'Cmd_Maps': tools/quake2/qdata/qdata.c:349:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] sprintf( map, "maps/%s.bsp", token ); ^~ ~~~~~ tools/quake2/qdata/qdata.c:349:3: note: 'sprintf' output between 10 and 1033 bytes into a destination of size 1024 sprintf( map, "maps/%s.bsp", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/qdata.c:357:20: warning: 'maps/' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( map, "%smaps/%s.bsp", gamedir, token ); ^~~~~ tools/quake2/qdata/qdata.c:357:3: note: 'sprintf' output between 10 and 2056 bytes into a destination of size 1024 sprintf( map, "%smaps/%s.bsp", gamedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/common/bspfile.c: In function 'LoadBSPFile': tools/quake2/qdata_heretic2/common/bspfile.c:390:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for ( i = 0 ; i < sizeof( dheader_t ) / 4 ; i++ ) ^ tools/quake2/qdata_heretic2/common/bspfile.c: In function 'LoadBSPFileTexinfo': tools/quake2/qdata_heretic2/common/bspfile.c:449:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for ( i = 0 ; i < sizeof( dheader_t ) / 4 ; i++ ) ^ tools/quake2/qdata/images.c: In function 'Cmd_Grab': tools/quake2/qdata/images.c:81:25: warning: 'pics/' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%spics/%s.pcx", gamedir, token ); ^~~~~ tools/quake2/qdata/images.c:81:3: note: 'sprintf' output between 10 and 2056 bytes into a destination of size 1024 sprintf( savename, "%spics/%s.pcx", gamedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/images.c:78:27: warning: '.pcx' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%s%s.pcx", gamedir, token + 1 ); ^~~~ tools/quake2/qdata/images.c:78:3: note: 'sprintf' output 5 or more bytes (assuming 1028) into a destination of size 1024 sprintf( savename, "%s%s.pcx", gamedir, token + 1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/images.c:89:25: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] sprintf( dest, "pics/%s.pcx", token ); ^~ ~~~~~ tools/quake2/qdata/images.c:89:4: note: 'sprintf' output between 10 and 1033 bytes into a destination of size 1024 sprintf( dest, "pics/%s.pcx", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/common/bspfile.c: In function 'SwapBSPFile': tools/quake2/qdata_heretic2/common/bspfile.c:220:28: warning: iteration 4 invokes undefined behavior [-Waggressive-loop-optimizations] texinfo[i].vecs[0][j] = LittleFloat( texinfo[i].vecs[0][j] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/common/bspfile.c:219:3: note: within this loop for ( j = 0 ; j < 8 ; j++ ) ^~~ tools/quake2/qdata/images.c: In function 'Cmd_Raw': tools/quake2/qdata/images.c:139:24: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%s%s.lmp", gamedir, token ); ^~ ~~~~~ tools/quake2/qdata/images.c:139:2: note: 'sprintf' output between 5 and 2051 bytes into a destination of size 1024 sprintf( savename, "%s%s.lmp", gamedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/images.c:142:21: warning: '.lmp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( dest, "%s.lmp", token ); ^~~~ tools/quake2/qdata/images.c:142:3: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( dest, "%s.lmp", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/images.c: In function 'Cmd_Colormap': tools/quake2/qdata/images.c:255:24: warning: 'pics/' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%spics/%s.pcx", gamedir, token ); ^~~~~ tools/quake2/qdata/images.c:255:2: note: 'sprintf' output between 10 and 2056 bytes into a destination of size 1024 sprintf( savename, "%spics/%s.pcx", gamedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/images.c:258:24: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] sprintf( dest, "pics/%s.pcx", token ); ^~ ~~~~~ tools/quake2/qdata/images.c:258:3: note: 'sprintf' output between 10 and 1033 bytes into a destination of size 1024 sprintf( dest, "pics/%s.pcx", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/models.c: In function 'BuildGlCmds': tools/quake2/qdata/models.c:566:6: warning: 'besttype' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( besttype == 1 ) { ^ tools/quake2/qdata/images.c: In function 'Cmd_Mip': tools/quake2/qdata/images.c:583:24: warning: 'textures/' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%stextures/%s/%s.wal", gamedir, mip_prefix, lumpname ); ^~~~~~~~~ tools/quake2/qdata/images.c:583:2: note: 'sprintf' output between 15 and 2124 bytes into a destination of size 1024 sprintf( filename, "%stextures/%s/%s.wal", gamedir, mip_prefix, lumpname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/images.c:599:24: warning: '%s' directive writing up to 1023 bytes into a region of size 32 [-Wformat-overflow=] sprintf( qtex->name, "%s/%s", mip_prefix, lumpname ); ^~ ~~~~~~~~~~ tools/quake2/qdata/images.c:599:2: note: 'sprintf' output between 2 and 1088 bytes into a destination of size 32 sprintf( qtex->name, "%s/%s", mip_prefix, lumpname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/images.c:601:29: warning: '%s' directive writing up to 1023 bytes into a region of size 32 [-Wformat-overflow=] sprintf( qtex->animname, "%s/%s", mip_prefix, animname ); ^~ ~~~~~~~~~~ tools/quake2/qdata/images.c:601:3: note: 'sprintf' output between 2 and 1088 bytes into a destination of size 32 sprintf( qtex->animname, "%s/%s", mip_prefix, animname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/video.c: In function 'LoadSoundtrack': tools/quake2/qdata/video.c:230:20: warning: 'video/' directive writing 6 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%svideo/%s/%s.wav", gamedir, base, base ); ^~~~~~ tools/quake2/qdata/video.c:230:2: note: 'sprintf' output between 12 and 1097 bytes into a destination of size 1024 sprintf( name, "%svideo/%s/%s.wav", gamedir, base, base ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata_heretic2/common/cmdlib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/common/cmdlib.o tools/quake2/qdata/images.c: In function 'Cmd_Mipdir': tools/quake2/qdata/images.c:695:24: warning: 'textures' directive writing 8 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%stextures", gamedir, mip_prefix ); ^~~~~~~~ tools/quake2/qdata/images.c:695:2: note: 'sprintf' output between 9 and 1032 bytes into a destination of size 1024 sprintf( filename, "%stextures", gamedir, mip_prefix ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/images.c:697:24: warning: 'textures/' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%stextures/%s", gamedir, mip_prefix ); ^~~~~~~~~ tools/quake2/qdata/images.c:697:2: note: 'sprintf' output between 10 and 2056 bytes into a destination of size 1024 sprintf( filename, "%stextures/%s", gamedir, mip_prefix ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/common/cmdlib.c: In function 'strlwr': tools/quake2/qdata_heretic2/common/cmdlib.c:91:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for ( i = 0; i < strlen( conv_str ); i++ ) ^ tools/quake2/qdata_heretic2/common/cmdlib.c: In function 'SetQdirFromPath': tools/quake2/qdata_heretic2/common/cmdlib.c:211:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for ( i = 0; i < strlen( qdir ); i++ ) ^ tools/quake2/qdata_heretic2/common/cmdlib.c:224:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for ( i = 0; i < strlen( gamedir ); i++ ) ^ tools/quake2/qdata_heretic2/common/cmdlib.c: In function 'ExpandPath': tools/quake2/qdata_heretic2/common/cmdlib.c:267:7: warning: the address of 'qdir' will always evaluate as 'true' [-Waddress] if ( !qdir ) { ^ tools/quake2/qdata_heretic2/common/cmdlib.c: In function 'ExpandGamePath': tools/quake2/qdata_heretic2/common/cmdlib.c:280:7: warning: the address of 'qdir' will always evaluate as 'true' [-Waddress] if ( !qdir ) { ^ tools/quake2/qdata/images.c: In function 'Cmd_Environment': tools/quake2/qdata/images.c:741:20: warning: 'env/' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%senv/", gamedir ); ^~~~ tools/quake2/qdata/images.c:741:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( name, "%senv/", gamedir ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/images.c:747:21: warning: 'env/' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%senv/%s%s.tga", gamedir, token, suf[i] ); ^~~~ tools/quake2/qdata/images.c:747:3: note: 'sprintf' output 9 or more bytes (assuming 2055) into a destination of size 1024 sprintf( name, "%senv/%s%s.tga", gamedir, token, suf[i] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/images.c:759:21: warning: 'env/' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%senv/%s%s.pcx", gamedir, token, suf[i] ); ^~~~ tools/quake2/qdata/images.c:759:3: note: 'sprintf' output 9 or more bytes (assuming 2055) into a destination of size 1024 sprintf( name, "%senv/%s%s.pcx", gamedir, token, suf[i] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/images.c:731:24: warning: '%s' directive writing up to 1023 bytes into a region of size 1020 [-Wformat-overflow=] sprintf( name, "env/%s%s.pcx", token, suf[i] ); ^~ ~~~~~ tools/quake2/qdata/images.c:731:4: note: 'sprintf' output 9 or more bytes (assuming 1032) into a destination of size 1024 sprintf( name, "env/%s%s.pcx", token, suf[i] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/images.c:733:24: warning: '%s' directive writing up to 1023 bytes into a region of size 1020 [-Wformat-overflow=] sprintf( name, "env/%s%s.tga", token, suf[i] ); ^~ ~~~~~ tools/quake2/qdata/images.c:733:4: note: 'sprintf' output 9 or more bytes (assuming 1032) into a destination of size 1024 sprintf( name, "env/%s%s.tga", token, suf[i] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata_heretic2/common/inout.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/common/inout.o tools/quake2/qdata_heretic2/common/inout.c: In function 'xml_NodeForVec': tools/quake2/qdata_heretic2/common/inout.c:69:26: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] ret = xmlNewNode( NULL, "point" ); ^~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:70:26: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( ret, buf ); ^~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c: In function 'xml_SendNode': tools/quake2/qdata_heretic2/common/inout.c:92:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] while ( pos < xml_buf->use ) ^ tools/quake2/qdata_heretic2/common/inout.c: In function 'xml_Select': tools/quake2/qdata_heretic2/common/inout.c:147:27: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] node = xmlNewNode( NULL, "select" ); ^~~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:148:27: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( node, buf ); ^~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:151:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:151:29: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~~~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:154:29: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] select = xmlNewNode( NULL, "brush" ); ^~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:155:29: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( select, buf ); ^~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c: In function 'xml_Point': tools/quake2/qdata_heretic2/common/inout.c:174:27: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] node = xmlNewNode( NULL, "pointmsg" ); ^~~~~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:175:27: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( node, msg ); ^~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:178:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:178:29: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~~~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:181:28: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] point = xmlNewNode( NULL, "point" ); ^~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:182:28: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( point, buf ); ^~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c: In function 'xml_Winding': tools/quake2/qdata_heretic2/common/inout.c:198:27: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] node = xmlNewNode( NULL, "windingmsg" ); ^~~~~~~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:199:27: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( node, msg ); ^~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:202:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:202:29: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~~~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:215:30: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] winding = xmlNewNode( NULL, "winding" ); ^~~~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:216:30: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( winding, buf ); ^~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c: In function 'Broadcast_Setup': tools/quake2/qdata_heretic2/common/inout.c:238:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Net_StringToAddress( (char *)dest, &address ); ^ tools/quake2/qdata_heretic2/common/inout.c: In function 'FPrintf': tools/quake2/qdata_heretic2/common/inout.c:280:20: warning: pointer targets in passing argument 1 of 'xmlNewDoc' differ in signedness [-Wpointer-sign] doc = xmlNewDoc( "1.0" ); ^~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:780:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewDoc (const xmlChar *version); ^~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:281:48: warning: pointer targets in passing argument 3 of 'xmlNewDocRawNode' differ in signedness [-Wpointer-sign] doc->children = xmlNewDocRawNode( doc, NULL, "q3map_feedback", NULL ); ^~~~~~~~~~~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:902:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewDocRawNode (xmlDocPtr doc, ^~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:284:27: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness [-Wpointer-sign] node = xmlNewNode( NULL, "message" ); ^~~~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:837:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNewNode (xmlNsPtr ns, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:285:27: warning: pointer targets in passing argument 2 of 'xmlNodeSetContent' differ in signedness [-Wpointer-sign] xmlNodeSetContent( node, buf ); ^~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1060:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlNodeSetContent (xmlNodePtr cur, ^~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:288:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c:288:29: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] xmlSetProp( node, "level", (char *)&level ); ^~~~~~~~~~~~~~ In file included from tools/quake2/qdata_heretic2/common/inout.h:26, from tools/quake2/qdata_heretic2/common/inout.c:32: /usr/local/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' xmlSetProp (xmlNodePtr node, ^~~~~~~~~~ tools/quake2/qdata_heretic2/common/inout.c: In function 'Error': tools/quake2/qdata_heretic2/common/inout.c:341:57: warning: '%s' directive writing up to 4095 bytes into a region of size 4064 [-Wformat-overflow=] sprintf( out_buffer, "************ ERROR ************\n%s\n", tmp ); ^~ ~~~ tools/quake2/qdata_heretic2/common/inout.c:341:2: note: 'sprintf' output between 34 and 4129 bytes into a destination of size 4096 sprintf( out_buffer, "************ ERROR ************\n%s\n", tmp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/video.c: In function 'LoadFrame': tools/quake2/qdata/video.c:1085:21: warning: 'video/' directive writing 6 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%svideo/%s/%s%i%i%i.pcx", gamedir, base, base, ten2, ten1, ten0 ); ^~~~~~ tools/quake2/qdata/video.c:1085:18: note: directive argument in the range [-21474836, 21474836] sprintf( name, "%svideo/%s/%s%i%i%i.pcx", gamedir, base, base, ten2, ten1, ten0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/video.c:1085:18: note: directive argument in the range [-214748364, 214748364] tools/quake2/qdata/video.c:1085:18: note: directive argument in the range [-9, 9] tools/quake2/qdata/video.c:1085:3: note: 'sprintf' output 15 or more bytes (assuming 1056) into a destination of size 1024 sprintf( name, "%svideo/%s/%s%i%i%i.pcx", gamedir, base, base, ten2, ten1, ten0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/video.c:1082:21: warning: 'video/' directive writing 6 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%svideo/%s/%s%i%i%i%i.pcx", gamedir, base, base, ten3, ten2, ten1, ten0 ); ^~~~~~ tools/quake2/qdata/video.c:1082:18: note: directive argument in the range [-2147483, 2147483] sprintf( name, "%svideo/%s/%s%i%i%i%i.pcx", gamedir, base, base, ten3, ten2, ten1, ten0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/video.c:1082:18: note: directive argument in the range [-21474836, 21474836] tools/quake2/qdata/video.c:1082:18: note: directive argument in the range [-214748364, 214748364] tools/quake2/qdata/video.c:1082:18: note: directive argument in the range [-9, 9] tools/quake2/qdata/video.c:1082:3: note: 'sprintf' output 16 or more bytes (assuming 1064) into a destination of size 1024 sprintf( name, "%svideo/%s/%s%i%i%i%i.pcx", gamedir, base, base, ten3, ten2, ten1, ten0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/common/bspfile.c: In function 'UnparseEntities': tools/quake2/qdata_heretic2/common/bspfile.c:721:29: warning: '%s' directive writing up to 1023 bytes into a region of size between 1021 and 2044 [-Wformat-overflow=] sprintf( line, "\"%s\" \"%s\"\n", key, value ); ^~ ~~~~~ tools/quake2/qdata_heretic2/common/bspfile.c:721:4: note: 'sprintf' output between 7 and 2053 bytes into a destination of size 2048 sprintf( line, "\"%s\" \"%s\"\n", key, value ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/video.c: In function 'Cmd_Video': tools/quake2/qdata/video.c:1153:24: warning: 'video/' directive writing 6 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%svideo/%s.cin", gamedir, base ); ^~~~~~ tools/quake2/qdata/video.c:1153:2: note: 'sprintf' output between 11 and 1065 bytes into a destination of size 1024 sprintf( savename, "%svideo/%s.cin", gamedir, base ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/video.c:1171:21: warning: 'video/' directive writing 6 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%svideo/%s/%s000.pcx", gamedir, base, base ); ^~~~~~ tools/quake2/qdata/video.c:1171:3: note: 'sprintf' output between 15 and 1100 bytes into a destination of size 1024 sprintf( name, "%svideo/%s/%s000.pcx", gamedir, base, base ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/video.c:1168:21: warning: 'video/' directive writing 6 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%svideo/%s/%s0000.pcx", gamedir, base, base ); ^~~~~~ tools/quake2/qdata/video.c:1168:3: note: 'sprintf' output between 16 and 1101 bytes into a destination of size 1024 sprintf( name, "%svideo/%s/%s0000.pcx", gamedir, base, base ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata_heretic2/common/l3dslib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/common/l3dslib.o cc tools/quake2/qdata_heretic2/common/lbmlib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/common/lbmlib.o tools/quake2/qdata/models.c: In function 'Cmd_Base': tools/quake2/qdata/models.c:723:22: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s.%s", cdarchive, token, trifileext ); ^~ ~~~~~ tools/quake2/qdata/models.c:723:2: note: 'sprintf' output 3 or more bytes (assuming 2049) into a destination of size 1024 sprintf( file1, "%s/%s.%s", cdarchive, token, trifileext ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/models.c:728:22: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s.%s", cddir, token, trifileext ); ^~ ~~~~~ tools/quake2/qdata/models.c:728:2: note: 'sprintf' output 3 or more bytes (assuming 2049) into a destination of size 1024 sprintf( file1, "%s/%s.%s", cddir, token, trifileext ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/models.c: In function 'GrabFrame': tools/quake2/qdata/models.c:858:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s", cdarchive, framefile ); ^ tools/quake2/qdata/models.c:858:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s", cdarchive, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/models.c:861:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s",cddir, framefile ); ^ tools/quake2/qdata/models.c:861:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s",cddir, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata_heretic2/common/mathlib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/common/mathlib.o tools/quake2/qdata_heretic2/common/mathlib.c:97: warning: ignoring #pragma optimize [-Wunknown-pragmas] #pragma optimize("g", off) // went back to turning optimization off, tools/quake2/qdata_heretic2/common/mathlib.c:139: warning: ignoring #pragma optimize [-Wunknown-pragmas] #pragma optimize("", on) cc tools/quake2/qdata_heretic2/common/md4.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/common/md4.o cc tools/quake2/qdata_heretic2/common/path_init.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/common/path_init.o tools/quake2/qdata_heretic2/common/cmdlib.c: In function 'ExpandPathAndArchive': tools/quake2/qdata_heretic2/common/cmdlib.c:298:31: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( archivename, "%s/%s", archivedir, path ); ^ tools/quake2/qdata_heretic2/common/cmdlib.c:298:3: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( archivename, "%s/%s", archivedir, path ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata_heretic2/common/qfiles.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/common/qfiles.o tools/quake2/qdata_heretic2/common/lbmlib.c: In function 'LoadTGA': tools/quake2/qdata_heretic2/common/lbmlib.c:889:17: warning: 'alphabyte' may be used uninitialized in this function [-Wmaybe-uninitialized] rowBuf[3] = alphabyte; ~~~~~~~~~~^~~~~~~~~~~ tools/quake2/qdata_heretic2/common/lbmlib.c:888:17: warning: 'blue' may be used uninitialized in this function [-Wmaybe-uninitialized] rowBuf[2] = blue; ~~~~~~~~~~^~~~~~ tools/quake2/qdata_heretic2/common/lbmlib.c:887:17: warning: 'green' may be used uninitialized in this function [-Wmaybe-uninitialized] rowBuf[1] = green; ~~~~~~~~~~^~~~~~~ tools/quake2/qdata_heretic2/common/lbmlib.c:886:17: warning: 'red' may be used uninitialized in this function [-Wmaybe-uninitialized] rowBuf[0] = red; ~~~~~~~~~~^~~~~ tools/quake2/qdata_heretic2/common/path_init.c: In function 'InitPaths': tools/quake2/qdata_heretic2/common/path_init.c:326:3: warning: statement with no effect [-Wunused-value] for ( j; j < *argc && argv[ j ] == NULL; j++ ) ; ^~~ cc tools/quake2/qdata_heretic2/common/scriplib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/common/scriplib.o cc tools/quake2/qdata_heretic2/common/threads.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/common/threads.o tools/quake2/qdata_heretic2/common/path_init.c: In function 'LokiInitPaths': tools/quake2/qdata_heretic2/common/path_init.c:137:13: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized] last[ 0 ] = path[ 0 ]; ~~~~~~~~~~^~~~~~~~~~~ cc tools/quake2/qdata_heretic2/common/token.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/common/token.o tools/quake2/qdata_heretic2/common/token.c:88:1: warning: missing braces around initializer [-Wmissing-braces] { ^ tools/quake2/qdata_heretic2/common/threads.c:417:22: warning: extra tokens at end of #ifdef directive #ifdef __DragonFly__ ) || defined ( __linux__ ^ tools/quake2/qdata_heretic2/common/threads.c: In function 'RunThreadsOn': tools/quake2/qdata_heretic2/common/threads.c:555:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if ( pthread_create( &work_threads[i], NULL, (void*)func, (void*)i ) != 0 ) { ^ tools/quake2/qdata/models.c: In function 'Cmd_Skin': tools/quake2/qdata/models.c:1030:21: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( name, "%s/%s.lbm", cdarchive, token ); ^~ ~~~~~ tools/quake2/qdata/models.c:1030:2: note: 'sprintf' output between 6 and 2052 bytes into a destination of size 1024 sprintf( name, "%s/%s.lbm", cdarchive, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata_heretic2/common/trilib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/common/trilib.o tools/quake2/qdata_heretic2/common/trilib.c: In function 'ByteSwapTri': tools/quake2/qdata_heretic2/common/trilib.c:76:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for ( i = 0 ; i < sizeof( tf_triangle ) / 4 ; i++ ) ^ cc tools/quake2/qdata_heretic2/qcommon/reference.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/qcommon/reference.o cc tools/quake2/qdata_heretic2/qcommon/resourcemanager.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/qcommon/resourcemanager.o tools/quake2/qdata/models.c:1041:26: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( savename, "%s/%s.pcx", cddir, token ); ^~ ~~~~~ tools/quake2/qdata/models.c:1041:3: note: 'sprintf' output between 6 and 2052 bytes into a destination of size 1024 sprintf( savename, "%s/%s.pcx", cddir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata_heretic2/qcommon/skeletons.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/qcommon/skeletons.o tools/quake2/qdata/models.c:1037:27: warning: '.pcx' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%s%s.pcx", gamedir, g_skins[model.num_skins] ); ^~~~ tools/quake2/qdata/models.c:1037:3: note: 'sprintf' output 5 or more bytes (assuming 1028) into a destination of size 1024 sprintf( savename, "%s%s.pcx", gamedir, g_skins[model.num_skins] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata_heretic2/animcomp.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/animcomp.o tools/quake2/qdata/models.c: In function 'Cmd_Cd': tools/quake2/qdata/models.c:1149:30: warning: '%s' directive writing up to 1023 bytes into a region of size 1017 [-Wformat-overflow=] sprintf( cdpartial, "models/%s", token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/animcomp.c: In function 'AnimCompressToBytes': tools/quake2/qdata_heretic2/animcomp.c:155:10: warning: variable 'nv' set but not used [-Wunused-but-set-variable] int k,l,nv,j; ^~ tools/quake2/qdata/models.c:1149:2: note: 'sprintf' output between 8 and 1031 bytes into a destination of size 1024 sprintf( cdpartial, "models/%s", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/models.c:1150:32: warning: '%s' directive writing up to 1023 bytes into a region of size 1017 [-Wformat-overflow=] sprintf( cdarchive, "%smodels/%s", gamedir + strlen( qdir ), token ); ^~ ~~~~~ tools/quake2/qdata/models.c:1150:2: note: 'sprintf' output 8 or more bytes (assuming 1031) into a destination of size 1024 sprintf( cdarchive, "%smodels/%s", gamedir + strlen( qdir ), token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata/models.c:1151:21: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( cddir, "%s%s", gamedir, cdpartial ); ^~ ~~~~~~~~~ tools/quake2/qdata/models.c:1151:2: note: 'sprintf' output between 1 and 2047 bytes into a destination of size 1024 sprintf( cddir, "%s%s", gamedir, cdpartial ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata_heretic2/book.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/book.o cc tools/quake2/qdata_heretic2/fmodels.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/fmodels.o tools/quake2/qdata_heretic2/book.c: In function 'Cmd_Book': tools/quake2/qdata_heretic2/book.c:239:27: warning: pointer targets in passing argument 1 of 'CreateBook32' differ in signedness [-Wpointer-sign] qtex32 = CreateBook32( bufferl, coords[i].w, coords[i].h, &size ); ^~~~~~~ tools/quake2/qdata_heretic2/book.c:64:13: note: expected 'long int *' but argument is of type 'long unsigned int *' miptex32_t *CreateBook32( long *buffer, int w, int h, int *FinalSize ){ ^~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c: In function 'strupr': tools/quake2/qdata_heretic2/fmodels.c:156:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for ( i = 0 ; i < strlen( string ); i++ ) ^ tools/quake2/qdata_heretic2/fmodels.c: In function 'WriteModelFile': tools/quake2/qdata_heretic2/fmodels.c:257:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fmheader.framesize = (int)&( (fmaliasframe_t *)0 )->verts[fmheader.num_xyz]; ^ tools/quake2/qdata_heretic2/fmodels.c:240:6: warning: variable 'c_on' set but not used [-Wunused-but-set-variable] int c_on, c_off; ^~~~ tools/quake2/qdata_heretic2/fmodels.c: In function 'CompressFrames': tools/quake2/qdata_heretic2/fmodels.c:649:59: warning: pointer targets in passing argument 5 of 'AnimCompressToBytes' differ in signedness [-Wpointer-sign] AnimCompressToBytes( g->trans,g->scale,g->mat,g->ccomp,g->cbase,g->cscale,g->coffset,g->bmin,g->bmax ); ~^~~~~~~ In file included from tools/quake2/qdata_heretic2/fmodels.c:23: tools/quake2/qdata_heretic2/animcomp.h:32:6: note: expected 'unsigned char *' but argument is of type 'char *' void AnimCompressToBytes( float *trans,float *scale,char *mat,char *ccomp,unsigned char *cbase,float *cscale,float *coffset,float *bmin,float *bmax ); ^~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c: In function 'BuildGlCmds': tools/quake2/qdata_heretic2/fmodels.c:1363:33: warning: comparison of integer expressions of different signedness: 'int' and 'qboolean' {aka 'enum '} [-Wsign-compare] if ( used[i] || trans_check != translucent[i] ) { ^~ tools/quake2/qdata_heretic2/common/trilib.c: In function 'HandleHRCModel': tools/quake2/qdata_heretic2/common/trilib.c:489:37: warning: 'vertIndexBase' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( g_skelModel.clustered == -1 && !vertIndexBase ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/book.c:314:26: warning: 'book/' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%sbook/%s/%s_%s.m8", gamedir, book_prefix, lumpname, coords[i].name ); ^~~~~ tools/quake2/qdata_heretic2/book.c:314:4: note: 'sprintf' output 11 or more bytes (assuming 2120) into a destination of size 1024 sprintf( filename, "%sbook/%s/%s_%s.m8", gamedir, book_prefix, lumpname, coords[i].name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/book.c:315:26: warning: '%s' directive writing up to 1023 bytes into a region of size 32 [-Wformat-overflow=] sprintf( qtex->name, "%s/%s_%s.m8", book_prefix, lumpname, coords[i].name ); ^~ ~~~~~~~~~~~ tools/quake2/qdata_heretic2/book.c:315:4: note: 'sprintf' output 6 or more bytes (assuming 1092) into a destination of size 32 sprintf( qtex->name, "%s/%s_%s.m8", book_prefix, lumpname, coords[i].name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/book.c:247:26: warning: 'book/' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%sbook/%s/%s_%s.m32", gamedir, book_prefix, lumpname, coords[i].name ); ^~~~~ tools/quake2/qdata_heretic2/book.c:247:4: note: 'sprintf' output 12 or more bytes (assuming 2121) into a destination of size 1024 sprintf( filename, "%sbook/%s/%s_%s.m32", gamedir, book_prefix, lumpname, coords[i].name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/book.c:248:28: warning: '%s' directive writing up to 1023 bytes into a region of size 128 [-Wformat-overflow=] sprintf( qtex32->name, "%s/%s_%s.m32", book_prefix, lumpname, coords[i].name ); ^~ ~~~~~~~~~~~ tools/quake2/qdata_heretic2/book.c:248:4: note: 'sprintf' output 7 or more bytes (assuming 1093) into a destination of size 128 sprintf( qtex32->name, "%s/%s_%s.m32", book_prefix, lumpname, coords[i].name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/book.c:342:24: warning: 'Book/' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%sBook/%s/%s.bk", gamedir, book_prefix, lumpname ); ^~~~~ tools/quake2/qdata_heretic2/book.c:342:2: note: 'sprintf' output between 10 and 2119 bytes into a destination of size 1024 sprintf( filename, "%sBook/%s/%s.bk", gamedir, book_prefix, lumpname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/book.c: In function 'Cmd_Bookdir': tools/quake2/qdata_heretic2/book.c:358:24: warning: 'Book' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%sBook", gamedir ); ^~~~ tools/quake2/qdata_heretic2/book.c:358:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( filename, "%sBook", gamedir ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/book.c:360:24: warning: 'Book/' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%sBook/%s", gamedir, book_prefix ); ^~~~~ tools/quake2/qdata_heretic2/book.c:360:2: note: 'sprintf' output between 6 and 2052 bytes into a destination of size 1024 sprintf( filename, "%sBook/%s", gamedir, book_prefix ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata_heretic2/images.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/images.o cc tools/quake2/qdata_heretic2/jointed.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/jointed.o In file included from tools/quake2/qdata_heretic2/jointed.c:26: tools/quake2/qdata_heretic2/qcommon/angles.h:75: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable : 4305) // 'initializing' : truncation from 'const double ' to 'float ' tools/quake2/qdata_heretic2/images.c: In function 'CreateMip': tools/quake2/qdata_heretic2/images.c:279:40: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for ( scaled_width = 1 ; scaled_width < width ; scaled_width <<= 1 ) ^ tools/quake2/qdata_heretic2/images.c:281:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ( 1 && scaled_width > width && 1 ) { ^ tools/quake2/qdata_heretic2/images.c:284:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for ( scaled_height = 1 ; scaled_height < height ; scaled_height <<= 1 ) ^ tools/quake2/qdata_heretic2/images.c:286:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ( 1 && scaled_height > height && 1 ) { ^ tools/quake2/qdata_heretic2/images.c:321:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ( scaled_width == width && scaled_height == height ) { ^~ tools/quake2/qdata_heretic2/images.c:321:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ( scaled_width == width && scaled_height == height ) { ^~ tools/quake2/qdata_heretic2/images.c: In function 'CreateMip32': tools/quake2/qdata_heretic2/images.c:434:40: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for ( scaled_width = 1 ; scaled_width < width ; scaled_width <<= 1 ) ^ tools/quake2/qdata_heretic2/images.c:436:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ( 1 && scaled_width > width && 1 ) { ^ tools/quake2/qdata_heretic2/images.c:439:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for ( scaled_height = 1 ; scaled_height < height ; scaled_height <<= 1 ) ^ tools/quake2/qdata_heretic2/images.c:441:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ( 1 && scaled_height > height && 1 ) { ^ tools/quake2/qdata_heretic2/images.c:479:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ( scaled_width == width && scaled_height == height ) { ^~ tools/quake2/qdata_heretic2/images.c:479:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ( scaled_width == width && scaled_height == height ) { ^~ tools/quake2/qdata_heretic2/images.c: In function 'AveragePixels': tools/quake2/qdata_heretic2/images.c:875:6: warning: variable 'fullbright' set but not used [-Wunused-but-set-variable] int fullbright; ^~~~~~~~~~ tools/quake2/qdata_heretic2/images.c: In function 'Cmd_Mip': tools/quake2/qdata_heretic2/images.c:1087:5: warning: enumeration value 'pt_gl' not handled in switch [-Wswitch] switch ( mp->type ) ^~~~~~ tools/quake2/qdata_heretic2/jointed.c: In function 'LoadHRCJointList': tools/quake2/qdata_heretic2/jointed.c:174:6: warning: variable 'baseJoint' set but not used [-Wunused-but-set-variable] int baseJoint; ^~~~~~~~~ At top level: tools/quake2/qdata_heretic2/jointed.c:159:13: warning: 'ParseTranslation3' defined but not used [-Wunused-function] static void ParseTranslation3( vec3_t in ){ ^~~~~~~~~~~~~~~~~ cc tools/quake2/qdata_heretic2/models.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/models.o cc tools/quake2/qdata_heretic2/pics.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/pics.o tools/quake2/qdata_heretic2/models.c: In function 'WriteCommonModelFile': tools/quake2/qdata_heretic2/models.c:176:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] model.framesize = (int)&( (daliasframe_t *)0 )->verts[model.num_xyz]; ^ tools/quake2/qdata_heretic2/models.c:187:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for ( i = 0 ; i < sizeof( dmdl_t ) / 4 ; i++ ) ^ tools/quake2/qdata_heretic2/models.c:173:6: warning: variable 'c_on' set but not used [-Wunused-but-set-variable] int c_on, c_off; ^~~~ tools/quake2/qdata_heretic2/models.c: In function 'GrabGlobals': tools/quake2/qdata_heretic2/models.c:1560:15: warning: variable 'fr' set but not used [-Wunused-but-set-variable] frame_t *fr; ^~ tools/quake2/qdata_heretic2/models.c: In function 'MODELCMD_Modelname': tools/quake2/qdata_heretic2/models.c:1798:30: warning: parameter 'modeltype' set but not used [-Wunused-but-set-parameter] void MODELCMD_Modelname( int modeltype ){ ~~~~^~~~~~~~~ tools/quake2/qdata_heretic2/models.c: In function 'MODELCMD_Origin': tools/quake2/qdata_heretic2/models.c:1833:27: warning: parameter 'modeltype' set but not used [-Wunused-but-set-parameter] void MODELCMD_Origin( int modeltype ){ ~~~~^~~~~~~~~ tools/quake2/qdata_heretic2/models.c: In function 'MODELCMD_ScaleUp': tools/quake2/qdata_heretic2/models.c:1899:28: warning: parameter 'modeltype' set but not used [-Wunused-but-set-parameter] void MODELCMD_ScaleUp( int modeltype ){ ~~~~^~~~~~~~~ tools/quake2/qdata_heretic2/models.c: In function 'MODELCMD_Skinsize': tools/quake2/qdata_heretic2/models.c:1949:29: warning: parameter 'modeltype' set but not used [-Wunused-but-set-parameter] void MODELCMD_Skinsize( int modeltype ){ ~~~~^~~~~~~~~ tools/quake2/qdata_heretic2/pics.c: In function 'Cmd_Pic': tools/quake2/qdata_heretic2/pics.c:134:30: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] sprintf( filename, "%spics/%s/%s.m8", g_outputDir, pic_prefix, lumpname ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/pics.c:134:3: note: 'sprintf' output 10 or more bytes (assuming 1160) into a destination of size 1024 sprintf( filename, "%spics/%s/%s.m8", g_outputDir, pic_prefix, lumpname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/pics.c:165:25: warning: '%s' directive writing up to 1023 bytes into a region of size 32 [-Wformat-overflow=] sprintf( qtex->name, "%s/%s", pic_prefix, lumpname ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/pics.c:165:3: note: 'sprintf' output between 2 and 1152 bytes into a destination of size 32 sprintf( qtex->name, "%s/%s", pic_prefix, lumpname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/pics.c:167:30: warning: '%s' directive writing up to 1023 bytes into a region of size 32 [-Wformat-overflow=] sprintf( qtex->animname, "%s/%s", pic_prefix, animname ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/pics.c:167:4: note: 'sprintf' output between 2 and 1152 bytes into a destination of size 32 sprintf( qtex->animname, "%s/%s", pic_prefix, animname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/pics.c:86:30: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] sprintf( filename, "%spics/%s/%s.m32", g_outputDir, pic_prefix, lumpname ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/pics.c:86:3: note: 'sprintf' output 11 or more bytes (assuming 1161) into a destination of size 1024 sprintf( filename, "%spics/%s/%s.m32", g_outputDir, pic_prefix, lumpname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/pics.c:119:27: warning: '%s' directive writing up to 1023 bytes into a region of size 128 [-Wformat-overflow=] sprintf( qtex32->name, "%s/%s", pic_prefix, lumpname ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/pics.c:119:3: note: 'sprintf' output between 2 and 1152 bytes into a destination of size 128 sprintf( qtex32->name, "%s/%s", pic_prefix, lumpname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/pics.c:121:32: warning: '%s' directive writing up to 1023 bytes into a region of size 128 [-Wformat-overflow=] sprintf( qtex32->animname, "%s/%s", pic_prefix, animname ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/pics.c:121:4: note: 'sprintf' output between 2 and 1152 bytes into a destination of size 128 sprintf( qtex32->animname, "%s/%s", pic_prefix, animname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/pics.c: In function 'Cmd_Picdir': tools/quake2/qdata_heretic2/pics.c:194:29: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] sprintf( filename, "%sPics/%s", g_outputDir, pic_prefix ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/pics.c:194:2: note: 'sprintf' output 6 or more bytes (assuming 1029) into a destination of size 1024 sprintf( filename, "%sPics/%s", g_outputDir, pic_prefix ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c: In function 'Cmd_Grab': tools/quake2/qdata_heretic2/images.c:543:25: warning: 'pics/' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%spics/%s.pcx", gamedir, token ); ^~~~~ tools/quake2/qdata_heretic2/images.c:543:3: note: 'sprintf' output between 10 and 2056 bytes into a destination of size 1024 sprintf( savename, "%spics/%s.pcx", gamedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:540:27: warning: '.pcx' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%s%s.pcx", gamedir, token + 1 ); ^~~~ tools/quake2/qdata_heretic2/images.c:540:3: note: 'sprintf' output 5 or more bytes (assuming 1028) into a destination of size 1024 sprintf( savename, "%s%s.pcx", gamedir, token + 1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:551:25: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] sprintf( dest, "pics/%s.pcx", token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/images.c:551:4: note: 'sprintf' output between 10 and 1033 bytes into a destination of size 1024 sprintf( dest, "pics/%s.pcx", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata_heretic2/qdata.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/qdata.o tools/quake2/qdata_heretic2/models.c: In function 'FindFrameFile.part.2': tools/quake2/qdata_heretic2/models.c:1338:22: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s%s.%s",cddir, base, suffix, "hrc" ); ^~ ~~~~ tools/quake2/qdata_heretic2/models.c:1338:2: note: 'sprintf' output between 6 and 1091 bytes into a destination of size 1024 sprintf( file1, "%s/%s%s.%s",cddir, base, suffix, "hrc" ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1345:22: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s%s.%s",cddir, base, suffix, "asc" ); ^~ ~~~~ tools/quake2/qdata_heretic2/models.c:1345:2: note: 'sprintf' output between 6 and 1091 bytes into a destination of size 1024 sprintf( file1, "%s/%s%s.%s",cddir, base, suffix, "asc" ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1352:22: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s%s.%s",cddir, base, suffix, "tri" ); ^~ ~~~~ tools/quake2/qdata_heretic2/models.c:1352:2: note: 'sprintf' output between 6 and 1091 bytes into a destination of size 1024 sprintf( file1, "%s/%s%s.%s",cddir, base, suffix, "tri" ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1359:22: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s%s.%s",cddir, base, suffix, "3ds" ); ^~ ~~~~ tools/quake2/qdata_heretic2/models.c:1359:2: note: 'sprintf' output between 6 and 1091 bytes into a destination of size 1024 sprintf( file1, "%s/%s%s.%s",cddir, base, suffix, "3ds" ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1366:22: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s%s.%s",cddir, base, suffix, "htr" ); ^~ ~~~~ cc tools/quake2/qdata_heretic2/qd_skeletons.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/qd_skeletons.o tools/quake2/qdata_heretic2/models.c:1366:2: note: 'sprintf' output between 6 and 1091 bytes into a destination of size 1024 sprintf( file1, "%s/%s%s.%s",cddir, base, suffix, "htr" ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1374:22: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s.%s",cddir, base, suffix ); ^~ ~~~~ tools/quake2/qdata_heretic2/models.c:1374:2: note: 'sprintf' output between 3 and 1088 bytes into a destination of size 1024 sprintf( file1, "%s/%s.%s",cddir, base, suffix ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c: In function 'Cmd_Raw': tools/quake2/qdata_heretic2/images.c:601:24: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%s%s.lmp", gamedir, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/images.c:601:2: note: 'sprintf' output between 5 and 2051 bytes into a destination of size 1024 sprintf( savename, "%s%s.lmp", gamedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:604:21: warning: '.lmp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( dest, "%s.lmp", token ); ^~~~ tools/quake2/qdata_heretic2/images.c:604:3: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( dest, "%s.lmp", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tools/quake2/qdata_heretic2/qd_skeletons.c:25: tools/quake2/qdata_heretic2/qcommon/angles.h:75: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable : 4305) // 'initializing' : truncation from 'const double ' to 'float ' tools/quake2/qdata_heretic2/qdata.c: In function 'PackDirectory_r': tools/quake2/qdata_heretic2/qdata.c:253:6: warning: unused variable 'len' [-Wunused-variable] int len; ^~~ tools/quake2/qdata_heretic2/models.c: In function 'H_printf': tools/quake2/qdata_heretic2/models.c:148:21: warning: '/tris.h' directive writing 7 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%s/tris.h", cddir ); ^~~~~~~ tools/quake2/qdata_heretic2/models.c:148:3: note: 'sprintf' output between 8 and 1031 bytes into a destination of size 1024 sprintf( name, "%s/tris.h", cddir ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/qd_skeletons.c: In function 'GrabModelTransform': tools/quake2/qdata_heretic2/qd_skeletons.c:859:15: warning: variable 'fr' set but not used [-Wunused-but-set-variable] fmframe_t *fr; ^~ At top level: tools/quake2/qdata_heretic2/qd_skeletons.c:341:13: warning: 'ParseTranslation3d' defined but not used [-Wunused-function] static void ParseTranslation3d( vec3d_t in ){ ^~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/qd_skeletons.c:332:13: warning: 'ParseTranslation3' defined but not used [-Wunused-function] static void ParseTranslation3( vec3_t in ){ ^~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/qd_skeletons.c:314:13: warning: 'ParseRotation3' defined but not used [-Wunused-function] static void ParseRotation3( vec3_t in ){ ^~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/qd_skeletons.c:296:13: warning: 'ParseVec3' defined but not used [-Wunused-function] static void ParseVec3( vec3_t in ){ ^~~~~~~~~ tools/quake2/qdata_heretic2/qdata.c: In function 'ReleaseFile': tools/quake2/qdata_heretic2/qdata.c:120:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( dest, "%s/%s", g_releasedir, filename ); ^ tools/quake2/qdata_heretic2/qdata.c:120:3: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( dest, "%s/%s", g_releasedir, filename ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/qdata.c: In function 'PackDirectory_r': tools/quake2/qdata_heretic2/qdata.c:271:29: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( dirstring, "%s%s/%s", gamedir, dir, name ); ^~ tools/quake2/qdata_heretic2/qdata.c:271:3: note: 'sprintf' output 2 or more bytes (assuming 1280) into a destination of size 1024 sprintf( dirstring, "%s%s/%s", gamedir, dir, name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c: In function 'FinishModel': tools/quake2/qdata_heretic2/models.c:538:22: warning: '/tris.md2' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%s/tris.md2", cdpartial ); ^~~~~~~~~ tools/quake2/qdata_heretic2/models.c:538:4: note: 'sprintf' output between 10 and 1033 bytes into a destination of size 1024 sprintf( name, "%s/tris.md2", cdpartial ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/qdata.c: In function 'Cmd_Maps': tools/quake2/qdata_heretic2/qdata.c:343:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] sprintf( map, "maps/%s.bsp", token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/qdata.c:343:3: note: 'sprintf' output between 10 and 1033 bytes into a destination of size 1024 sprintf( map, "maps/%s.bsp", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/qdata.c:351:20: warning: 'maps/' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( map, "%smaps/%s.bsp", gamedir, token ); ^~~~~ tools/quake2/qdata_heretic2/qdata.c:351:3: note: 'sprintf' output between 10 and 2056 bytes into a destination of size 1024 sprintf( map, "%smaps/%s.bsp", gamedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c: In function 'Cmd_Colormap': tools/quake2/qdata_heretic2/images.c:717:24: warning: 'pics/' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%spics/%s.pcx", gamedir, token ); ^~~~~ tools/quake2/qdata_heretic2/images.c:717:2: note: 'sprintf' output between 10 and 2056 bytes into a destination of size 1024 sprintf( savename, "%spics/%s.pcx", gamedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:720:24: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] sprintf( dest, "pics/%s.pcx", token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/images.c:720:3: note: 'sprintf' output between 10 and 1033 bytes into a destination of size 1024 sprintf( dest, "pics/%s.pcx", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c: In function 'Cmd_Mip': tools/quake2/qdata_heretic2/images.c:1289:25: warning: '%s' directive writing up to 1023 bytes into a region of size 32 [-Wformat-overflow=] sprintf( qtex->name, "%s/%s", mip_prefix, lumpname ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1289:3: note: 'sprintf' output between 2 and 1152 bytes into a destination of size 32 sprintf( qtex->name, "%s/%s", mip_prefix, lumpname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1291:30: warning: '%s' directive writing up to 1023 bytes into a region of size 32 [-Wformat-overflow=] sprintf( qtex->animname, "%s/%s", mip_prefix, animname ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1291:4: note: 'sprintf' output between 2 and 1152 bytes into a destination of size 32 sprintf( qtex->animname, "%s/%s", mip_prefix, animname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1297:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] sprintf( filename, "%stextures/%s/%s.m8", g_outputDir, mip_prefix, lumpname ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1297:3: note: 'sprintf' output 14 or more bytes (assuming 1164) into a destination of size 1024 sprintf( filename, "%stextures/%s/%s.m8", g_outputDir, mip_prefix, lumpname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1229:27: warning: '%s' directive writing up to 1023 bytes into a region of size 128 [-Wformat-overflow=] sprintf( qtex32->name, "%s/%s", mip_prefix, lumpname ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1229:3: note: 'sprintf' output between 2 and 1152 bytes into a destination of size 128 sprintf( qtex32->name, "%s/%s", mip_prefix, lumpname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1231:32: warning: '%s' directive writing up to 1023 bytes into a region of size 128 [-Wformat-overflow=] sprintf( qtex32->animname, "%s/%s", mip_prefix, animname ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1231:4: note: 'sprintf' output between 2 and 1152 bytes into a destination of size 128 sprintf( qtex32->animname, "%s/%s", mip_prefix, animname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1234:31: warning: '%s' directive writing up to 1023 bytes into a region of size 128 [-Wformat-overflow=] sprintf( qtex32->altname, "%s/%s", mip_prefix, altname ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1234:4: note: 'sprintf' output between 2 and 1152 bytes into a destination of size 128 sprintf( qtex32->altname, "%s/%s", mip_prefix, altname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1237:34: warning: '%s' directive writing up to 1023 bytes into a region of size 128 [-Wformat-overflow=] sprintf( qtex32->damagename, "%s/%s", mip_prefix, damagename ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1237:4: note: 'sprintf' output between 2 and 1152 bytes into a destination of size 128 sprintf( qtex32->damagename, "%s/%s", mip_prefix, damagename ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1240:31: warning: '%s' directive writing up to 1023 bytes into a region of size 128 [-Wformat-overflow=] sprintf( qtex32->dt_name, "%s/%s", mip_prefix, dt_name ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1240:4: note: 'sprintf' output between 2 and 1152 bytes into a destination of size 128 sprintf( qtex32->dt_name, "%s/%s", mip_prefix, dt_name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1253:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] sprintf( filename, "%stextures/%s/%s.m32", g_outputDir, mip_prefix, lumpname ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1253:3: note: 'sprintf' output 15 or more bytes (assuming 1165) into a destination of size 1024 sprintf( filename, "%stextures/%s/%s.m32", g_outputDir, mip_prefix, lumpname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/qd_skeletons.c: In function 'GrabSkeletalFrame': tools/quake2/qdata_heretic2/qd_skeletons.c:839:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s", cdarchive, framefile ); ^ tools/quake2/qdata_heretic2/qd_skeletons.c:839:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s", cdarchive, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/qd_skeletons.c:842:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s",cddir, framefile ); ^ tools/quake2/qdata_heretic2/qd_skeletons.c:842:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s",cddir, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/qd_skeletons.c: In function 'GrabModelTransform': tools/quake2/qdata_heretic2/qd_skeletons.c:863:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s", cdarchive, framefile ); ^ tools/quake2/qdata_heretic2/qd_skeletons.c:863:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s", cdarchive, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/qd_skeletons.c:866:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s",cddir, framefile ); ^ tools/quake2/qdata_heretic2/qd_skeletons.c:866:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s",cddir, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/qd_skeletons.c: In function 'Cmd_FMCluster': tools/quake2/qdata_heretic2/qd_skeletons.c:881:22: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s", cdpartial, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/qd_skeletons.c:881:2: note: 'sprintf' output between 2 and 2048 bytes into a destination of size 1024 sprintf( file1, "%s/%s", cdpartial, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/qd_skeletons.c:886:22: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s", cddir, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/qd_skeletons.c:886:2: note: 'sprintf' output between 2 and 2048 bytes into a destination of size 1024 sprintf( file1, "%s/%s", cddir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/qd_skeletons.c: In function 'GrabReferencedFrame': tools/quake2/qdata_heretic2/qd_skeletons.c:1221:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s", cdarchive, framefile ); ^ tools/quake2/qdata_heretic2/qd_skeletons.c:1221:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s", cdarchive, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/qd_skeletons.c:1224:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s",cddir, framefile ); ^ tools/quake2/qdata_heretic2/qd_skeletons.c:1224:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s",cddir, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c: In function 'Cmd_Mipdir': tools/quake2/qdata_heretic2/images.c:1335:33: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] sprintf( filename, "%stextures/%s", g_outputDir, mip_prefix ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1335:2: note: 'sprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024 sprintf( filename, "%stextures/%s", g_outputDir, mip_prefix ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata_heretic2/sprites.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/sprites.o tools/quake2/qdata_heretic2/images.c: In function 'Cmd_Environment': tools/quake2/qdata_heretic2/images.c:1379:20: warning: 'env/' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%senv/", gamedir ); ^~~~ tools/quake2/qdata_heretic2/images.c:1379:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( name, "%senv/", gamedir ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1385:21: warning: 'env/' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%senv/%s%s.tga", gamedir, token, suf[i] ); ^~~~ tools/quake2/qdata_heretic2/images.c:1385:3: note: 'sprintf' output 9 or more bytes (assuming 2055) into a destination of size 1024 sprintf( name, "%senv/%s%s.tga", gamedir, token, suf[i] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1397:21: warning: 'env/' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%senv/%s%s.pcx", gamedir, token, suf[i] ); ^~~~ tools/quake2/qdata_heretic2/images.c:1397:3: note: 'sprintf' output 9 or more bytes (assuming 2055) into a destination of size 1024 sprintf( name, "%senv/%s%s.pcx", gamedir, token, suf[i] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1369:24: warning: '%s' directive writing up to 1023 bytes into a region of size 1020 [-Wformat-overflow=] sprintf( name, "env/%s%s.pcx", token, suf[i] ); ^~ ~~~~~ tools/quake2/qdata_heretic2/images.c:1369:4: note: 'sprintf' output 9 or more bytes (assuming 1032) into a destination of size 1024 sprintf( name, "env/%s%s.pcx", token, suf[i] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/images.c:1371:24: warning: '%s' directive writing up to 1023 bytes into a region of size 1020 [-Wformat-overflow=] sprintf( name, "env/%s%s.tga", token, suf[i] ); ^~ ~~~~~ tools/quake2/qdata_heretic2/images.c:1371:4: note: 'sprintf' output 9 or more bytes (assuming 1032) into a destination of size 1024 sprintf( name, "env/%s%s.tga", token, suf[i] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/sprites.c: In function 'FinishSprite': tools/quake2/qdata_heretic2/sprites.c:56:9: warning: variable 'curframe' set but not used [-Wunused-but-set-variable] int i, curframe; ^~~~~~~~ tools/quake2/qdata_heretic2/sprites.c:68:32: warning: '%s' directive writing up to 1023 bytes into a region of size 1016 [-Wformat-overflow=] sprintf( savename, "%sSprites/%s/%s.sp2", g_outputDir, spr_prefix, spritename ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/sprites.c:68:2: note: 'sprintf' output 14 or more bytes (assuming 2060) into a destination of size 1024 sprintf( savename, "%sSprites/%s/%s.sp2", g_outputDir, spr_prefix, spritename ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/sprites.c:73:21: warning: '.sp2' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%s.sp2", spritename ); ^~~~ tools/quake2/qdata_heretic2/sprites.c:73:3: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( name, "%s.sp2", spritename ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c: In function 'FMFinishModel': tools/quake2/qdata_heretic2/fmodels.c:991:22: warning: '/tris.fm' directive writing 8 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%s/tris.fm", cdpartial ); ^~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:991:4: note: 'sprintf' output between 9 and 1032 bytes into a destination of size 1024 sprintf( name, "%s/tris.fm", cdpartial ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/sprites.c: In function 'Cmd_SpriteFrame': tools/quake2/qdata_heretic2/sprites.c:266:33: warning: '%s' directive writing up to 1023 bytes into a region of size 1016 [-Wformat-overflow=] sprintf( filename, "%ssprites/%s/%s_%i.m8", g_outputDir, spr_prefix, spritename, sprite.numframes ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/sprites.c:266:3: note: 'sprintf' output 15 or more bytes (assuming 2061) into a destination of size 1024 sprintf( filename, "%ssprites/%s/%s_%i.m8", g_outputDir, spr_prefix, spritename, sprite.numframes ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/sprites.c:223:33: warning: '%s' directive writing up to 1023 bytes into a region of size 1016 [-Wformat-overflow=] sprintf( filename, "%ssprites/%s/%s_%i.m32", g_outputDir, spr_prefix, spritename, sprite.numframes ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/sprites.c:223:3: note: 'sprintf' output 16 or more bytes (assuming 2062) into a destination of size 1024 sprintf( filename, "%ssprites/%s/%s_%i.m32", g_outputDir, spr_prefix, spritename, sprite.numframes ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/sprites.c: In function 'Cmd_Sprdir': tools/quake2/qdata_heretic2/sprites.c:343:32: warning: '%s' directive writing up to 1023 bytes into a region of size 1016 [-Wformat-overflow=] sprintf( filename, "%sSprites/%s", g_outputDir, spr_prefix ); ^~ ~~~~~~~~~~ tools/quake2/qdata_heretic2/sprites.c:343:2: note: 'sprintf' output 9 or more bytes (assuming 1032) into a destination of size 1024 sprintf( filename, "%sSprites/%s", g_outputDir, spr_prefix ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c: In function 'Cmd_Base.part.1': tools/quake2/qdata_heretic2/models.c:1205:22: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s", cdpartial, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/models.c:1205:2: note: 'sprintf' output between 2 and 2048 bytes into a destination of size 1024 sprintf( file1, "%s/%s", cdpartial, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1210:22: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s", cddir, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/models.c:1210:2: note: 'sprintf' output between 2 and 2048 bytes into a destination of size 1024 sprintf( file1, "%s/%s", cddir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1236:22: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file2, "%s/%s.pcx", cddir, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/models.c:1236:2: note: 'sprintf' output between 6 and 2052 bytes into a destination of size 1024 sprintf( file2, "%s/%s.pcx", cddir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:850:6: warning: 'besttype' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( besttype == 1 ) { ^ tools/quake2/qdata_heretic2/models.c:801:20: note: 'besttype' was declared here int len, bestlen, besttype; ^~~~~~~~ cc tools/quake2/qdata_heretic2/svdcmp.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/svdcmp.o cc tools/quake2/qdata_heretic2/tables.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/tables.o tools/quake2/qdata_heretic2/tables.c: In function 'Cmd_Alphalight': tools/quake2/qdata_heretic2/tables.c:140:24: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%s%s", gamedir, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/tables.c:140:2: note: 'sprintf' output between 1 and 2047 bytes into a destination of size 1024 sprintf( savename, "%s%s", gamedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/tables.c: In function 'Cmd_Inverse16Table': tools/quake2/qdata_heretic2/tables.c:158:24: warning: 'pics/16to8.dat' directive writing 14 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%spics/16to8.dat", gamedir ); ^~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/tables.c:158:2: note: 'sprintf' output between 15 and 1038 bytes into a destination of size 1024 sprintf( savename, "%spics/16to8.dat", gamedir ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c: In function 'Cmd_FMBase': tools/quake2/qdata_heretic2/fmodels.c:2070:22: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s.%s", cdarchive, token, trifileext ); ^~ ~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2070:2: note: 'sprintf' output 3 or more bytes (assuming 2049) into a destination of size 1024 sprintf( file1, "%s/%s.%s", cdarchive, token, trifileext ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2076:22: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s", cddir, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2076:2: note: 'sprintf' output between 2 and 2048 bytes into a destination of size 1024 sprintf( file1, "%s/%s", cddir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2100:22: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file2, "%s/%s", cddir, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2100:2: note: 'sprintf' output between 2 and 2048 bytes into a destination of size 1024 sprintf( file2, "%s/%s", cddir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2101:26: warning: '/!' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( trans_file, "%s/!%s_a.pcx", cddir, token ); ^~ tools/quake2/qdata_heretic2/fmodels.c:2101:2: note: 'sprintf' output between 9 and 2055 bytes into a destination of size 1024 sprintf( trans_file, "%s/!%s_a.pcx", cddir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2138:24: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( stfile, "%s/%s.%s", cdarchive, token, trifileext ); ^~ ~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2138:3: note: 'sprintf' output 3 or more bytes (assuming 2049) into a destination of size 1024 sprintf( stfile, "%s/%s.%s", cdarchive, token, trifileext ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2141:24: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( stfile, "%s/%s", cddir, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2141:3: note: 'sprintf' output between 2 and 2048 bytes into a destination of size 1024 sprintf( stfile, "%s/%s", cddir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake2/qdata_heretic2/tmix.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/tmix.o cc tools/quake2/qdata_heretic2/video.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake2/qdata_heretic2/video.o tools/quake2/qdata_heretic2/fmodels.c:1397:8: warning: 'besttype' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( besttype == 1 ) { ^ tools/quake2/qdata_heretic2/fmodels.c:1331:20: note: 'besttype' was declared here int len, bestlen, besttype; ^~~~~~~~ cc tools/quake3/common/aselib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/common/aselib.o tools/quake2/qdata_heretic2/tmix.c: In function 'SaveScript': tools/quake2/qdata_heretic2/tmix.c:244:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( fp = fopen( name, "wb" ) ) { ^~ tools/quake2/qdata_heretic2/tmix.c: In function 'GetScriptInfo': tools/quake2/qdata_heretic2/tmix.c:284:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( fp = fopen( name, "r" ) ) { ^~ tools/quake2/qdata_heretic2/tmix.c:288:5: warning: implicit declaration of function 'strupr'; did you mean 'strstr'? [-Wimplicit-function-declaration] strupr( buffer ); ^~~~~~ strstr tools/quake2/qdata_heretic2/tmix.c:292:6: warning: implicit declaration of function 'strlwr'; did you mean 'strlower'? [-Wimplicit-function-declaration] strlwr( out.name ); ^~~~~~ strlower tools/quake2/qdata_heretic2/models.c: In function 'GrabFrame.constprop': tools/quake2/qdata_heretic2/models.c:1406:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s", cdarchive, framefile ); ^ tools/quake2/qdata_heretic2/models.c:1406:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s", cdarchive, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1409:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s",cddir, framefile ); ^ tools/quake2/qdata_heretic2/models.c:1409:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s",cddir, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/common/aselib.c: In function 'ASE_KeyMAP_DIFFUSE': tools/quake3/common/aselib.c:416:13: warning: unused variable 'count' [-Wunused-variable] int i = 0, count; ^~~~~ tools/quake3/common/aselib.c:414:37: warning: unused variable 'modeldir' [-Wunused-variable] char fullpath[1024], bitmap[1024], modeldir[1024]; ^~~~~~~~ tools/quake3/common/aselib.c:414:7: warning: unused variable 'fullpath' [-Wunused-variable] char fullpath[1024], bitmap[1024], modeldir[1024]; ^~~~~~~~ At top level: tools/quake3/common/aselib.c:119:14: warning: 'strlwr' defined but not used [-Wunused-function] static char* strlwr( char* string ){ ^~~~~~ tools/quake2/qdata_heretic2/fmodels.c: In function 'GrabFrame': tools/quake2/qdata_heretic2/fmodels.c:2427:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s", cdarchive, framefile ); ^ tools/quake2/qdata_heretic2/fmodels.c:2427:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s", cdarchive, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2430:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s",cddir, framefile ); ^ tools/quake2/qdata_heretic2/fmodels.c:2430:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s",cddir, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c: In function 'Cmd_FMSkin': tools/quake2/qdata_heretic2/fmodels.c:2618:21: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( name, "%s/%s", cdarchive, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2618:2: note: 'sprintf' output between 2 and 2048 bytes into a destination of size 1024 sprintf( name, "%s/%s", cdarchive, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2631:27: warning: '%s' directive writing up to 1023 bytes into a region of size 1022 [-Wformat-overflow=] sprintf( savename, "%s/!%s", g_outputDir, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2631:3: note: 'sprintf' output 3 or more bytes (assuming 1026) into a destination of size 1024 sprintf( savename, "%s/!%s", g_outputDir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2632:26: warning: '/!' directive writing 2 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( transname, "%s/!%s_a.pcx", cddir, token ); ^~ tools/quake2/qdata_heretic2/fmodels.c:2632:3: note: 'sprintf' output between 9 and 2055 bytes into a destination of size 1024 sprintf( transname, "%s/!%s_a.pcx", cddir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2625:28: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( savename, "%s!%s", g_outputDir, token ); ^ tools/quake2/qdata_heretic2/fmodels.c:2625:3: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( savename, "%s!%s", g_outputDir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2626:27: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( transname, "%s!%s_a.pcx", gamedir, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2626:3: note: 'sprintf' output between 8 and 2054 bytes into a destination of size 1024 sprintf( transname, "%s!%s_a.pcx", gamedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c: In function 'GrabJointedFrame': tools/quake2/qdata_heretic2/models.c:1540:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s", cdarchive, framefile ); ^ tools/quake2/qdata_heretic2/models.c:1540:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s", cdarchive, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1543:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s",cddir, framefile ); ^ tools/quake2/qdata_heretic2/models.c:1543:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s",cddir, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c: In function 'GrabGlobals': tools/quake2/qdata_heretic2/models.c:1564:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s", cdarchive, framefile ); ^ tools/quake2/qdata_heretic2/models.c:1564:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s", cdarchive, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1567:24: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s",cddir, framefile ); ^ tools/quake2/qdata_heretic2/models.c:1567:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s",cddir, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c: In function 'Cmd_Skin': tools/quake2/qdata_heretic2/models.c:1626:21: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( name, "%s/%s.pcx", cddir, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/models.c:1626:2: note: 'sprintf' output between 6 and 2052 bytes into a destination of size 1024 sprintf( name, "%s/%s.pcx", cddir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1627:26: warning: '%s' directive writing up to 1023 bytes into a region of size 1022 [-Wformat-overflow=] sprintf( savename, "%s/!%s.pcx", g_outputDir, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/models.c:1627:2: note: 'sprintf' output 7 or more bytes (assuming 1030) into a destination of size 1024 sprintf( savename, "%s/!%s.pcx", g_outputDir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c: In function 'Cmd_Cd': tools/quake2/qdata_heretic2/models.c:1752:30: warning: '%s' directive writing up to 1023 bytes into a region of size 1017 [-Wformat-overflow=] sprintf( cdpartial, "models/%s", token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/models.c:1752:2: note: 'sprintf' output between 8 and 1031 bytes into a destination of size 1024 sprintf( cdpartial, "models/%s", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1753:32: warning: '%s' directive writing up to 1023 bytes into a region of size 1017 [-Wformat-overflow=] sprintf( cdarchive, "%smodels/%s", gamedir + strlen( qdir ), token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/models.c:1753:2: note: 'sprintf' output 8 or more bytes (assuming 1031) into a destination of size 1024 sprintf( cdarchive, "%smodels/%s", gamedir + strlen( qdir ), token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1754:21: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( cddir, "%s%s", gamedir, cdpartial ); ^~ ~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1754:2: note: 'sprintf' output between 1 and 2047 bytes into a destination of size 1024 sprintf( cddir, "%s%s", gamedir, cdpartial ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1757:20: warning: '%s' directive writing up to 1023 bytes into a region of size 256 [-Wformat-overflow=] sprintf( temp, "%s%s", g_outputDir, cdpartial ); ^~ ~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1757:2: note: 'sprintf' output 1 or more bytes (assuming 1024) into a destination of size 256 sprintf( temp, "%s%s", g_outputDir, cdpartial ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c: In function 'Cmd_Cluster': tools/quake2/qdata_heretic2/models.c:1783:22: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s", cdpartial, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/models.c:1783:2: note: 'sprintf' output between 2 and 2048 bytes into a destination of size 1024 sprintf( file1, "%s/%s", cdpartial, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/models.c:1788:22: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( file1, "%s/%s", cddir, token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/models.c:1788:2: note: 'sprintf' output between 2 and 2048 bytes into a destination of size 1024 sprintf( file1, "%s/%s", cddir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/common/bspfile.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/common/bspfile.o tools/quake3/common/bspfile.c: In function 'GetLumpElements': tools/quake3/common/bspfile.c:297:14: warning: variable 'ofs' set but not used [-Wunused-but-set-variable] int length, ofs; ^~~ tools/quake2/qdata_heretic2/svdcmp.c: In function 'DOsvd': tools/quake2/qdata_heretic2/svdcmp.c:343:9: warning: 'bestat' may be used uninitialized in this function [-Wmaybe-uninitialized] remap[bestat] = j; ^ tools/quake2/qdata_heretic2/tmix.c: In function 'Cmd_TextureMix': tools/quake2/qdata_heretic2/tmix.c:643:25: warning: 'pics/misc/' directive writing 10 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%spics/misc/%s.m32", gamedir, out.name ); ^~~~~~~~~~ tools/quake2/qdata_heretic2/tmix.c:643:3: note: 'sprintf' output between 15 and 1165 bytes into a destination of size 1024 sprintf( filename, "%spics/misc/%s.m32", gamedir, out.name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/tmix.c:650:32: warning: '%s' directive writing up to 127 bytes into a region of size 123 [-Wformat-overflow=] sprintf( qtex32->name, "misc/%s", out.name ); ^~ ~~~~~~~~ tools/quake2/qdata_heretic2/tmix.c:650:3: note: 'sprintf' output between 6 and 133 bytes into a destination of size 128 sprintf( qtex32->name, "misc/%s", out.name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/tmix.c:657:25: warning: 'pics/misc/' directive writing 10 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%spics/misc/%s.fnt", gamedir, outscript ); ^~~~~~~~~~ tools/quake2/qdata_heretic2/tmix.c:657:3: note: 'sprintf' output between 15 and 1293 bytes into a destination of size 1024 sprintf( filename, "%spics/misc/%s.fnt", gamedir, outscript ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c: In function 'Cmd_FMCd': tools/quake2/qdata_heretic2/fmodels.c:2741:30: warning: '%s' directive writing up to 1023 bytes into a region of size 1017 [-Wformat-overflow=] sprintf( cdpartial, "models/%s", token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2741:2: note: 'sprintf' output between 8 and 1031 bytes into a destination of size 1024 sprintf( cdpartial, "models/%s", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2742:32: warning: '%s' directive writing up to 1023 bytes into a region of size 1017 [-Wformat-overflow=] sprintf( cdarchive, "%smodels/%s", gamedir + strlen( qdir ), token ); ^~ ~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2742:2: note: 'sprintf' output 8 or more bytes (assuming 1031) into a destination of size 1024 sprintf( cdarchive, "%smodels/%s", gamedir + strlen( qdir ), token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2743:21: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( cddir, "%s%s", gamedir, cdpartial ); ^~ ~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2743:2: note: 'sprintf' output between 1 and 2047 bytes into a destination of size 1024 sprintf( cddir, "%s%s", gamedir, cdpartial ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2746:20: warning: '%s' directive writing up to 1023 bytes into a region of size 256 [-Wformat-overflow=] sprintf( temp, "%s%s", g_outputDir, cdpartial ); ^~ ~~~~~~~~~ tools/quake2/qdata_heretic2/fmodels.c:2746:2: note: 'sprintf' output 1 or more bytes (assuming 1024) into a destination of size 256 sprintf( temp, "%s%s", g_outputDir, cdpartial ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/common/cmdlib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/common/cmdlib.o cc tools/quake3/common/imagelib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/common/imagelib.o cc tools/quake3/common/inout.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/common/inout.o tools/quake3/common/bspfile.c: In function 'UnparseEntities': tools/quake3/common/bspfile.c:638:29: warning: '%s' directive writing up to 1023 bytes into a region of size between 1021 and 2044 [-Wformat-overflow=] sprintf( line, "\"%s\" \"%s\"\n", key, value ); ^~ ~~~~~ tools/quake3/common/bspfile.c:638:4: note: 'sprintf' output between 7 and 2053 bytes into a destination of size 2048 sprintf( line, "\"%s\" \"%s\"\n", key, value ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/common/md4.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/common/md4.o tools/quake3/common/cmdlib.c: In function 'Q_mkdir': tools/quake3/common/cmdlib.c:342:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy( parentbuf, path, sizeof( parentbuf ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/common/scriplib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/common/scriplib.o cc tools/quake3/common/trilib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/common/trilib.o tools/quake3/common/trilib.c: In function 'ByteSwapTri': tools/quake3/common/trilib.c:66:18: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for ( i = 0 ; i < sizeof( tf_triangle ) / 4 ; i++ ) ^ tools/quake3/common/inout.c: In function 'Error': tools/quake3/common/inout.c:348:57: warning: '%s' directive writing up to 4095 bytes into a region of size 4064 [-Wformat-overflow=] sprintf( out_buffer, "************ ERROR ************\n%s\n", tmp ); ^~ ~~~ tools/quake3/common/inout.c:348:2: note: 'sprintf' output between 34 and 4129 bytes into a destination of size 4096 sprintf( out_buffer, "************ ERROR ************\n%s\n", tmp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/common/trilib.c: In function 'TRI_LoadPolysets': tools/quake3/common/trilib.c:205:6: warning: 'strncpy' output may be truncated copying 99 bytes from a string of length 255 [-Wstringop-truncation] strncpy( pPSET[pset].name, name, sizeof( pPSET[pset].name ) - 1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/common/trilib.c:154:6: warning: 'strncpy' output may be truncated copying 99 bytes from a string of length 255 [-Wstringop-truncation] strncpy( pPSET[pset].name, name, sizeof( pPSET[pset].name ) - 1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/common/unzip.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/common/unzip.o tools/quake3/common/unzip.c: In function 'unzClose': tools/quake3/common/unzip.c:1578:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s->pfile_in_zip_read!=NULL) ^~ tools/quake3/common/unzip.c:1581:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fclose(s->file); ^~~~~~ tools/quake3/common/unzip.c: In function 'unzLocateFile': tools/quake3/common/unzip.c:1866:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (strlen(szFileName)>=UNZ_MAXFILENAMEINZIP) ^~ tools/quake3/common/unzip.c:1869:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' s=(unz_s*)file; ^ tools/quake3/common/unzip.c: In function 'unzlocal_CheckCurrentFileCoherencyHeader': tools/quake3/common/unzip.c:1942:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((err==UNZ_OK) && (s->cur_file_info.compression_method!=0) && ^~ tools/quake3/common/unzip.c:1946:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (unzlocal_getLong(s->file,&uData) != UNZ_OK) /* date/time */ ^~ tools/quake3/common/unzip.c: In function 'unzOpenCurrentFile': tools/quake3/common/unzip.c:2006:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s->pfile_in_zip_read != NULL) ^~ tools/quake3/common/unzip.c:2009:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (unzlocal_CheckCurrentFileCoherencyHeader(s,&iSizeVar, ^~ cc tools/quake3/common/vfs.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/common/vfs.o cc tools/quake3/q3data/3dslib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3data/3dslib.o tools/quake3/common/vfs.c: In function 'vfsInitPakFile': tools/quake3/common/vfs.c:137:3: warning: 'g_strdown' is deprecated [-Wdeprecated-declarations] g_strdown( filename_inzip ); ^~~~~~~~~ In file included from /usr/local/include/glib-2.0/glib.h:79, from tools/quake3/common/vfs.h:46, from tools/quake3/common/vfs.c:52: /usr/local/include/glib-2.0/glib/gstrfuncs.h:208:23: note: declared here gchar* g_strdown (gchar *string); ^~~~~~~~~ tools/quake3/common/vfs.c: In function 'vfsGetFileCount': tools/quake3/common/vfs.c:272:2: warning: 'g_strdown' is deprecated [-Wdeprecated-declarations] g_strdown( fixed ); ^~~~~~~~~ In file included from /usr/local/include/glib-2.0/glib.h:79, from tools/quake3/common/vfs.h:46, from tools/quake3/common/vfs.c:52: /usr/local/include/glib-2.0/glib/gstrfuncs.h:208:23: note: declared here gchar* g_strdown (gchar *string); ^~~~~~~~~ tools/quake3/common/vfs.c: In function 'vfsLoadFile': tools/quake3/common/vfs.c:336:2: warning: 'g_strdown' is deprecated [-Wdeprecated-declarations] g_strdown( fixed ); ^~~~~~~~~ In file included from /usr/local/include/glib-2.0/glib.h:79, from tools/quake3/common/vfs.h:46, from tools/quake3/common/vfs.c:52: /usr/local/include/glib-2.0/glib/gstrfuncs.h:208:23: note: declared here gchar* g_strdown (gchar *string); ^~~~~~~~~ tools/quake3/q3data/3dslib.c: In function 'LoadMapName': tools/quake3/q3data/3dslib.c:65:34: warning: pointer targets in passing argument 2 of 'ReadChunkAndLength' differ in signedness [-Wpointer-sign] while ( ReadChunkAndLength( fp, &chunkID, &chunkLen ) ) ^~~~~~~~ tools/quake3/q3data/3dslib.c:50:12: note: expected 'short int *' but argument is of type 'short unsigned int *' static int ReadChunkAndLength( FILE *fp, short *chunk, long *len ){ ^~~~~~~~~~~~~~~~~~ tools/quake3/q3data/3dslib.c: In function 'LoadMaterialList': tools/quake3/q3data/3dslib.c:97:34: warning: pointer targets in passing argument 2 of 'ReadChunkAndLength' differ in signedness [-Wpointer-sign] while ( ReadChunkAndLength( fp, &chunkID, &chunkLen ) ) ^~~~~~~~ tools/quake3/q3data/3dslib.c:50:12: note: expected 'short int *' but argument is of type 'short unsigned int *' static int ReadChunkAndLength( FILE *fp, short *chunk, long *len ){ ^~~~~~~~~~~~~~~~~~ tools/quake3/q3data/3dslib.c: In function 'LoadNamedTriObject': tools/quake3/q3data/3dslib.c:246:34: warning: pointer targets in passing argument 2 of 'ReadChunkAndLength' differ in signedness [-Wpointer-sign] while ( ReadChunkAndLength( fp, &chunkID, &chunkLen ) ) ^~~~~~~~ tools/quake3/q3data/3dslib.c:50:12: note: expected 'short int *' but argument is of type 'short unsigned int *' static int ReadChunkAndLength( FILE *fp, short *chunk, long *len ){ ^~~~~~~~~~~~~~~~~~ tools/quake3/q3data/3dslib.c: In function 'LoadNamedObject': tools/quake3/q3data/3dslib.c:365:34: warning: pointer targets in passing argument 2 of 'ReadChunkAndLength' differ in signedness [-Wpointer-sign] while ( ReadChunkAndLength( fp, &chunkID, &chunkLen ) ) ^~~~~~~~ tools/quake3/q3data/3dslib.c:50:12: note: expected 'short int *' but argument is of type 'short unsigned int *' static int ReadChunkAndLength( FILE *fp, short *chunk, long *len ){ ^~~~~~~~~~~~~~~~~~ tools/quake3/q3data/3dslib.c:351:6: warning: unused variable 'i' [-Wunused-variable] int i = 0; ^ tools/quake3/q3data/3dslib.c: In function 'LoadEditChunk': tools/quake3/q3data/3dslib.c:410:34: warning: pointer targets in passing argument 2 of 'ReadChunkAndLength' differ in signedness [-Wpointer-sign] while ( ReadChunkAndLength( fp, &chunkID, &chunkLen ) ) ^~~~~~~~ tools/quake3/q3data/3dslib.c:50:12: note: expected 'short int *' but argument is of type 'short unsigned int *' static int ReadChunkAndLength( FILE *fp, short *chunk, long *len ){ ^~~~~~~~~~~~~~~~~~ tools/quake3/q3data/3dslib.c: In function 'Load3DS': tools/quake3/q3data/3dslib.c:473:32: warning: pointer targets in passing argument 2 of 'ReadChunkAndLength' differ in signedness [-Wpointer-sign] if ( !ReadChunkAndLength( fp, &chunkID, &chunkLen ) ) { ^~~~~~~~ tools/quake3/q3data/3dslib.c:50:12: note: expected 'short int *' but argument is of type 'short unsigned int *' static int ReadChunkAndLength( FILE *fp, short *chunk, long *len ){ ^~~~~~~~~~~~~~~~~~ tools/quake3/q3data/3dslib.c:480:34: warning: pointer targets in passing argument 2 of 'ReadChunkAndLength' differ in signedness [-Wpointer-sign] while ( ReadChunkAndLength( fp, &chunkID, &chunkLen ) ) ^~~~~~~~ tools/quake3/q3data/3dslib.c:50:12: note: expected 'short int *' but argument is of type 'short unsigned int *' static int ReadChunkAndLength( FILE *fp, short *chunk, long *len ){ ^~~~~~~~~~~~~~~~~~ At top level: tools/quake3/q3data/3dslib.c:501:13: warning: 'ComputeNormals' defined but not used [-Wunused-function] static void ComputeNormals( _3DSTriObject_t *pTO, triangle_t *pTris ){ ^~~~~~~~~~~~~~ tools/quake3/common/unzip.c: In function 'inflate_blocks': tools/quake3/common/unzip.c:3074:15: warning: this statement may fall through [-Wimplicit-fallthrough=] s->mode = CODES; ~~~~~~~~^~~~~~~ tools/quake3/common/unzip.c:3075:5: note: here case CODES: ^~~~ tools/quake3/common/unzip.c:3090:15: warning: this statement may fall through [-Wimplicit-fallthrough=] s->mode = DRY; ~~~~~~~~^~~~~ tools/quake3/common/unzip.c:3091:5: note: here case DRY: ^~~~ tools/quake3/common/unzip.c:3095:15: warning: this statement may fall through [-Wimplicit-fallthrough=] s->mode = DONE; ~~~~~~~~^~~~~~ tools/quake3/common/unzip.c:3096:5: note: here case DONE: ^~~~ tools/quake3/common/unzip.c: In function 'inflate_codes': tools/quake3/common/unzip.c:4022:15: warning: this statement may fall through [-Wimplicit-fallthrough=] c->mode = LEN; ~~~~~~~~^~~~~ tools/quake3/common/unzip.c:4023:5: note: here case LEN: /* i: get length/literal/eob next */ ^~~~ tools/quake3/common/unzip.c:4069:15: warning: this statement may fall through [-Wimplicit-fallthrough=] c->mode = DIST; ~~~~~~~~^~~~~~ tools/quake3/common/unzip.c:4070:5: note: here case DIST: /* i: get distance next */ ^~~~ tools/quake3/common/unzip.c:4099:15: warning: this statement may fall through [-Wimplicit-fallthrough=] c->mode = COPY; ~~~~~~~~^~~~~~ tools/quake3/common/unzip.c:4100:5: note: here case COPY: /* o: copying bytes in window, waiting for space */ ^~~~ tools/quake3/common/unzip.c:4136:15: warning: this statement may fall through [-Wimplicit-fallthrough=] c->mode = END; ~~~~~~~~^~~~~ tools/quake3/common/unzip.c:4137:5: note: here case END: ^~~~ tools/quake3/common/unzip.c: In function 'inflate': tools/quake3/common/unzip.c:4410:22: warning: this statement may fall through [-Wimplicit-fallthrough=] z->state->mode = imFLAG; ~~~~~~~~~~~~~~~^~~~~~~~ tools/quake3/common/unzip.c:4411:5: note: here case imFLAG: ^~~~ tools/quake3/common/unzip.c:4427:22: warning: this statement may fall through [-Wimplicit-fallthrough=] z->state->mode = imDICT4; ~~~~~~~~~~~~~~~^~~~~~~~~ tools/quake3/common/unzip.c:4428:5: note: here case imDICT4: ^~~~ tools/quake3/common/unzip.c:4431:22: warning: this statement may fall through [-Wimplicit-fallthrough=] z->state->mode = imDICT3; ~~~~~~~~~~~~~~~^~~~~~~~~ tools/quake3/common/unzip.c:4432:5: note: here case imDICT3: ^~~~ tools/quake3/common/unzip.c:4435:22: warning: this statement may fall through [-Wimplicit-fallthrough=] z->state->mode = imDICT2; ~~~~~~~~~~~~~~~^~~~~~~~~ tools/quake3/common/unzip.c:4436:5: note: here case imDICT2: ^~~~ tools/quake3/common/unzip.c:4439:22: warning: this statement may fall through [-Wimplicit-fallthrough=] z->state->mode = imDICT1; ~~~~~~~~~~~~~~~^~~~~~~~~ tools/quake3/common/unzip.c:4440:5: note: here case imDICT1: ^~~~ tools/quake3/common/unzip.c:4470:22: warning: this statement may fall through [-Wimplicit-fallthrough=] z->state->mode = imCHECK4; ~~~~~~~~~~~~~~~^~~~~~~~~~ tools/quake3/common/unzip.c:4471:5: note: here case imCHECK4: ^~~~ tools/quake3/common/unzip.c:4474:22: warning: this statement may fall through [-Wimplicit-fallthrough=] z->state->mode = imCHECK3; ~~~~~~~~~~~~~~~^~~~~~~~~~ tools/quake3/common/unzip.c:4475:5: note: here case imCHECK3: ^~~~ tools/quake3/common/unzip.c:4478:22: warning: this statement may fall through [-Wimplicit-fallthrough=] z->state->mode = imCHECK2; ~~~~~~~~~~~~~~~^~~~~~~~~~ tools/quake3/common/unzip.c:4479:5: note: here case imCHECK2: ^~~~ tools/quake3/common/unzip.c:4482:22: warning: this statement may fall through [-Wimplicit-fallthrough=] z->state->mode = imCHECK1; ~~~~~~~~~~~~~~~^~~~~~~~~~ tools/quake3/common/unzip.c:4483:5: note: here case imCHECK1: ^~~~ tools/quake3/common/unzip.c:4495:22: warning: this statement may fall through [-Wimplicit-fallthrough=] z->state->mode = imDONE; ~~~~~~~~~~~~~~~^~~~~~~~ tools/quake3/common/unzip.c:4496:5: note: here case imDONE: ^~~~ cc tools/quake3/q3data/compress.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3data/compress.o cc tools/quake3/q3data/images.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3data/images.o tools/quake3/q3data/images.c: In function 'AveragePixels': tools/quake3/q3data/images.c:384:6: warning: variable 'fullbright' set but not used [-Wunused-but-set-variable] int fullbright; ^~~~~~~~~~ tools/quake3/q3data/images.c: In function 'Cmd_Grab': tools/quake3/q3data/images.c:52:25: warning: 'pics/' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%spics/%s.pcx", writedir, token ); ^~~~~ tools/quake3/q3data/images.c:52:3: note: 'sprintf' output between 10 and 2056 bytes into a destination of size 1024 sprintf( savename, "%spics/%s.pcx", writedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/images.c:49:27: warning: '.pcx' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%s%s.pcx", writedir, token + 1 ); ^~~~ tools/quake3/q3data/images.c:49:3: note: 'sprintf' output 5 or more bytes (assuming 1028) into a destination of size 1024 sprintf( savename, "%s%s.pcx", writedir, token + 1 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/images.c:60:25: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] sprintf( dest, "pics/%s.pcx", token ); ^~ ~~~~~ tools/quake3/q3data/images.c:60:4: note: 'sprintf' output between 10 and 1033 bytes into a destination of size 1024 sprintf( dest, "pics/%s.pcx", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/images.c: In function 'Cmd_Raw': tools/quake3/q3data/images.c:110:24: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%s%s.lmp", writedir, token ); ^~ ~~~~~ tools/quake3/q3data/images.c:110:2: note: 'sprintf' output between 5 and 2051 bytes into a destination of size 1024 sprintf( savename, "%s%s.lmp", writedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/images.c:113:21: warning: '.lmp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( dest, "%s.lmp", token ); ^~~~ tools/quake3/q3data/images.c:113:3: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( dest, "%s.lmp", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3data/md3lib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3data/md3lib.o tools/quake3/q3data/images.c: In function 'Cmd_Colormap': tools/quake3/q3data/images.c:226:24: warning: 'pics/' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%spics/%s.pcx", writedir, token ); ^~~~~ tools/quake3/q3data/images.c:226:2: note: 'sprintf' output between 10 and 2056 bytes into a destination of size 1024 sprintf( savename, "%spics/%s.pcx", writedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/images.c:229:24: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] sprintf( dest, "pics/%s.pcx", token ); ^~ ~~~~~ tools/quake3/q3data/images.c:229:3: note: 'sprintf' output between 10 and 1033 bytes into a destination of size 1024 sprintf( dest, "pics/%s.pcx", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/md3lib.c: In function 'MD3_Dump': tools/quake3/q3data/md3lib.c:152:25: warning: passing argument 1 of 'Q_filelength' makes pointer from integer without a cast [-Wint-conversion] fileSize = filelength( fileno( fp ) ); ^~~~~~ In file included from tools/quake3/q3data/md3lib.h:23, from tools/quake3/q3data/md3lib.c:26: tools/quake3/q3data/../common/cmdlib.h:83:25: note: expected 'FILE *' {aka 'struct __FILE *'} but argument is of type 'int' int Q_filelength( FILE *f ); ~~~~~~^ tools/quake3/q3data/md3lib.c:153:32: warning: passing argument 1 of 'Q_filelength' makes pointer from integer without a cast [-Wint-conversion] _buffer = malloc( filelength( fileno( fp ) ) ); ^~~~~~ In file included from tools/quake3/q3data/md3lib.h:23, from tools/quake3/q3data/md3lib.c:26: tools/quake3/q3data/../common/cmdlib.h:83:25: note: expected 'FILE *' {aka 'struct __FILE *'} but argument is of type 'int' int Q_filelength( FILE *f ); ~~~~~~^ tools/quake3/q3data/md3lib.c:171:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf( " file size: %d\n", fileSize ); ~^ ~~~~~~~~ %ld tools/quake3/q3data/images.c: In function 'Cmd_Environment': tools/quake3/q3data/images.c:463:20: warning: 'env/' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%senv/", gamedir ); ^~~~ tools/quake3/q3data/images.c:463:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( name, "%senv/", gamedir ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/images.c:469:21: warning: 'env/' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%senv/%s%s.tga", gamedir, token, suf[i] ); ^~~~ tools/quake3/q3data/images.c:469:3: note: 'sprintf' output 9 or more bytes (assuming 2055) into a destination of size 1024 sprintf( name, "%senv/%s%s.tga", gamedir, token, suf[i] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/images.c:481:21: warning: 'env/' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%senv/%s%s.pcx", writedir, token, suf[i] ); ^~~~ tools/quake3/q3data/images.c:481:3: note: 'sprintf' output 9 or more bytes (assuming 2055) into a destination of size 1024 sprintf( name, "%senv/%s%s.pcx", writedir, token, suf[i] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/images.c:453:24: warning: '%s' directive writing up to 1023 bytes into a region of size 1020 [-Wformat-overflow=] sprintf( name, "env/%s%s.pcx", token, suf[i] ); ^~ ~~~~~ tools/quake3/q3data/images.c:453:4: note: 'sprintf' output 9 or more bytes (assuming 1032) into a destination of size 1024 sprintf( name, "env/%s%s.pcx", token, suf[i] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/images.c:455:24: warning: '%s' directive writing up to 1023 bytes into a region of size 1020 [-Wformat-overflow=] sprintf( name, "env/%s%s.tga", token, suf[i] ); ^~ ~~~~~ tools/quake3/q3data/images.c:455:4: note: 'sprintf' output 9 or more bytes (assuming 1032) into a destination of size 1024 sprintf( name, "env/%s%s.tga", token, suf[i] ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3data/models.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3data/models.o cc tools/quake3/q3data/p3dlib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3data/p3dlib.o tools/quake3/q3data/md3lib.c: In function 'MD3_ComputeTagFromTri': tools/quake3/q3data/md3lib.c:39:6: warning: 'origin' may be used uninitialized in this function [-Wmaybe-uninitialized] int origin; ^~~~~~ tools/quake3/q3data/md3lib.c:38:6: warning: 'longestSide' may be used uninitialized in this function [-Wmaybe-uninitialized] int longestSide, shortestSide, hypotSide; ^~~~~~~~~~~ tools/quake3/q3data/md3lib.c:38:19: warning: 'shortestSide' may be used uninitialized in this function [-Wmaybe-uninitialized] int longestSide, shortestSide, hypotSide; ^~~~~~~~~~~~ tools/quake3/q3data/md3lib.c:85:17: warning: 'hypotSide' may be used uninitialized in this function [-Wmaybe-uninitialized] len[hypotSide] = -1; ~~~~~~~~~~~~~~~^~~~ tools/quake3/q3data/p3dlib.c: In function 'P3DLoad': tools/quake3/q3data/p3dlib.c:35:20: warning: implicit declaration of function 'Q_filelength'; did you mean 'filelength'? [-Wimplicit-function-declaration] #define filelength Q_filelength ^~~~~~~~~~~~ tools/quake3/q3data/p3dlib.c:70:12: note: in expansion of macro 'filelength' p3d.len = filelength( fileno( fp ) ); ^~~~~~~~~~ tools/quake3/q3data/p3dlib.c: In function 'P3DSkipToToken': tools/quake3/q3data/p3dlib.c:34:18: warning: implicit declaration of function 'Q_stricmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] #define _strcmpi Q_stricmp ^~~~~~~~~ tools/quake3/q3data/p3dlib.c:105:9: note: in expansion of macro '_strcmpi' if ( !_strcmpi( s_token, name ) ) { ^~~~~~~~ tools/quake3/q3data/models.c: In function 'CopyTrianglesToBaseTriangles': tools/quake3/q3data/models.c:562:15: warning: variable 'pbasevert' set but not used [-Wunused-but-set-variable] float *pbasevert; ^~~~~~~~~ tools/quake3/q3data/models.c: In function 'ConvertASE': tools/quake3/q3data/models.c:1888:12: warning: variable 'tagHead' set but not used [-Wunused-but-set-variable] qboolean tagHead = qfalse; ^~~~~~~ At top level: tools/quake3/q3data/models.c:1618:13: warning: 'WriteMD3' defined but not used [-Wunused-function] static void WriteMD3( const char *_filename, ObjectAnimationFrame_t oanims[], int numFrames ){ ^~~~~~~~ cc tools/quake3/q3data/polyset.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3data/polyset.o cc tools/quake3/q3data/q3data.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3data/q3data.o cc tools/quake3/q3data/stripper.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3data/stripper.o tools/quake3/q3data/stripper.c: In function 'FindNextTriangleInStripOrFan': tools/quake3/q3data/stripper.c:37:6: warning: unused variable 'sum' [-Wunused-variable] int sum = 0; ^~~ tools/quake3/q3data/stripper.c: In function 'BuildOptimizedList': tools/quake3/q3data/stripper.c:160:6: warning: unused variable 'startTri' [-Wunused-variable] int startTri = -1; ^~~~~~~~ tools/quake3/q3data/models.c: In function 'LoadBase': tools/quake3/q3data/models.c:737:25: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s", g_cddir, frameFile ); ^ tools/quake3/q3data/models.c:737:3: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s", g_cddir, frameFile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tools/quake3/q3data/q3data.c:338: /usr/include/sys/dir.h:38:2: warning: #warning "The information in this file should be obtained from " [-Wcpp] #warning "The information in this file should be obtained from " ^~~~~~~ /usr/include/sys/dir.h:39:2: warning: #warning "and is provided solely (and temporarily) for backward compatibility." [-Wcpp] #warning "and is provided solely (and temporarily) for backward compatibility." ^~~~~~~ tools/quake3/q3data/q3data.c: In function 'PackDirectory_r': tools/quake3/q3data/q3data.c:352:6: warning: unused variable 'len' [-Wunused-variable] int len; ^~~ tools/quake3/q3data/q3data.c: In function 'ReleaseFile.part.0': tools/quake3/q3data/q3data.c:93:23: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( dest, "%s/%s", g_releasedir, filename ); ^ tools/quake3/q3data/q3data.c:93:2: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( dest, "%s/%s", g_releasedir, filename ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3data/video.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3data/video.o tools/quake3/q3data/q3data.c: In function 'ReleaseShader': tools/quake3/q3data/q3data.c:279:22: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( dest, "%s/%s", g_releasedir, stripped ); ^~ ~~~~~~~~ tools/quake3/q3data/q3data.c:279:3: note: 'sprintf' output between 2 and 2048 bytes into a destination of size 1024 sprintf( dest, "%s/%s", g_releasedir, stripped ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/q3data.c: In function 'PackDirectory_r': tools/quake3/q3data/q3data.c:370:29: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( dirstring, "%s%s/%s", gamedir, dir, name ); ^~ tools/quake3/q3data/q3data.c:370:3: note: 'sprintf' output 2 or more bytes (assuming 1280) into a destination of size 1024 sprintf( dirstring, "%s%s/%s", gamedir, dir, name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/video.c: In function 'FindNextChunk': tools/quake3/q3data/video.c:109:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if ( !strncmp( data_p, name, 4 ) ) { ^~~~~~ In file included from tools/quake3/q3data/q3data.h:28, from tools/quake3/q3data/video.c:23: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ tools/quake3/q3data/video.c: In function 'DumpChunks': tools/quake3/q3data/video.c:131:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf( "0x%x : %s (%d)\n", (int)( data_p - 4 ), str, iff_chunk_len ); ^ tools/quake3/q3data/video.c: In function 'GetWavinfo': tools/quake3/q3data/video.c:158:37: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if ( !( data_p && !strncmp( data_p + 8, "WAVE", 4 ) ) ) { ~~~~~~~^~~ In file included from tools/quake3/q3data/q3data.h:28, from tools/quake3/q3data/video.c:23: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ tools/quake3/q3data/video.c:194:26: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if ( !strncmp( data_p + 28, "mark", 4 ) ) { // this is not a proper parse, but it works with cooledit... ~~~~~~~^~~~ In file included from tools/quake3/q3data/q3data.h:28, from tools/quake3/q3data/video.c:23: /usr/include/string.h:112:6: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'} int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ tools/quake3/q3data/video.c: In function 'BTCCompressBlock': tools/quake3/q3data/video.c:632:41: warning: passing argument 2 of 'BTCQuantizeBlock' from incompatible pointer type [-Wincompatible-pointer-types] error = BTCQuantizeBlock( inBlock, endPoints, btcQuantizedBlock, -1 ); //bestError ); ^~~~~~~~~ tools/quake3/q3data/video.c:517:70: note: expected 'long unsigned int (*)[2]' but argument is of type 'unsigned int (*)[2]' static float BTCQuantizeBlock( float inBlock[4][4][3], unsigned long endPoints[2][2], int btcQuantizedBlock[4][4], float bestError ){ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ tools/quake3/q3data/video.c:643:37: warning: passing argument 2 of 'BTCQuantizeBlock' from incompatible pointer type [-Wincompatible-pointer-types] error = BTCQuantizeBlock( inBlock, bestEndPoints, btcQuantizedBlock, -1.0f ); ^~~~~~~~~~~~~ tools/quake3/q3data/video.c:517:70: note: expected 'long unsigned int (*)[2]' but argument is of type 'unsigned int (*)[2]' static float BTCQuantizeBlock( float inBlock[4][4][3], unsigned long endPoints[2][2], int btcQuantizedBlock[4][4], float bestError ){ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ tools/quake3/q3data/video.c: In function 'Cmd_Video': tools/quake3/q3data/video.c:1110:24: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf( "Total size: %i\n", ftell( output ) ); ~^ ~~~~~~~~~~~~~~~ %li At top level: tools/quake3/q3data/video.c:468:13: warning: 'BTCFindEndpoints' defined but not used [-Wunused-function] static void BTCFindEndpoints( float inBlock[4][4][3], unsigned int endPoints[2][2] ){ ^~~~~~~~~~~~~~~~ tools/quake3/q3data/q3data.c: In function 'Cmd_Maps': tools/quake3/q3data/q3data.c:441:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] sprintf( map, "maps/%s.bsp", token ); ^~ ~~~~~ tools/quake3/q3data/q3data.c:441:3: note: 'sprintf' output between 10 and 1033 bytes into a destination of size 1024 sprintf( map, "maps/%s.bsp", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/q3data.c:449:20: warning: 'maps/' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( map, "%smaps/%s.bsp", gamedir, token ); ^~~~~ tools/quake3/q3data/q3data.c:449:3: note: 'sprintf' output between 10 and 2056 bytes into a destination of size 1024 sprintf( map, "%smaps/%s.bsp", gamedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc libs/filematch.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/filematch.o cc libs/mathlib/bbox.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/mathlib/bbox.o cc libs/mathlib/line.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/mathlib/line.o cc libs/mathlib/m4x4.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/mathlib/m4x4.o cc libs/mathlib/mathlib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/mathlib/mathlib.o tools/quake3/q3data/models.c: In function 'FinishModel': tools/quake3/q3data/models.c:455:21: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%s%s", writedir, g_modelname ); ^~ ~~~~~~~~~~~ tools/quake3/q3data/models.c:455:3: note: 'sprintf' output between 1 and 2047 bytes into a destination of size 1024 sprintf( name, "%s%s", writedir, g_modelname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/models.c:467:20: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%s%s", writedir, g_modelname ); ^~ ~~~~~~~~~~~ tools/quake3/q3data/models.c:467:2: note: 'sprintf' output between 1 and 2047 bytes into a destination of size 1024 sprintf( name, "%s%s", writedir, g_modelname ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/video.c: In function 'LoadSoundtrack': tools/quake3/q3data/video.c:243:20: warning: 'video/' directive writing 6 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%svideo/%s/%s.wav", gamedir, s_base, s_base ); ^~~~~~ tools/quake3/q3data/video.c:243:2: note: 'sprintf' output between 12 and 1097 bytes into a destination of size 1024 sprintf( name, "%svideo/%s/%s.wav", gamedir, s_base, s_base ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc libs/mathlib/ray.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/mathlib/ray.o tools/quake3/q3data/video.c: In function 'LoadFrame': tools/quake3/q3data/video.c:857:21: warning: 'video/' directive writing 6 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%svideo/%s/%s%i%i%i.tga", gamedir, base, base, ten2, ten1, ten0 ); ^~~~~~ tools/quake3/q3data/video.c:857:18: note: directive argument in the range [-21474836, 21474836] sprintf( name, "%svideo/%s/%s%i%i%i.tga", gamedir, base, base, ten2, ten1, ten0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/video.c:857:18: note: directive argument in the range [-214748364, 214748364] tools/quake3/q3data/video.c:857:18: note: directive argument in the range [-9, 9] tools/quake3/q3data/video.c:857:3: note: 'sprintf' output 15 or more bytes (assuming 1056) into a destination of size 1024 sprintf( name, "%svideo/%s/%s%i%i%i.tga", gamedir, base, base, ten2, ten1, ten0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/video.c:854:21: warning: 'video/' directive writing 6 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%svideo/%s/%s%i%i%i%i.tga", gamedir, base, base, ten3, ten2, ten1, ten0 ); ^~~~~~ tools/quake3/q3data/video.c:854:18: note: directive argument in the range [-2147483, 2147483] sprintf( name, "%svideo/%s/%s%i%i%i%i.tga", gamedir, base, base, ten3, ten2, ten1, ten0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/video.c:854:18: note: directive argument in the range [-21474836, 21474836] tools/quake3/q3data/video.c:854:18: note: directive argument in the range [-214748364, 214748364] tools/quake3/q3data/video.c:854:18: note: directive argument in the range [-9, 9] tools/quake3/q3data/video.c:854:3: note: 'sprintf' output 16 or more bytes (assuming 1064) into a destination of size 1024 sprintf( name, "%svideo/%s/%s%i%i%i%i.tga", gamedir, base, base, ten3, ten2, ten1, ten0 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/common/jpeg.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/common/jpeg.o cc tools/quake3/common/mutex.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/common/mutex.o tools/quake3/q3data/video.c: In function 'Cmd_Video': tools/quake3/q3data/video.c:963:24: warning: 'video/' directive writing 6 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( savename, "%svideo/%s.%s", writedir, s_output_base, CIN_EXTENSION ); ^~~~~~ tools/quake3/q3data/video.c:963:2: note: 'sprintf' output between 11 and 1065 bytes into a destination of size 1024 sprintf( savename, "%svideo/%s.%s", writedir, s_output_base, CIN_EXTENSION ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/video.c:972:21: warning: 'video/' directive writing 6 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%svideo/%s/%s000.tga", gamedir, s_base, s_base ); ^~~~~~ tools/quake3/q3data/video.c:972:3: note: 'sprintf' output between 15 and 1100 bytes into a destination of size 1024 sprintf( name, "%svideo/%s/%s000.tga", gamedir, s_base, s_base ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/video.c:969:21: warning: 'video/' directive writing 6 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( name, "%svideo/%s/%s0000.tga", gamedir, s_base, s_base ); ^~~~~~ tools/quake3/q3data/video.c:969:3: note: 'sprintf' output between 16 and 1101 bytes into a destination of size 1024 sprintf( name, "%svideo/%s/%s0000.tga", gamedir, s_base, s_base ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/video.c:1094:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1000 [-Wformat-overflow=] sprintf( buffer, "%svideo/%s/btc%04d.tga", gamedir, s_base, frame ); ^~ ~~~~~~~ tools/quake3/q3data/video.c:1094:5: note: 'sprintf' output between 19 and 1080 bytes into a destination of size 1000 sprintf( buffer, "%svideo/%s/btc%04d.tga", gamedir, s_base, frame ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/video.c:1044:23: warning: '%s' directive writing up to 1023 bytes into a region of size 1000 [-Wformat-overflow=] sprintf( buffer, "%svideo/%s/uc%04d.tga", gamedir, s_base, frame ); ^~ ~~~~~~~ tools/quake3/q3data/video.c:1044:5: note: 'sprintf' output between 18 and 1079 bytes into a destination of size 1000 sprintf( buffer, "%svideo/%s/uc%04d.tga", gamedir, s_base, frame ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/common/polylib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/common/polylib.o tools/quake3/q3data/models.c: In function 'Cmd_Base': tools/quake3/q3data/models.c:777:25: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( filename, "%s/%s", g_cddir, token ); ^~ ~~~~~ tools/quake3/q3data/models.c:777:2: note: 'sprintf' output between 2 and 2048 bytes into a destination of size 1024 sprintf( filename, "%s/%s", g_cddir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/common/threads.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/common/threads.o tools/quake3/q3data/models.c: In function 'GrabFrame': tools/quake3/q3data/models.c:941:25: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( file1, "%s/%s",g_cddir, framefile ); ^ tools/quake3/q3data/models.c:941:3: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 sprintf( file1, "%s/%s",g_cddir, framefile ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3map2/brush.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/brush.o tools/quake3/q3data/models.c: In function 'Cmd_Skin': tools/quake3/q3data/models.c:1201:26: warning: '%s' directive writing up to 1023 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf( skinfile, "%s/%s", g_cddir, token ); ^~ ~~~~~ tools/quake3/q3data/models.c:1201:3: note: 'sprintf' output between 2 and 2048 bytes into a destination of size 1024 sprintf( skinfile, "%s/%s", g_cddir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/models.c: In function 'Cmd_Cd': tools/quake3/q3data/models.c:1315:23: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( g_cddir, "%s%s", gamedir, token ); ^~ ~~~~~ tools/quake3/q3data/models.c:1315:2: note: 'sprintf' output between 1 and 2047 bytes into a destination of size 1024 sprintf( g_cddir, "%s%s", gamedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/models.c: In function 'Cmd_3DSConvert': tools/quake3/q3data/models.c:1351:20: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( file, "%s%s", gamedir, token ); ^~ ~~~~~ tools/quake3/q3data/models.c:1351:2: note: 'sprintf' output between 1 and 2047 bytes into a destination of size 1024 sprintf( file, "%s%s", gamedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3data/models.c: In function 'Cmd_ASEConvert': tools/quake3/q3data/models.c:1383:24: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%s%s", gamedir, token ); ^~ ~~~~~ tools/quake3/q3data/models.c:1383:2: note: 'sprintf' output between 1 and 2047 bytes into a destination of size 1024 sprintf( filename, "%s%s", gamedir, token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3map2/brush_primit.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/brush_primit.o cc tools/quake3/q3map2/bspfile_abstract.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/bspfile_abstract.o cc tools/quake3/q3map2/bspfile_ibsp.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/bspfile_ibsp.o cc tools/quake3/q3map2/bspfile_rbsp.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/bspfile_rbsp.o cc tools/quake3/q3map2/bsp.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/bsp.o cc tools/quake3/q3map2/convert_ase.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/convert_ase.o tools/quake3/q3map2/convert_ase.c: In function 'ConvertBSPToASE': tools/quake3/q3map2/convert_ase.c:381:37: warning: '/lm_' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf( buf, sizeof( buf ), "%s/lm_%04d.tga", dirname, lightmapCount ); ^~~~ tools/quake3/q3map2/convert_ase.c:381:4: note: 'snprintf' output between 13 and 1043 bytes into a destination of size 1024 snprintf( buf, sizeof( buf ), "%s/lm_%04d.tga", dirname, lightmapCount ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/bspfile_abstract.c: In function 'UnparseEntities': tools/quake3/q3map2/bspfile_abstract.c:686:29: warning: '%s' directive writing up to 1023 bytes into a region of size between 1021 and 2044 [-Wformat-overflow=] sprintf( line, "\"%s\" \"%s\"\n", key, value ); ^~ ~~~~~ tools/quake3/q3map2/bspfile_abstract.c:686:4: note: 'sprintf' output between 7 and 2053 bytes into a destination of size 2048 sprintf( line, "\"%s\" \"%s\"\n", key, value ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3map2/convert_obj.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/convert_obj.o cc tools/quake3/q3map2/convert_map.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/convert_map.o tools/quake3/q3map2/bsp.c: In function 'OnlyEnts': tools/quake3/q3map2/bsp.c:657:19: warning: '.bsp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( out, "%s.bsp", source ); ^~~~ tools/quake3/q3map2/bsp.c:657:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( out, "%s.bsp", source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/bsp.c: In function 'BSPMain': tools/quake3/q3map2/bsp.c:1003:20: warning: '.prt' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( path, "%s.prt", source ); ^~~~ tools/quake3/q3map2/bsp.c:1003:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( path, "%s.prt", source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/bsp.c:1005:20: warning: '.lin' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( path, "%s.lin", source ); ^~~~ tools/quake3/q3map2/bsp.c:1005:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( path, "%s.lin", source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/bsp.c:1014:21: warning: '.reg' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( path, "%s.reg", source ); ^~~~ tools/quake3/q3map2/bsp.c:1014:3: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( path, "%s.reg", source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/bsp.c:155:26: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf( modelValue, "*%d", models ); ^~ tools/quake3/q3map2/bsp.c:155:24: note: directive argument in the range [1, 2147483647] sprintf( modelValue, "*%d", models ); ^~~~~ tools/quake3/q3map2/bsp.c:155:3: note: 'sprintf' output between 3 and 12 bytes into a destination of size 10 sprintf( modelValue, "*%d", models ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/convert_obj.c: In function 'ConvertBSPToOBJ': tools/quake3/q3map2/convert_obj.c:265:37: warning: '/lm_' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf( buf, sizeof( buf ), "%s/lm_%04d.tga", dirname, lightmapCount ); ^~~~ tools/quake3/q3map2/convert_obj.c:265:4: note: 'snprintf' output between 13 and 1043 bytes into a destination of size 1024 snprintf( buf, sizeof( buf ), "%s/lm_%04d.tga", dirname, lightmapCount ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3map2/decals.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/decals.o cc tools/quake3/q3map2/facebsp.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/facebsp.o cc tools/quake3/q3map2/fog.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/fog.o cc tools/quake3/q3map2/image.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/image.o cc tools/quake3/q3map2/leakfile.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/leakfile.o cc tools/quake3/q3map2/light_bounce.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/light_bounce.o tools/quake3/q3map2/leakfile.c: In function 'LeakFile': tools/quake3/q3map2/leakfile.c:79:24: warning: '.lin' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%s.lin", source ); ^~~~ tools/quake3/q3map2/leakfile.c:79:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( filename, "%s.lin", source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3map2/lightmaps_ydnar.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/lightmaps_ydnar.o cc tools/quake3/q3map2/light.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/light.o cc tools/quake3/q3map2/light_trace.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/light_trace.o tools/quake3/q3map2/light_bounce.c: In function 'RadSubdivideDiffuseLight': tools/quake3/q3map2/light_bounce.c:373:20: warning: array subscript 4 is above array bounds of 'vec4_t' {aka 'float[4]'} [-Warray-bounds] textureColor[ 4 ] = 255; ~~~~~~~~~~~~^~~~~ tools/quake3/q3map2/light_bounce.c:289:17: warning: array subscript 4 is above array bounds of 'vec4_t' {aka 'float[4]'} [-Warray-bounds] textureColor[ 4 ] = 255.0f; ~~~~~~~~~~~~^~~~~ tools/quake3/q3map2/lightmaps_ydnar.c: In function 'ExportLightmaps': tools/quake3/q3map2/lightmaps_ydnar.c:141:25: warning: '/lightmap_' directive writing 10 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%s/lightmap_%04d.tga", dirname, i ); ^~~~~~~~~~ tools/quake3/q3map2/lightmaps_ydnar.c:141:22: note: directive argument in the range [0, 2147483647] sprintf( filename, "%s/lightmap_%04d.tga", dirname, i ); ^~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/lightmaps_ydnar.c:141:3: note: 'sprintf' output between 19 and 1048 bytes into a destination of size 1024 sprintf( filename, "%s/lightmap_%04d.tga", dirname, i ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/lightmaps_ydnar.c: In function 'ImportLightmapsMain': tools/quake3/q3map2/lightmaps_ydnar.c:224:25: warning: '/lightmap_' directive writing 10 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%s/lightmap_%04d.tga", dirname, i ); ^~~~~~~~~~ tools/quake3/q3map2/lightmaps_ydnar.c:224:22: note: directive argument in the range [0, 2147483647] sprintf( filename, "%s/lightmap_%04d.tga", dirname, i ); ^~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/lightmaps_ydnar.c:224:3: note: 'sprintf' output between 19 and 1048 bytes into a destination of size 1024 sprintf( filename, "%s/lightmap_%04d.tga", dirname, i ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3map2/light_ydnar.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/light_ydnar.o tools/quake3/q3map2/light_ydnar.c: In function 'SetupBrushesFlags': tools/quake3/q3map2/light_ydnar.c:3238:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ( ( compileFlags & mask_any ) == test_any && ( allCompileFlags & mask_all ) == test_all ) { ^~ tools/quake3/q3map2/light_ydnar.c:3238:82: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if ( ( compileFlags & mask_any ) == test_any && ( allCompileFlags & mask_all ) == test_all ) { ^~ cc tools/quake3/q3map2/main.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/main.o tools/quake3/q3map2/lightmaps_ydnar.c: In function 'StoreSurfaceLightmaps': tools/quake3/q3map2/lightmaps_ydnar.c:3143:23: warning: '/lm_' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%s/" EXTERNAL_LIGHTMAP, dirname, numExtLightmaps ); ^~~~~ tools/quake3/q3map2/lightmaps_ydnar.c:3143:26: note: format string is defined here sprintf( filename, "%s/" EXTERNAL_LIGHTMAP, dirname, numExtLightmaps ); tools/quake3/q3map2/lightmaps_ydnar.c:3143:4: note: 'sprintf' output between 13 and 1043 bytes into a destination of size 1024 sprintf( filename, "%s/" EXTERNAL_LIGHTMAP, dirname, numExtLightmaps ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/lightmaps_ydnar.c:3150:24: warning: '/lm_' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%s/" EXTERNAL_LIGHTMAP, dirname, numExtLightmaps ); ^~~~~ tools/quake3/q3map2/lightmaps_ydnar.c:3150:27: note: format string is defined here sprintf( filename, "%s/" EXTERNAL_LIGHTMAP, dirname, numExtLightmaps ); tools/quake3/q3map2/lightmaps_ydnar.c:3150:24: note: directive argument in the range [-2147483647, 2147483647] sprintf( filename, "%s/" EXTERNAL_LIGHTMAP, dirname, numExtLightmaps ); ^~~~~ tools/quake3/q3map2/lightmaps_ydnar.c:3150:5: note: 'sprintf' output between 13 and 1043 bytes into a destination of size 1024 sprintf( filename, "%s/" EXTERNAL_LIGHTMAP, dirname, numExtLightmaps ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/lightmaps_ydnar.c:3170:22: warning: '/lm_' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%s/" EXTERNAL_LIGHTMAP, dirname, i ); ^~~~~ tools/quake3/q3map2/lightmaps_ydnar.c:3170:25: note: format string is defined here sprintf( filename, "%s/" EXTERNAL_LIGHTMAP, dirname, i ); tools/quake3/q3map2/lightmaps_ydnar.c:3170:3: note: 'sprintf' output between 13 and 1043 bytes into a destination of size 1024 sprintf( filename, "%s/" EXTERNAL_LIGHTMAP, dirname, i ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3map2/map.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/map.o tools/quake3/q3map2/map.c: In function 'ParseBrush': tools/quake3/q3map2/map.c:1079:30: warning: '%s' directive writing up to 63 bytes into a region of size 55 [-Wformat-overflow=] sprintf( shader, "textures/%s", name ); ^~ ~~~~ tools/quake3/q3map2/map.c:1079:3: note: 'sprintf' output between 10 and 73 bytes into a destination of size 64 sprintf( shader, "textures/%s", name ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3map2/mesh.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/mesh.o cc tools/quake3/q3map2/model.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/model.o cc tools/quake3/q3map2/patch.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/patch.o tools/quake3/q3map2/main.c: In function 'PseudoCompileBSP': tools/quake3/q3map2/main.c:1503:27: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf( modelValue, "*%d", models++ ); ^~ tools/quake3/q3map2/main.c:1503:25: note: directive argument in the range [1, 2147483647] sprintf( modelValue, "*%d", models++ ); ^~~~~ tools/quake3/q3map2/main.c:1503:4: note: 'sprintf' output between 3 and 12 bytes into a destination of size 10 sprintf( modelValue, "*%d", models++ ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3map2/path_init.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/path_init.o tools/quake3/q3map2/path_init.c: In function 'LokiInitPaths': tools/quake3/q3map2/path_init.c:122:7: warning: unused variable 'last0' [-Wunused-variable] char last0[ 2 ]; ^~~~~ tools/quake3/q3map2/patch.c: In function 'ParsePatch': tools/quake3/q3map2/patch.c:359:29: warning: '%s' directive writing up to 63 bytes into a region of size 55 [-Wformat-overflow=] sprintf( shader, "textures/%s", texture ); ^~ ~~~~~~~ tools/quake3/q3map2/patch.c:359:2: note: 'sprintf' output between 10 and 73 bytes into a destination of size 64 sprintf( shader, "textures/%s", texture ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3map2/portals.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/portals.o cc tools/quake3/q3map2/prtfile.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/prtfile.o cc tools/quake3/q3map2/shaders.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/shaders.o tools/quake3/q3map2/prtfile.c: In function 'WritePortalFile': tools/quake3/q3map2/prtfile.c:380:24: warning: '.prt' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( filename, "%s.prt", source ); ^~~~ tools/quake3/q3map2/prtfile.c:380:2: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( filename, "%s.prt", source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/shaders.c: In function 'BeginMapShaderFile': tools/quake3/q3map2/shaders.c:340:29: warning: '/../' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( mapShaderFile, "%s/../%s/q3map2_%s.shader", base, game->shaderPath, mapName ); ^~~~ tools/quake3/q3map2/shaders.c:340:2: note: 'sprintf' output 20 or more bytes (assuming 1106) into a destination of size 1024 sprintf( mapShaderFile, "%s/../%s/q3map2_%s.shader", base, game->shaderPath, mapName ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3map2/surface_extra.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/surface_extra.o tools/quake3/q3map2/portals.c: In function 'FloodEntities': tools/quake3/q3map2/portals.c:751:18: warning: 'tripcount' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( !tripped || tree->outside_node.occupied < tripcount ) { ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/shaders.c: In function 'FinishShader': tools/quake3/q3map2/shaders.c:722:46: warning: array subscript 3 is above array bounds of 'vec3_t' {aka 'float[3]'} [-Warray-bounds] delta[ 3 ] = color[ 3 ] - si->averageColor[ 3 ]; ~~~~~~~~~~~~~~~~^~~~~ cc tools/quake3/q3map2/surface_foliage.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/surface_foliage.o cc tools/quake3/q3map2/surface_fur.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/surface_fur.o tools/quake3/q3map2/shaders.c: In function 'CustomShader': tools/quake3/q3map2/shaders.c:559:23: warning: '%02X' directive writing 2 bytes into a region of size between 0 and 63 [-Wformat-overflow=] sprintf( shader, "%s/%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X", mapName, ^~~~ tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] sprintf( shader, "%s/%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X", mapName, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] tools/quake3/q3map2/shaders.c:559:19: note: directive argument in the range [0, 255] tools/quake3/q3map2/shaders.c:559:2: note: 'sprintf' output between 34 and 97 bytes into a destination of size 64 sprintf( shader, "%s/%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X", mapName, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ digest[ 0 ], digest[ 1 ], digest[ 2 ], digest[ 3 ], digest[ 4 ], digest[ 5 ], digest[ 6 ], digest[ 7 ], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ digest[ 8 ], digest[ 9 ], digest[ 10 ], digest[ 11 ], digest[ 12 ], digest[ 13 ], digest[ 14 ], digest[ 15 ] ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3map2/surface_meta.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/surface_meta.o cc tools/quake3/q3map2/surface.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/surface.o tools/quake3/q3map2/surface.c: In function 'FilterWindingIntoTree_r': tools/quake3/q3map2/surface.c:2112:17: warning: variable 'plane2' set but not used [-Wunused-but-set-variable] vec4_t plane1, plane2; ^~~~~~ tools/quake3/q3map2/surface_meta.c: In function 'MetaTrianglesToSurface': tools/quake3/q3map2/surface_meta.c:1707:27: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset( verts, 0, sizeof( verts ) ); ^ tools/quake3/q3map2/surface_meta.c:1708:29: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset( indexes, 0, sizeof( indexes ) ); ^ cc tools/quake3/q3map2/tjunction.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/tjunction.o tools/quake3/q3map2/shaders.c: In function 'LoadShaderInfo': tools/quake3/q3map2/shaders.c:1960:27: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] sprintf( temp, "*mat_%s", token ); ^~ ~~~~~ tools/quake3/q3map2/shaders.c:1960:6: note: 'sprintf' output between 6 and 1029 bytes into a destination of size 1024 sprintf( temp, "*mat_%s", token ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/shaders.c:1254:39: warning: '_up.tga' directive writing 7 bytes into a region of size between 1 and 64 [-Wformat-overflow=] sprintf( si->lightImagePath, "%s_up.tga", si->skyParmsImageBase ); ^~~~~~~ tools/quake3/q3map2/shaders.c:1254:7: note: 'sprintf' output between 8 and 71 bytes into a destination of size 64 sprintf( si->lightImagePath, "%s_up.tga", si->skyParmsImageBase ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/shaders.c:1210:41: warning: '.tga' directive writing 4 bytes into a region of size between 1 and 64 [-Wformat-overflow=] sprintf( si->implicitImagePath, "%s.tga", si->shader ); ^~~~ tools/quake3/q3map2/shaders.c:1210:6: note: 'sprintf' output between 5 and 68 bytes into a destination of size 64 sprintf( si->implicitImagePath, "%s.tga", si->shader ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/shaders.c:1199:41: warning: '.tga' directive writing 4 bytes into a region of size between 1 and 64 [-Wformat-overflow=] sprintf( si->implicitImagePath, "%s.tga", si->shader ); ^~~~ tools/quake3/q3map2/shaders.c:1199:6: note: 'sprintf' output between 5 and 68 bytes into a destination of size 64 sprintf( si->implicitImagePath, "%s.tga", si->shader ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/shaders.c:1188:41: warning: '.tga' directive writing 4 bytes into a region of size between 1 and 64 [-Wformat-overflow=] sprintf( si->implicitImagePath, "%s.tga", si->shader ); ^~~~ tools/quake3/q3map2/shaders.c:1188:6: note: 'sprintf' output between 5 and 68 bytes into a destination of size 64 sprintf( si->implicitImagePath, "%s.tga", si->shader ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3map2/tree.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/tree.o cc tools/quake3/q3map2/visflow.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/visflow.o cc tools/quake3/q3map2/vis.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/vis.o tools/quake3/q3map2/surface.c: In function 'GetIndexedShader': tools/quake3/q3map2/surface.c:833:30: warning: '%s' directive writing up to 63 bytes into a region of size 55 [-Wformat-overflow=] sprintf( shader, "textures/%s_%dto%d", im->shader, minShaderIndex, maxShaderIndex ); ^~ tools/quake3/q3map2/surface.c:833:20: note: directive argument in the range [0, 2147483647] sprintf( shader, "textures/%s_%dto%d", im->shader, minShaderIndex, maxShaderIndex ); ^~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/surface.c:833:20: note: directive argument in the range [0, 255] tools/quake3/q3map2/surface.c:833:3: note: 'sprintf' output between 15 and 89 bytes into a destination of size 64 sprintf( shader, "textures/%s_%dto%d", im->shader, minShaderIndex, maxShaderIndex ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/surface.c:830:30: warning: '%s' directive writing up to 63 bytes into a region of size 55 [-Wformat-overflow=] sprintf( shader, "textures/%s_%d", im->shader, maxShaderIndex ); ^~ tools/quake3/q3map2/surface.c:830:20: note: directive argument in the range [0, 255] sprintf( shader, "textures/%s_%d", im->shader, maxShaderIndex ); ^~~~~~~~~~~~~~~~ tools/quake3/q3map2/surface.c:830:3: note: 'sprintf' output between 12 and 77 bytes into a destination of size 64 sprintf( shader, "textures/%s_%d", im->shader, maxShaderIndex ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/surface.c: In function 'DrawSurfaceForSide': tools/quake3/q3map2/surface.c:929:27: warning: '_lf' directive writing 3 bytes into a region of size between 1 and 64 [-Wformat-overflow=] sprintf( tempShader, "%s_lf", si->skyParmsImageBase ); ^~~ tools/quake3/q3map2/surface.c:929:3: note: 'sprintf' output between 4 and 67 bytes into a destination of size 64 sprintf( tempShader, "%s_lf", si->skyParmsImageBase ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/surface.c:931:27: warning: '_rt' directive writing 3 bytes into a region of size between 1 and 64 [-Wformat-overflow=] sprintf( tempShader, "%s_rt", si->skyParmsImageBase ); ^~~ tools/quake3/q3map2/surface.c:931:3: note: 'sprintf' output between 4 and 67 bytes into a destination of size 64 sprintf( tempShader, "%s_rt", si->skyParmsImageBase ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/surface.c:933:27: warning: '_ft' directive writing 3 bytes into a region of size between 1 and 64 [-Wformat-overflow=] sprintf( tempShader, "%s_ft", si->skyParmsImageBase ); ^~~ tools/quake3/q3map2/surface.c:933:3: note: 'sprintf' output between 4 and 67 bytes into a destination of size 64 sprintf( tempShader, "%s_ft", si->skyParmsImageBase ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/surface.c:935:27: warning: '_bk' directive writing 3 bytes into a region of size between 1 and 64 [-Wformat-overflow=] sprintf( tempShader, "%s_bk", si->skyParmsImageBase ); ^~~ tools/quake3/q3map2/surface.c:935:3: note: 'sprintf' output between 4 and 67 bytes into a destination of size 64 sprintf( tempShader, "%s_bk", si->skyParmsImageBase ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/surface.c:937:27: warning: '_up' directive writing 3 bytes into a region of size between 1 and 64 [-Wformat-overflow=] sprintf( tempShader, "%s_up", si->skyParmsImageBase ); ^~~ tools/quake3/q3map2/surface.c:937:3: note: 'sprintf' output between 4 and 67 bytes into a destination of size 64 sprintf( tempShader, "%s_up", si->skyParmsImageBase ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/surface.c:939:27: warning: '_dn' directive writing 3 bytes into a region of size between 1 and 64 [-Wformat-overflow=] sprintf( tempShader, "%s_dn", si->skyParmsImageBase ); ^~~ tools/quake3/q3map2/surface.c:939:3: note: 'sprintf' output between 4 and 67 bytes into a destination of size 64 sprintf( tempShader, "%s_dn", si->skyParmsImageBase ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc tools/quake3/q3map2/writebsp.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -Itools/quake3/common -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o tools/quake3/q3map2/writebsp.o tools/quake3/q3map2/surface_meta.c: In function 'CreateEdge': tools/quake3/q3map2/surface_meta.c:981:12: warning: array subscript 3 is above array bounds of 'vec3_t' {aka 'float[3]'} [-Warray-bounds] edge->edge[ 3 ] = DotProduct( a, edge->edge ); ~~~~~~~~~~^~~~~ tools/quake3/q3map2/writebsp.c: In function 'SetModelNumbers': tools/quake3/q3map2/writebsp.c:264:22: warning: '%i' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf( value, "*%i", models ); ^~ tools/quake3/q3map2/writebsp.c:264:20: note: directive argument in the range [1, 2147483647] sprintf( value, "*%i", models ); ^~~~~ tools/quake3/q3map2/writebsp.c:264:4: note: 'sprintf' output between 3 and 12 bytes into a destination of size 10 sprintf( value, "*%i", models ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/quake3/q3map2/writebsp.c: In function 'EndBSPFile': tools/quake3/q3map2/writebsp.c:421:21: warning: '.bsp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf( path, "%s.bsp", source ); ^~~~ tools/quake3/q3map2/writebsp.c:421:3: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 sprintf( path, "%s.bsp", source ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc libs/ddslib/ddslib.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/ddslib/ddslib.o cc libs/picomodel/lwo/clip.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/lwo/clip.o cc libs/picomodel/lwo/envelope.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/lwo/envelope.o cc libs/picomodel/lwo/list.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/lwo/list.o cc libs/picomodel/lwo/lwio.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/lwo/lwio.o cc libs/picomodel/lwo/lwo2.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/lwo/lwo2.o libs/picomodel/lwo/lwio.c:25: warning: "INT_MIN" redefined #define INT_MIN ( -2147483647 - 1 ) /* minimum (signed) int value */ In file included from /usr/include/sys/limits.h:36, from /usr/include/math.h:21, from libs/picomodel/lwo/../picointernal.h:53, from libs/picomodel/lwo/lwio.c:10: /usr/include/machine/limits.h:70: note: this is the location of the previous definition #define INT_MIN (-0x7fffffff - 1) /* min value for an int */ cc libs/picomodel/lwo/lwob.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/lwo/lwob.o cc libs/picomodel/lwo/pntspols.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/lwo/pntspols.o cc libs/picomodel/lwo/surface.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/lwo/surface.o cc libs/picomodel/lwo/vecmath.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/lwo/vecmath.o cc libs/picomodel/lwo/vmap.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/lwo/vmap.o cc libs/picomodel/picointernal.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/picointernal.o cc libs/picomodel/picomodel.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/picomodel.o cc libs/picomodel/picomodules.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/picomodules.o cc libs/picomodel/pm_3ds.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/pm_3ds.o In function 'GetMeshShader', inlined from 'DoNextEditorDataChunk' at libs/picomodel/pm_3ds.c:577:10: libs/picomodel/pm_3ds.c:428:4: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy( temp, name, sizeof( temp ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libs/picomodel/pm_3ds.c: In function '_3ds_load': libs/picomodel/pm_3ds.c:737:2: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy( basename,_pico_nopath( fileName ),sizeof( basename ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc libs/picomodel/pm_ase.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/pm_ase.o cc libs/picomodel/pm_fm.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/pm_fm.o cc libs/picomodel/pm_lwo.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/pm_lwo.o libs/picomodel/pm_fm.c: In function '_fm_load': libs/picomodel/pm_fm.c:373:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( skinname, (const char *) fm.fm_skin, FM_SKINPATHSIZE ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libs/picomodel/pm_ase.c: In function '_ase_load': libs/picomodel/pm_ase.c:561:4: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy( lastNodeName,ptr,sizeof( lastNodeName ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libs/picomodel/pm_lwo.c: In function '_lwo_load': libs/picomodel/pm_lwo.c:237:3: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy( name, surface->name, sizeof( name ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc libs/picomodel/pm_md2.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/pm_md2.o cc libs/picomodel/pm_md3.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/pm_md3.o libs/picomodel/pm_md2.c: In function '_md2_load': libs/picomodel/pm_md2.c:430:2: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( skinname, (const char *) ( bb + md2->ofsSkins ), MD2_MAX_SKINNAME ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc libs/picomodel/pm_mdc.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/pm_mdc.o cc libs/picomodel/pm_ms3d.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/pm_ms3d.o cc libs/picomodel/pm_obj.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/pm_obj.o libs/picomodel/pm_ms3d.c: In function '_ms3d_load': libs/picomodel/pm_ms3d.c:238:2: warning: 'numVerts' may be used uninitialized in this function [-Wmaybe-uninitialized] printf( "NumVertices: %d\n",numVerts ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libs/picomodel/pm_ms3d.c:301:2: warning: 'numGroups' may be used uninitialized in this function [-Wmaybe-uninitialized] printf( "NumGroups: %d\n",numGroups ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libs/picomodel/pm_ms3d.c:385:2: warning: 'numMaterials' may be used uninitialized in this function [-Wmaybe-uninitialized] printf( "NumMaterials: %d\n",numMaterials ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libs/picomodel/pm_ms3d.c:263:2: warning: 'numTris' may be used uninitialized in this function [-Wmaybe-uninitialized] printf( "NumTriangles: %d\n",numTris ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libs/picomodel/pm_ms3d.c:341:68: warning: 'triangleIndex' may be used uninitialized in this function [-Wmaybe-uninitialized] triangle = (TMsTriangle *)( ptrToTris + ( sizeof( TMsTriangle ) * triangleIndex ) ); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ cc libs/picomodel/pm_terrain.c -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/picomodel/pm_terrain.o c++ plugins/archivepak/archive.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/archivepak/archive.o c++ plugins/archivepak/pak.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/archivepak/pak.o c++ plugins/archivepak/plugin.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/archivepak/plugin.o c++ plugins/archivewad/archive.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/archivewad/archive.o c++ plugins/archivewad/plugin.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/archivewad/plugin.o In file included from plugins/archivepak/archive.cpp:32: libs/archivelib.h: In member function 'virtual void DirectoryArchiveFile::release()': libs/archivelib.h:185:9: warning: deleting object of polymorphic class type 'DirectoryArchiveFile' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ libs/archivelib.h: In member function 'virtual void DirectoryArchiveTextFile::release()': libs/archivelib.h:213:9: warning: deleting object of polymorphic class type 'DirectoryArchiveTextFile' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/archivewad/wad.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/archivewad/wad.o plugins/archivepak/archive.cpp: In member function 'virtual void PakArchive::release()': plugins/archivepak/archive.cpp:112:9: warning: deleting object of polymorphic class type 'PakArchive' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/archivezip/archive.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/archivezip/archive.o c++ plugins/archivezip/pkzip.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/archivezip/pkzip.o In file included from plugins/archivewad/archive.cpp:32: libs/archivelib.h: In member function 'virtual void DirectoryArchiveFile::release()': libs/archivelib.h:185:9: warning: deleting object of polymorphic class type 'DirectoryArchiveFile' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ libs/archivelib.h: In member function 'virtual void DirectoryArchiveTextFile::release()': libs/archivelib.h:213:9: warning: deleting object of polymorphic class type 'DirectoryArchiveTextFile' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ plugins/archivewad/archive.cpp: In member function 'virtual void WadArchive::release()': plugins/archivewad/archive.cpp:132:9: warning: deleting object of polymorphic class type 'WadArchive' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/archivezip/plugin.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/archivezip/plugin.o c++ plugins/archivezip/zlibstream.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/archivezip/zlibstream.o c++ plugins/entity/angle.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/angle.o In file included from plugins/archivezip/archive.cpp:32: libs/archivelib.h: In member function 'virtual void DirectoryArchiveFile::release()': libs/archivelib.h:185:9: warning: deleting object of polymorphic class type 'DirectoryArchiveFile' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ libs/archivelib.h: In member function 'virtual void DirectoryArchiveTextFile::release()': libs/archivelib.h:213:9: warning: deleting object of polymorphic class type 'DirectoryArchiveTextFile' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ plugins/archivezip/archive.cpp: In member function 'virtual void DeflatedArchiveFile::release()': plugins/archivezip/archive.cpp:51:9: warning: deleting object of polymorphic class type 'DeflatedArchiveFile' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ plugins/archivezip/archive.cpp: In member function 'virtual void DeflatedArchiveTextFile::release()': plugins/archivezip/archive.cpp:80:9: warning: deleting object of polymorphic class type 'DeflatedArchiveTextFile' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ plugins/archivezip/archive.cpp: In member function 'virtual void ZipArchive::release()': plugins/archivezip/archive.cpp:217:9: warning: deleting object of polymorphic class type 'ZipArchive' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/entity/angles.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/angles.o c++ plugins/entity/colour.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/colour.o In file included from include/ientity.h:28, from plugins/entity/angle.h:25, from plugins/entity/angle.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/entity/doom3group.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/doom3group.o In file included from plugins/entity/doom3group.cpp:33: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ c++ plugins/entity/eclassmodel.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/eclassmodel.o In file included from include/ientity.h:28, from plugins/entity/angles.h:25, from plugins/entity/angles.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/entity/eclassmodel.cpp:32: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from include/ientity.h:28, from plugins/entity/colour.h:25, from plugins/entity/colour.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/entity/entity.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/entity.o In file included from include/editable.h:32, from plugins/entity/doom3group.cpp:34: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/modulesystem.h:26, from include/iscenegraph.h:191, from libs/scenelib.h:25, from include/editable.h:32, from plugins/entity/doom3group.cpp:34: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ c++ plugins/entity/filters.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/filters.o In file included from include/editable.h:32, from plugins/entity/eclassmodel.cpp:33: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/selectable.h:28, from plugins/entity/entity.cpp:25: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/modulesystem.h:26, from include/iscenegraph.h:191, from libs/scenelib.h:25, from include/editable.h:32, from plugins/entity/eclassmodel.cpp:33: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from plugins/entity/doom3group.cpp:41: libs/entitylib.h: In member function 'void KeyValue::DecRef()': libs/entitylib.h:323:10: warning: deleting object of polymorphic class type 'KeyValue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/entity/doom3group.cpp:42: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from plugins/entity/filters.h:28, from plugins/entity/filters.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/entity/entity.cpp:29: libs/entitylib.h: In member function 'void KeyValue::DecRef()': libs/entitylib.h:323:10: warning: deleting object of polymorphic class type 'KeyValue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from libs/pivot.h:223, from plugins/entity/entity.cpp:31: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from libs/pivot.h:225, from plugins/entity/entity.cpp:31: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ c++ plugins/entity/generic.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/generic.o In file included from plugins/entity/generic.cpp:30: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ plugins/entity/doom3group.cpp: In member function 'virtual void Doom3GroupNode::release()': plugins/entity/doom3group.cpp:680:9: warning: deleting object of polymorphic class type 'Doom3GroupNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ plugins/entity/filters.cpp: In function 'void add_entity_filter(EntityFilter&, int, bool)': plugins/entity/filters.cpp:28:7: warning: '.EntityFilterWrapper::m_active' is used uninitialized in this function [-Wuninitialized] class EntityFilterWrapper : public Filter ^~~~~~~~~~~~~~~~~~~ In file included from include/editable.h:32, from plugins/entity/generic.cpp:31: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/entity/group.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/group.o In file included from plugins/entity/group.cpp:28: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from libs/traverselib.h:28, from plugins/entity/doom3group.cpp:40: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = String > >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento > > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = UnsortedMap >, SmartPointer >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento >, SmartPointer > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] In file included from plugins/entity/eclassmodel.cpp:39: libs/entitylib.h: In member function 'void KeyValue::DecRef()': libs/entitylib.h:323:10: warning: deleting object of polymorphic class type 'KeyValue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from libs/string/pooledstring.h:9, from libs/entitylib.h:37, from plugins/entity/doom3group.cpp:41: libs/container/hashfunc.h: In function 'ub4 hash(const ub1*, ub4, ub4, const UB1Traits&, const UB4x1Traits&) [with UB1Traits = ub1_default_traits; UB4x1Traits = ub1x4_default_traits]': libs/container/hashfunc.h:206:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 11: c += ( ( ub4 ) UB1Traits::as_ub1( k[10] ) << 24 ); ^ libs/container/hashfunc.h:207:2: note: here case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^~~~ libs/container/hashfunc.h:207:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^ libs/container/hashfunc.h:208:2: note: here case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^~~~ libs/container/hashfunc.h:208:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^ libs/container/hashfunc.h:210:2: note: here case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^~~~ libs/container/hashfunc.h:210:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^ libs/container/hashfunc.h:211:2: note: here case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^~~~ libs/container/hashfunc.h:211:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^ libs/container/hashfunc.h:212:2: note: here case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^~~~ libs/container/hashfunc.h:212:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^ libs/container/hashfunc.h:213:2: note: here case 5: b += UB1Traits::as_ub1( k[4] ); ^~~~ libs/container/hashfunc.h:213:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: b += UB1Traits::as_ub1( k[4] ); ^ libs/container/hashfunc.h:214:2: note: here case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^~~~ libs/container/hashfunc.h:214:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^ libs/container/hashfunc.h:215:2: note: here case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^~~~ libs/container/hashfunc.h:215:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^ libs/container/hashfunc.h:216:2: note: here case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^~~~ libs/container/hashfunc.h:216:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^ libs/container/hashfunc.h:217:2: note: here case 1: a += UB1Traits::as_ub1( k[0] ); ^~~~ In file included from plugins/entity/eclassmodel.cpp:40: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from plugins/entity/generic.cpp:37: libs/entitylib.h: In member function 'void KeyValue::DecRef()': libs/entitylib.h:323:10: warning: deleting object of polymorphic class type 'KeyValue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ plugins/entity/eclassmodel.cpp: In member function 'virtual void EclassModelNode::release()': plugins/entity/eclassmodel.cpp:427:9: warning: deleting object of polymorphic class type 'EclassModelNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/editable.h:32, from plugins/entity/group.cpp:29: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/entity/generic.cpp:38: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from include/modulesystem.h:26, from include/iscenegraph.h:191, from libs/scenelib.h:25, from include/editable.h:32, from plugins/entity/group.cpp:29: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ plugins/entity/generic.cpp: In member function 'virtual void GenericEntityNode::release()': plugins/entity/generic.cpp:408:9: warning: deleting object of polymorphic class type 'GenericEntityNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/entity/group.cpp:35: libs/entitylib.h: In member function 'void KeyValue::DecRef()': libs/entitylib.h:323:10: warning: deleting object of polymorphic class type 'KeyValue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/entity/group.cpp:36: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ plugins/entity/group.cpp: In member function 'virtual void GroupNode::release()': plugins/entity/group.cpp:418:9: warning: deleting object of polymorphic class type 'GroupNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from libs/entitylib.h:36, from plugins/entity/entity.cpp:29: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = String > >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento > > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = UnsortedMap >, SmartPointer >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento >, SmartPointer > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] In file included from libs/traverselib.h:28, from plugins/entity/eclassmodel.cpp:38: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = String > >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento > > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = UnsortedMap >, SmartPointer >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento >, SmartPointer > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] In file included from libs/string/pooledstring.h:9, from libs/entitylib.h:37, from plugins/entity/entity.cpp:29: libs/container/hashfunc.h: In function 'ub4 hash(const ub1*, ub4, ub4, const UB1Traits&, const UB4x1Traits&) [with UB1Traits = ub1_default_traits; UB4x1Traits = ub1x4_default_traits]': libs/container/hashfunc.h:206:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 11: c += ( ( ub4 ) UB1Traits::as_ub1( k[10] ) << 24 ); ^ libs/container/hashfunc.h:207:2: note: here case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^~~~ libs/container/hashfunc.h:207:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^ libs/container/hashfunc.h:208:2: note: here case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^~~~ libs/container/hashfunc.h:208:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^ libs/container/hashfunc.h:210:2: note: here case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^~~~ libs/container/hashfunc.h:210:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^ libs/container/hashfunc.h:211:2: note: here case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^~~~ libs/container/hashfunc.h:211:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^ libs/container/hashfunc.h:212:2: note: here case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^~~~ libs/container/hashfunc.h:212:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^ libs/container/hashfunc.h:213:2: note: here case 5: b += UB1Traits::as_ub1( k[4] ); ^~~~ libs/container/hashfunc.h:213:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: b += UB1Traits::as_ub1( k[4] ); ^ libs/container/hashfunc.h:214:2: note: here case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^~~~ libs/container/hashfunc.h:214:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^ libs/container/hashfunc.h:215:2: note: here case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^~~~ libs/container/hashfunc.h:215:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^ libs/container/hashfunc.h:216:2: note: here case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^~~~ libs/container/hashfunc.h:216:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^ libs/container/hashfunc.h:217:2: note: here case 1: a += UB1Traits::as_ub1( k[0] ); ^~~~ In file included from libs/entitylib.h:36, from plugins/entity/generic.cpp:37: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = String > >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento > > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = UnsortedMap >, SmartPointer >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento >, SmartPointer > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] In file included from libs/traverselib.h:28, from plugins/entity/group.cpp:34: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = String > >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento > > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = UnsortedMap >, SmartPointer >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento >, SmartPointer > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] In file included from libs/string/pooledstring.h:9, from libs/entitylib.h:37, from plugins/entity/generic.cpp:37: libs/container/hashfunc.h: In function 'ub4 hash(const ub1*, ub4, ub4, const UB1Traits&, const UB4x1Traits&) [with UB1Traits = ub1_default_traits; UB4x1Traits = ub1x4_default_traits]': libs/container/hashfunc.h:206:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 11: c += ( ( ub4 ) UB1Traits::as_ub1( k[10] ) << 24 ); ^ libs/container/hashfunc.h:207:2: note: here case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^~~~ libs/container/hashfunc.h:207:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^ libs/container/hashfunc.h:208:2: note: here case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^~~~ libs/container/hashfunc.h:208:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^ libs/container/hashfunc.h:210:2: note: here case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^~~~ libs/container/hashfunc.h:210:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^ libs/container/hashfunc.h:211:2: note: here case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^~~~ libs/container/hashfunc.h:211:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^ libs/container/hashfunc.h:212:2: note: here case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^~~~ libs/container/hashfunc.h:212:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^ libs/container/hashfunc.h:213:2: note: here case 5: b += UB1Traits::as_ub1( k[4] ); ^~~~ libs/container/hashfunc.h:213:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: b += UB1Traits::as_ub1( k[4] ); ^ libs/container/hashfunc.h:214:2: note: here case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^~~~ libs/container/hashfunc.h:214:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^ libs/container/hashfunc.h:215:2: note: here case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^~~~ libs/container/hashfunc.h:215:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^ libs/container/hashfunc.h:216:2: note: here case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^~~~ libs/container/hashfunc.h:216:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^ libs/container/hashfunc.h:217:2: note: here case 1: a += UB1Traits::as_ub1( k[0] ); ^~~~ In file included from libs/string/pooledstring.h:9, from libs/entitylib.h:37, from plugins/entity/eclassmodel.cpp:39: libs/container/hashfunc.h: In function 'ub4 hash(const ub1*, ub4, ub4, const UB1Traits&, const UB4x1Traits&) [with UB1Traits = ub1_default_traits; UB4x1Traits = ub1x4_default_traits]': libs/container/hashfunc.h:206:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 11: c += ( ( ub4 ) UB1Traits::as_ub1( k[10] ) << 24 ); ^ libs/container/hashfunc.h:207:2: note: here case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^~~~ libs/container/hashfunc.h:207:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^ libs/container/hashfunc.h:208:2: note: here case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^~~~ libs/container/hashfunc.h:208:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^ libs/container/hashfunc.h:210:2: note: here case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^~~~ libs/container/hashfunc.h:210:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^ libs/container/hashfunc.h:211:2: note: here case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^~~~ libs/container/hashfunc.h:211:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^ libs/container/hashfunc.h:212:2: note: here case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^~~~ libs/container/hashfunc.h:212:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^ libs/container/hashfunc.h:213:2: note: here case 5: b += UB1Traits::as_ub1( k[4] ); ^~~~ libs/container/hashfunc.h:213:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: b += UB1Traits::as_ub1( k[4] ); ^ libs/container/hashfunc.h:214:2: note: here case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^~~~ libs/container/hashfunc.h:214:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^ libs/container/hashfunc.h:215:2: note: here case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^~~~ libs/container/hashfunc.h:215:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^ libs/container/hashfunc.h:216:2: note: here case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^~~~ libs/container/hashfunc.h:216:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^ libs/container/hashfunc.h:217:2: note: here case 1: a += UB1Traits::as_ub1( k[0] ); ^~~~ In file included from libs/string/pooledstring.h:9, from libs/entitylib.h:37, from plugins/entity/group.cpp:35: libs/container/hashfunc.h: In function 'ub4 hash(const ub1*, ub4, ub4, const UB1Traits&, const UB4x1Traits&) [with UB1Traits = ub1_default_traits; UB4x1Traits = ub1x4_default_traits]': libs/container/hashfunc.h:206:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 11: c += ( ( ub4 ) UB1Traits::as_ub1( k[10] ) << 24 ); ^ libs/container/hashfunc.h:207:2: note: here case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^~~~ libs/container/hashfunc.h:207:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^ libs/container/hashfunc.h:208:2: note: here case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^~~~ libs/container/hashfunc.h:208:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^ libs/container/hashfunc.h:210:2: note: here case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^~~~ libs/container/hashfunc.h:210:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^ libs/container/hashfunc.h:211:2: note: here case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^~~~ libs/container/hashfunc.h:211:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^ libs/container/hashfunc.h:212:2: note: here case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^~~~ libs/container/hashfunc.h:212:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^ libs/container/hashfunc.h:213:2: note: here case 5: b += UB1Traits::as_ub1( k[4] ); ^~~~ libs/container/hashfunc.h:213:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: b += UB1Traits::as_ub1( k[4] ); ^ libs/container/hashfunc.h:214:2: note: here case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^~~~ libs/container/hashfunc.h:214:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^ libs/container/hashfunc.h:215:2: note: here case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^~~~ libs/container/hashfunc.h:215:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^ libs/container/hashfunc.h:216:2: note: here case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^~~~ libs/container/hashfunc.h:216:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^ libs/container/hashfunc.h:217:2: note: here case 1: a += UB1Traits::as_ub1( k[0] ); ^~~~ c++ plugins/entity/light.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/light.o In file included from plugins/entity/light.cpp:42: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ c++ plugins/entity/miscmodel.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/miscmodel.o In file included from plugins/entity/miscmodel.cpp:29: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from include/editable.h:32, from plugins/entity/light.cpp:43: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/entity/model.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/model.o In file included from plugins/entity/light.cpp:49: libs/entitylib.h: In member function 'void KeyValue::DecRef()': libs/entitylib.h:323:10: warning: deleting object of polymorphic class type 'KeyValue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/editable.h:32, from plugins/entity/miscmodel.cpp:30: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/entity/light.cpp:50: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from include/modulesystem.h:26, from include/iscenegraph.h:191, from libs/scenelib.h:25, from include/editable.h:32, from plugins/entity/light.cpp:43: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from include/modulesystem.h:26, from include/iscenegraph.h:191, from libs/scenelib.h:25, from include/editable.h:32, from plugins/entity/miscmodel.cpp:30: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ plugins/entity/light.cpp: In member function 'virtual void RenderLightProjection::render(RenderStateFlags) const': plugins/entity/light.cpp:652:10: warning: variable 'test2' set but not used [-Wunused-but-set-variable] Vector3 test2 = vector4_projected( test1 ); ^~~~~ plugins/entity/light.cpp: In member function 'virtual void LightNode::release()': plugins/entity/light.cpp:1669:9: warning: deleting object of polymorphic class type 'LightNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/entity/modelskinkey.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/modelskinkey.o In file included from plugins/entity/miscmodel.cpp:36: libs/entitylib.h: In member function 'void KeyValue::DecRef()': libs/entitylib.h:323:10: warning: deleting object of polymorphic class type 'KeyValue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/entity/miscmodel.cpp:38: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ plugins/entity/miscmodel.cpp: In member function 'virtual void MiscModelNode::release()': plugins/entity/miscmodel.cpp:374:9: warning: deleting object of polymorphic class type 'MiscModelNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/ientity.h:28, from libs/entitylib.h:28, from plugins/entity/model.h:25, from plugins/entity/model.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from libs/entitylib.h:36, from plugins/entity/light.cpp:49: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = String > >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento > > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = UnsortedMap >, SmartPointer >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento >, SmartPointer > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] In file included from include/ientity.h:28, from libs/entitylib.h:28, from plugins/entity/modelskinkey.h:30, from plugins/entity/modelskinkey.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from libs/string/pooledstring.h:9, from libs/entitylib.h:37, from plugins/entity/light.cpp:49: libs/container/hashfunc.h: In function 'ub4 hash(const ub1*, ub4, ub4, const UB1Traits&, const UB4x1Traits&) [with UB1Traits = ub1_default_traits; UB4x1Traits = ub1x4_default_traits]': libs/container/hashfunc.h:206:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 11: c += ( ( ub4 ) UB1Traits::as_ub1( k[10] ) << 24 ); ^ libs/container/hashfunc.h:207:2: note: here case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^~~~ libs/container/hashfunc.h:207:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^ libs/container/hashfunc.h:208:2: note: here case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^~~~ libs/container/hashfunc.h:208:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^ libs/container/hashfunc.h:210:2: note: here case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^~~~ libs/container/hashfunc.h:210:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^ libs/container/hashfunc.h:211:2: note: here case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^~~~ libs/container/hashfunc.h:211:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^ libs/container/hashfunc.h:212:2: note: here case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^~~~ libs/container/hashfunc.h:212:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^ libs/container/hashfunc.h:213:2: note: here case 5: b += UB1Traits::as_ub1( k[4] ); ^~~~ libs/container/hashfunc.h:213:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: b += UB1Traits::as_ub1( k[4] ); ^ libs/container/hashfunc.h:214:2: note: here case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^~~~ libs/container/hashfunc.h:214:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^ libs/container/hashfunc.h:215:2: note: here case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^~~~ libs/container/hashfunc.h:215:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^ libs/container/hashfunc.h:216:2: note: here case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^~~~ libs/container/hashfunc.h:216:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^ libs/container/hashfunc.h:217:2: note: here case 1: a += UB1Traits::as_ub1( k[0] ); ^~~~ In file included from plugins/entity/model.h:25, from plugins/entity/model.cpp:22: libs/entitylib.h: In member function 'void KeyValue::DecRef()': libs/entitylib.h:323:10: warning: deleting object of polymorphic class type 'KeyValue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/entity/namedentity.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/namedentity.o In file included from plugins/entity/modelskinkey.h:30, from plugins/entity/modelskinkey.cpp:22: libs/entitylib.h: In member function 'void KeyValue::DecRef()': libs/entitylib.h:323:10: warning: deleting object of polymorphic class type 'KeyValue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/modulesystem.h:26, from include/modelskin.h:76, from plugins/entity/modelskinkey.h:25, from plugins/entity/modelskinkey.cpp:22: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from libs/traverselib.h:28, from plugins/entity/miscmodel.cpp:35: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = String > >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento > > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = UnsortedMap >, SmartPointer >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento >, SmartPointer > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] In file included from include/modulesystem.h:26, from include/ireference.h:63, from libs/entitylib.h:25, from plugins/entity/model.h:25, from plugins/entity/model.cpp:22: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from libs/string/pooledstring.h:9, from libs/entitylib.h:37, from plugins/entity/miscmodel.cpp:36: libs/container/hashfunc.h: In function 'ub4 hash(const ub1*, ub4, ub4, const UB1Traits&, const UB4x1Traits&) [with UB1Traits = ub1_default_traits; UB4x1Traits = ub1x4_default_traits]': libs/container/hashfunc.h:206:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 11: c += ( ( ub4 ) UB1Traits::as_ub1( k[10] ) << 24 ); ^ libs/container/hashfunc.h:207:2: note: here case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^~~~ libs/container/hashfunc.h:207:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^ libs/container/hashfunc.h:208:2: note: here case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^~~~ libs/container/hashfunc.h:208:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^ libs/container/hashfunc.h:210:2: note: here case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^~~~ libs/container/hashfunc.h:210:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^ libs/container/hashfunc.h:211:2: note: here case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^~~~ libs/container/hashfunc.h:211:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^ libs/container/hashfunc.h:212:2: note: here case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^~~~ libs/container/hashfunc.h:212:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^ libs/container/hashfunc.h:213:2: note: here case 5: b += UB1Traits::as_ub1( k[4] ); ^~~~ libs/container/hashfunc.h:213:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: b += UB1Traits::as_ub1( k[4] ); ^ libs/container/hashfunc.h:214:2: note: here case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^~~~ In file included from libs/entitylib.h:36, from plugins/entity/modelskinkey.h:30, from plugins/entity/modelskinkey.cpp:22: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = String > >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento > > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ libs/container/hashfunc.h:214:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^ libs/container/hashfunc.h:215:2: note: here case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^~~~ libs/container/hashfunc.h:215:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^ libs/container/hashfunc.h:216:2: note: here case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^~~~ libs/container/hashfunc.h:216:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^ libs/container/hashfunc.h:217:2: note: here case 1: a += UB1Traits::as_ub1( k[0] ); ^~~~ libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = UnsortedMap >, SmartPointer >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento >, SmartPointer > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] In file included from libs/entitylib.h:36, from plugins/entity/model.h:25, from plugins/entity/model.cpp:22: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = String > >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento > > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = UnsortedMap >, SmartPointer >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento >, SmartPointer > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] In file included from include/ientity.h:28, from libs/entitylib.h:28, from plugins/entity/namedentity.h:25, from plugins/entity/namedentity.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/entity/namedentity.h:25, from plugins/entity/namedentity.cpp:22: libs/entitylib.h: In member function 'void KeyValue::DecRef()': libs/entitylib.h:323:10: warning: deleting object of polymorphic class type 'KeyValue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/entity/origin.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/origin.o c++ plugins/entity/plugin.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/plugin.o In file included from libs/entitylib.h:36, from plugins/entity/namedentity.h:25, from plugins/entity/namedentity.cpp:22: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = String > >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento > > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = UnsortedMap >, SmartPointer >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento >, SmartPointer > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] c++ plugins/entity/rotation.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/rotation.o In file included from include/ientity.h:28, from plugins/entity/plugin.cpp:29: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/ientity.h:28, from plugins/entity/origin.h:25, from plugins/entity/origin.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/ientity.h:28, from plugins/entity/rotation.h:25, from plugins/entity/rotation.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/entity/scale.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/scale.o c++ plugins/entity/skincache.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/skincache.o In file included from include/ientity.h:28, from plugins/entity/scale.h:25, from plugins/entity/scale.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/entity/targetable.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/entity/targetable.o plugins/entity/skincache.cpp: In member function 'bool Doom3ModelSkin::parseTokens(Tokeniser&)': plugins/entity/skincache.cpp:52:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "{" ) ); ^ plugins/entity/skincache.cpp: In member function 'bool GlobalSkins::parseTokens(Tokeniser&)': plugins/entity/skincache.cpp:136:56: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( skin.parseTokens( tokeniser ) ); ^ plugins/entity/skincache.cpp: In member function 'void Doom3ModelSkinCache::CreateDoom3ModelSkin::destroy(Doom3ModelSkinCacheElement*)': plugins/entity/skincache.cpp:242:9: warning: deleting object of polymorphic class type 'Doom3ModelSkinCacheElement' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete skin; ^~~~ c++ plugins/image/bmp.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/image/bmp.o In file included from plugins/entity/targetable.h:29, from plugins/entity/targetable.cpp:22: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from plugins/image/bmp.cpp:28: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/entity/skincache.cpp:37: libs/modulesystem/singletonmodule.h: In instantiation of 'void DefaultAPIConstructor::destroyAPI(API*) [with API = Doom3ModelSkinCache; Dependencies = Doom3ModelSkinCacheDependencies]': libs/modulesystem/singletonmodule.h:123:30: required from 'void SingletonModule::release() [with API = Doom3ModelSkinCache; Dependencies = Doom3ModelSkinCacheDependencies; APIConstructor = DefaultAPIConstructor]' libs/modulesystem/singletonmodule.h:120:6: required from here libs/modulesystem/singletonmodule.h:43:2: warning: deleting object of polymorphic class type 'Doom3ModelSkinCache' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete api; ^~~~~~ In file included from plugins/entity/skincache.cpp:34: libs/container/hashfunc.h: In function 'ub4 hash(const ub1*, ub4, ub4, const UB1Traits&, const UB4x1Traits&) [with UB1Traits = ub1_default_traits; UB4x1Traits = ub1x4_default_traits]': libs/container/hashfunc.h:206:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 11: c += ( ( ub4 ) UB1Traits::as_ub1( k[10] ) << 24 ); ^ libs/container/hashfunc.h:207:2: note: here case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^~~~ libs/container/hashfunc.h:207:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^ libs/container/hashfunc.h:208:2: note: here case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^~~~ libs/container/hashfunc.h:208:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^ libs/container/hashfunc.h:210:2: note: here case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^~~~ libs/container/hashfunc.h:210:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^ libs/container/hashfunc.h:211:2: note: here case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^~~~ libs/container/hashfunc.h:211:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^ libs/container/hashfunc.h:212:2: note: here case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^~~~ libs/container/hashfunc.h:212:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^ libs/container/hashfunc.h:213:2: note: here case 5: b += UB1Traits::as_ub1( k[4] ); ^~~~ libs/container/hashfunc.h:213:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: b += UB1Traits::as_ub1( k[4] ); ^ libs/container/hashfunc.h:214:2: note: here case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^~~~ libs/container/hashfunc.h:214:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^ libs/container/hashfunc.h:215:2: note: here case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^~~~ libs/container/hashfunc.h:215:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^ libs/container/hashfunc.h:216:2: note: here case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^~~~ libs/container/hashfunc.h:216:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^ libs/container/hashfunc.h:217:2: note: here case 1: a += UB1Traits::as_ub1( k[0] ); ^~~~ In file included from plugins/entity/targetable.h:32, from plugins/entity/targetable.cpp:22: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from libs/selectionlib.h:27, from plugins/entity/targetable.h:34, from plugins/entity/targetable.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/image/dds.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/image/dds.o In file included from plugins/entity/targetable.h:35, from plugins/entity/targetable.cpp:22: libs/entitylib.h: In member function 'void KeyValue::DecRef()': libs/entitylib.h:323:10: warning: deleting object of polymorphic class type 'KeyValue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/image/dds.cpp:31: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from libs/entitylib.h:36, from plugins/entity/targetable.h:35, from plugins/entity/targetable.cpp:22: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = String > >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento > > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = UnsortedMap >, SmartPointer >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento >, SmartPointer > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] c++ plugins/image/image.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/image/image.o c++ plugins/image/jpeg.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/image/jpeg.o In file included from plugins/image/jpeg.cpp:51: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ plugins/image/jpeg.cpp: In function 'void j_putRGBAScanline(unsigned char*, int, unsigned char*, int)': plugins/image/jpeg.cpp:300:35: warning: variable 'iAlp' set but not used [-Wunused-but-set-variable] unsigned char iRed, iBlu, iGrn, iAlp; ^~~~ c++ plugins/image/pcx.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/image/pcx.o c++ plugins/image/tga.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/image/tga.o In file included from plugins/image/pcx.cpp:30: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/imagehl/hlw.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/imagehl/hlw.o In file included from plugins/image/tga.cpp:33: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/imagehl/imagehl.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/imagehl/imagehl.o In file included from plugins/imagehl/hlw.cpp:40: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ plugins/imagehl/hlw.cpp: In function 'Image* LoadHLWBuff(byte*)': plugins/imagehl/hlw.cpp:94:21: warning: variable 'numPixels' set but not used [-Wunused-but-set-variable] int columns, rows, numPixels; ^~~~~~~~~ c++ plugins/imagehl/mip.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/imagehl/mip.o In file included from plugins/imagehl/mip.cpp:32: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ plugins/imagehl/mip.cpp: In function 'Image* LoadMIPBuff(byte*)': plugins/imagehl/mip.cpp:141:16: warning: variable 'mipdatasize' set but not used [-Wunused-but-set-variable] unsigned long mipdatasize; ^~~~~~~~~~~ In file included from plugins/imagehl/mip.cpp:33: libs/bytestreamutils.h:96:9: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] return value; ^~~~~ libs/bytestreamutils.h:96:9: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] return value; ^~~~~ c++ plugins/imagehl/sprite.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/imagehl/sprite.o In file included from plugins/imagehl/sprite.cpp:34: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ plugins/imagehl/sprite.cpp: In function 'Image* LoadIDSPBuff(byte*)': plugins/imagehl/sprite.cpp:105:21: warning: variable 'numPixels' set but not used [-Wunused-but-set-variable] int columns, rows, numPixels; ^~~~~~~~~ c++ plugins/imagepng/plugin.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libpng16 -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/imagepng/plugin.o c++ plugins/imagewebp/plugin.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/imagewebp/plugin.o In file included from plugins/imagewebp/plugin.cpp:27: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/imagepng/plugin.cpp:29: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ plugins/imagepng/plugin.cpp: In function 'Image* LoadPNGBuff(unsigned char*)': plugins/imagepng/plugin.cpp:85:72: warning: cast between incompatible function types from 'void (*)(png_structp, png_bytep, png_uint_32)' {aka 'void (*)(png_struct_def*, unsigned char*, unsigned int)'} to 'png_rw_ptr' {aka 'void (*)(png_struct_def*, unsigned char*, long unsigned int)'} [-Wcast-function-type] png_set_read_fn( png_ptr, ( png_voidp ) & p_fbuffer, ( png_rw_ptr ) & user_read_data ); ^~~~~~~~~~~~~~ c++ plugins/imageq2/imageq2.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/imageq2/imageq2.o c++ plugins/imageq2/wal32.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/imageq2/wal32.o c++ plugins/imageq2/wal.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/imageq2/wal.o c++ plugins/mapq3/parse.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/mapq3/parse.o In file included from plugins/imageq2/wal32.cpp:27: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/imageq2/wal32.cpp:26: libs/bytestreamutils.h: In function 'Image* LoadM32Buff(byte*)': libs/bytestreamutils.h:103:9: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] return value; ^~~~~ c++ plugins/mapq3/plugin.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/mapq3/plugin.o c++ plugins/mapq3/write.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/mapq3/write.o c++ plugins/mapxml/plugin.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/mapxml/plugin.o In file included from plugins/imageq2/wal.cpp:29: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/mapxml/plugin.cpp:30: libs/modulesystem/singletonmodule.h: In instantiation of 'void DefaultAPIConstructor::destroyAPI(API*) [with API = MapXMLAPI; Dependencies = MapXMLDependencies]': libs/modulesystem/singletonmodule.h:123:30: required from 'void SingletonModule::release() [with API = MapXMLAPI; Dependencies = MapXMLDependencies; APIConstructor = DefaultAPIConstructor]' libs/modulesystem/singletonmodule.h:120:6: required from here libs/modulesystem/singletonmodule.h:43:2: warning: deleting object of polymorphic class type 'MapXMLAPI' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete api; ^~~~~~ In file included from plugins/imageq2/wal.cpp:28: libs/bytestreamutils.h: In function 'Image* LoadMipTex(byte*, byte)': libs/bytestreamutils.h:96:9: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] return value; ^~~~~ libs/bytestreamutils.h:96:9: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] return value; ^~~~~ In file included from plugins/mapq3/plugin.cpp:31: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/mapxml/xmlparse.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/mapxml/xmlparse.o In file included from plugins/mapq3/parse.h:43, from plugins/mapq3/parse.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/mapxml/xmlwrite.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/mapxml/xmlwrite.o plugins/mapq3/plugin.cpp: In member function 'virtual void MapDoom3API::readGraph(scene::Node&, TextInputStream&, EntityCreator&) const': plugins/mapq3/plugin.cpp:113:15: warning: comparison of integer expressions of different signedness: 'std::size_t' {aka 'long unsigned int'} and 'ConstantWrapper::Value' {aka 'int'} [-Wsign-compare] if ( version != MapVersion() ) { ~~~~~~~~^~~~~~~~~~~~~~~ plugins/mapq3/plugin.cpp: In member function 'virtual void MapQuake4API::readGraph(scene::Node&, TextInputStream&, EntityCreator&) const': plugins/mapq3/plugin.cpp:184:15: warning: comparison of integer expressions of different signedness: 'std::size_t' {aka 'long unsigned int'} and 'ConstantWrapper::Value' {aka 'int'} [-Wsign-compare] if ( version != MapVersion() ) { ~~~~~~~~^~~~~~~~~~~~~~~ In file included from include/ientity.h:28, from plugins/mapq3/write.cpp:24: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/mapq3/plugin.cpp:36: libs/modulesystem/singletonmodule.h: In instantiation of 'void DefaultAPIConstructor::destroyAPI(API*) [with API = MapVMFAPI; Dependencies = MapDependencies]': libs/modulesystem/singletonmodule.h:123:30: required from 'void SingletonModule::release() [with API = MapVMFAPI; Dependencies = MapDependencies; APIConstructor = DefaultAPIConstructor]' libs/modulesystem/singletonmodule.h:120:6: required from here libs/modulesystem/singletonmodule.h:43:2: warning: deleting object of polymorphic class type 'MapVMFAPI' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete api; ^~~~~~ libs/modulesystem/singletonmodule.h: In instantiation of 'void DefaultAPIConstructor::destroyAPI(API*) [with API = MapQ2API; Dependencies = MapDependencies]': libs/modulesystem/singletonmodule.h:123:30: required from 'void SingletonModule::release() [with API = MapQ2API; Dependencies = MapDependencies; APIConstructor = DefaultAPIConstructor]' libs/modulesystem/singletonmodule.h:120:6: required from here libs/modulesystem/singletonmodule.h:43:2: warning: deleting object of polymorphic class type 'MapQ2API' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] libs/modulesystem/singletonmodule.h: In instantiation of 'void DefaultAPIConstructor::destroyAPI(API*) [with API = MapHalfLifeAPI; Dependencies = MapDependencies]': libs/modulesystem/singletonmodule.h:123:30: required from 'void SingletonModule::release() [with API = MapHalfLifeAPI; Dependencies = MapDependencies; APIConstructor = DefaultAPIConstructor]' libs/modulesystem/singletonmodule.h:120:6: required from here libs/modulesystem/singletonmodule.h:43:2: warning: deleting object of polymorphic class type 'MapHalfLifeAPI' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] libs/modulesystem/singletonmodule.h: In instantiation of 'void DefaultAPIConstructor::destroyAPI(API*) [with API = MapQ1API; Dependencies = MapDependencies]': libs/modulesystem/singletonmodule.h:123:30: required from 'void SingletonModule::release() [with API = MapQ1API; Dependencies = MapDependencies; APIConstructor = DefaultAPIConstructor]' libs/modulesystem/singletonmodule.h:120:6: required from here libs/modulesystem/singletonmodule.h:43:2: warning: deleting object of polymorphic class type 'MapQ1API' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] libs/modulesystem/singletonmodule.h: In instantiation of 'void DefaultAPIConstructor::destroyAPI(API*) [with API = MapQ3API; Dependencies = MapDependencies]': libs/modulesystem/singletonmodule.h:123:30: required from 'void SingletonModule::release() [with API = MapQ3API; Dependencies = MapDependencies; APIConstructor = DefaultAPIConstructor]' libs/modulesystem/singletonmodule.h:120:6: required from here libs/modulesystem/singletonmodule.h:43:2: warning: deleting object of polymorphic class type 'MapQ3API' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] libs/modulesystem/singletonmodule.h: In instantiation of 'void DependenciesAPIConstructor::destroyAPI(API*) [with API = MapQuake4API; Dependencies = MapDoom3Dependencies]': libs/modulesystem/singletonmodule.h:123:30: required from 'void SingletonModule::release() [with API = MapQuake4API; Dependencies = MapDoom3Dependencies; APIConstructor = DependenciesAPIConstructor]' libs/modulesystem/singletonmodule.h:120:6: required from here libs/modulesystem/singletonmodule.h:59:2: warning: deleting object of polymorphic class type 'MapQuake4API' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete api; ^~~~~~ libs/modulesystem/singletonmodule.h: In instantiation of 'void DependenciesAPIConstructor::destroyAPI(API*) [with API = MapDoom3API; Dependencies = MapDoom3Dependencies]': libs/modulesystem/singletonmodule.h:123:30: required from 'void SingletonModule::release() [with API = MapDoom3API; Dependencies = MapDoom3Dependencies; APIConstructor = DependenciesAPIConstructor]' libs/modulesystem/singletonmodule.h:120:6: required from here libs/modulesystem/singletonmodule.h:59:2: warning: deleting object of polymorphic class type 'MapDoom3API' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] In file included from plugins/mapxml/xmlwrite.cpp:29: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/md3model/md2.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/md3model/md2.o In file included from include/ientity.h:28, from plugins/mapxml/xmlparse.cpp:30: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/md3model/md2.cpp:27: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/md3model/model.h:26, from plugins/md3model/md2.cpp:30: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ c++ plugins/md3model/md3.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/md3model/md3.o In file included from plugins/mapxml/xmlparse.cpp:36: libs/xml/xmlparser.h: In member function 'virtual void XMLStreamParser::exportXML(XMLImporter&)': libs/xml/xmlparser.h:192:7: warning: variable 'wellFormed' set but not used [-Wunused-but-set-variable] bool wellFormed = false; ^~~~~~~~~~ In file included from plugins/md3model/md3.cpp:27: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/md3model/model.h:26, from plugins/md3model/md3.cpp:30: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from include/selectable.h:28, from plugins/md3model/model.h:27, from plugins/md3model/md2.cpp:30: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/modulesystem.h:26, from include/ifilesystem.h:105, from plugins/md3model/md2.cpp:24: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from plugins/md3model/model.h:39, from plugins/md3model/md2.cpp:30: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ c++ plugins/md3model/md5.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/md3model/md5.o In file included from include/selectable.h:28, from plugins/md3model/model.h:27, from plugins/md3model/md3.cpp:30: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/md3model/md2.cpp:30: plugins/md3model/model.h: In destructor 'Model::~Model()': plugins/md3model/model.h:243:11: warning: deleting object of polymorphic class type 'Surface' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete *i; ^ plugins/md3model/model.h: In member function 'virtual void ModelNode::release()': plugins/md3model/model.h:479:9: warning: deleting object of polymorphic class type 'ModelNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/modulesystem.h:26, from include/ifilesystem.h:105, from plugins/md3model/md3.cpp:24: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from plugins/md3model/model.h:39, from plugins/md3model/md3.cpp:30: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from plugins/md3model/md3.cpp:30: plugins/md3model/model.h: In destructor 'Model::~Model()': plugins/md3model/model.h:243:11: warning: deleting object of polymorphic class type 'Surface' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete *i; ^ plugins/md3model/model.h: In member function 'virtual void ModelNode::release()': plugins/md3model/model.h:479:9: warning: deleting object of polymorphic class type 'ModelNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/md3model/mdc.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/md3model/mdc.o In file included from plugins/md3model/md5.cpp:27: libs/archivelib.h: In member function 'virtual void DirectoryArchiveFile::release()': libs/archivelib.h:185:9: warning: deleting object of polymorphic class type 'DirectoryArchiveFile' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ libs/archivelib.h: In member function 'virtual void DirectoryArchiveTextFile::release()': libs/archivelib.h:213:9: warning: deleting object of polymorphic class type 'DirectoryArchiveTextFile' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/md3model/model.h:26, from plugins/md3model/md5.cpp:30: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from plugins/md3model/mdc.cpp:27: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/md3model/model.h:26, from plugins/md3model/mdc.cpp:30: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from libs/traverselib.h:28, from plugins/md3model/model.h:38, from plugins/md3model/md2.cpp:30: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ In file included from include/selectable.h:28, from plugins/md3model/model.h:27, from plugins/md3model/md5.cpp:30: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/md3model/mdlimage.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/md3model/mdlimage.o In file included from libs/traverselib.h:28, from plugins/md3model/model.h:38, from plugins/md3model/md3.cpp:30: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ In file included from plugins/md3model/mdlimage.cpp:31: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/modulesystem.h:26, from include/iscriplib.h:70, from plugins/md3model/md5.cpp:24: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from plugins/md3model/mdlimage.cpp:28: libs/bytestreamutils.h: In function 'Image* LoadMDLImageBuff(byte*)': libs/bytestreamutils.h:96:9: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] return value; ^~~~~ In file included from plugins/md3model/model.h:39, from plugins/md3model/md5.cpp:30: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ c++ plugins/md3model/mdl.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/md3model/mdl.o In file included from plugins/md3model/md5.cpp:30: plugins/md3model/model.h: In destructor 'Model::~Model()': plugins/md3model/model.h:243:11: warning: deleting object of polymorphic class type 'Surface' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete *i; ^ plugins/md3model/model.h: In member function 'virtual void ModelNode::release()': plugins/md3model/model.h:479:9: warning: deleting object of polymorphic class type 'ModelNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ plugins/md3model/md5.cpp: In function 'bool MD5_parseToken(Tokeniser&, const char*)': plugins/md3model/md5.cpp:36:40: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( token != 0 ); ^ plugins/md3model/md5.cpp: In function 'bool MD5_parseFloat(Tokeniser&, float&)': plugins/md3model/md5.cpp:42:40: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( token != 0 ); ^ plugins/md3model/md5.cpp: In function 'bool MD5_parseString(Tokeniser&, const char*&)': plugins/md3model/md5.cpp:48:40: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( token != 0 ); ^ plugins/md3model/md5.cpp: In function 'bool MD5_parseInteger(Tokeniser&, int&)': plugins/md3model/md5.cpp:55:40: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( token != 0 ); ^ plugins/md3model/md5.cpp: In function 'bool MD5_parseSize(Tokeniser&, std::size_t&)': plugins/md3model/md5.cpp:61:40: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( token != 0 ); ^ plugins/md3model/md5.cpp: In function 'bool MD5_parseVector3(Tokeniser&, Vector3&)': plugins/md3model/md5.cpp:66:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "(" ) ); ^ plugins/md3model/md5.cpp:67:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseFloat( tokeniser, v.x() ) ); ^ plugins/md3model/md5.cpp:68:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseFloat( tokeniser, v.y() ) ); ^ plugins/md3model/md5.cpp:69:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseFloat( tokeniser, v.z() ) ); ^ plugins/md3model/md5.cpp:70:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, ")" ) ); ^ plugins/md3model/md5.cpp: In function 'bool MD5Anim_parse(Tokeniser&)': plugins/md3model/md5.cpp:154:59: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseVersion( tokeniser ) ); ^ plugins/md3model/md5.cpp:157:72: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "commandline" ) ); ^ plugins/md3model/md5.cpp:159:71: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseString( tokeniser, commandline ) ); ^ plugins/md3model/md5.cpp:162:70: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "numFrames" ) ); ^ plugins/md3model/md5.cpp:164:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, numFrames ) ); ^ plugins/md3model/md5.cpp:167:70: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "numJoints" ) ); ^ plugins/md3model/md5.cpp:169:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, numJoints ) ); ^ plugins/md3model/md5.cpp:172:70: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "frameRate" ) ); ^ plugins/md3model/md5.cpp:174:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, frameRate ) ); ^ plugins/md3model/md5.cpp:177:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "numAnimatedComponents" ) ); ^ plugins/md3model/md5.cpp:179:79: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, numAnimatedComponents ) ); ^ plugins/md3model/md5.cpp:183:70: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "hierarchy" ) ); ^ plugins/md3model/md5.cpp:184:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "{" ) ); ^ plugins/md3model/md5.cpp:190:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseString( tokeniser, name ) ); ^ plugins/md3model/md5.cpp:192:68: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseInteger( tokeniser, parent ) ); ^ plugins/md3model/md5.cpp:194:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, flags ) ); ^ plugins/md3model/md5.cpp:196:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, index ) ); ^ plugins/md3model/md5.cpp:200:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "}" ) ); ^ plugins/md3model/md5.cpp:204:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "bounds" ) ); ^ plugins/md3model/md5.cpp:205:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "{" ) ); ^ plugins/md3model/md5.cpp:211:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseVector3( tokeniser, mins ) ); ^ plugins/md3model/md5.cpp:213:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseVector3( tokeniser, maxs ) ); ^ plugins/md3model/md5.cpp:217:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "}" ) ); ^ plugins/md3model/md5.cpp:221:70: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "baseframe" ) ); ^ plugins/md3model/md5.cpp:222:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "{" ) ); ^ plugins/md3model/md5.cpp:228:70: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseVector3( tokeniser, position ) ); ^ plugins/md3model/md5.cpp:230:70: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseVector3( tokeniser, rotation ) ); ^ plugins/md3model/md5.cpp:234:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "}" ) ); ^ plugins/md3model/md5.cpp:240:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "frame" ) ); ^ plugins/md3model/md5.cpp:241:63: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "{" ) ); ^ plugins/md3model/md5.cpp:247:70: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseFloat( tokeniser, component ) ); ^ plugins/md3model/md5.cpp:251:63: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "}" ) ); ^ plugins/md3model/md5.cpp: In function 'bool MD5Model_parse(Model&, Tokeniser&)': plugins/md3model/md5.cpp:259:59: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseVersion( tokeniser ) ); ^ plugins/md3model/md5.cpp:262:72: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "commandline" ) ); ^ plugins/md3model/md5.cpp:264:71: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseString( tokeniser, commandline ) ); ^ plugins/md3model/md5.cpp:267:70: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "numJoints" ) ); ^ plugins/md3model/md5.cpp:269:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, numJoints ) ); ^ plugins/md3model/md5.cpp:272:70: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "numMeshes" ) ); ^ plugins/md3model/md5.cpp:274:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, numMeshes ) ); ^ plugins/md3model/md5.cpp:279:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "joints" ) ); ^ plugins/md3model/md5.cpp:280:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "{" ) ); ^ plugins/md3model/md5.cpp:286:70: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseString( tokeniser, jointName ) ); ^ plugins/md3model/md5.cpp:287:75: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseInteger( tokeniser, ( *i ).parent ) ); ^ plugins/md3model/md5.cpp:288:77: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseVector3( tokeniser, ( *i ).position ) ); ^ plugins/md3model/md5.cpp:289:99: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseVector3( tokeniser, vector4_to_vector3( ( *i ).rotation ) ) ); ^ plugins/md3model/md5.cpp:294:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "}" ) ); ^ plugins/md3model/md5.cpp:301:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "mesh" ) ); ^ plugins/md3model/md5.cpp:302:63: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "{" ) ); ^ plugins/md3model/md5.cpp:305:68: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "shader" ) ); ^ plugins/md3model/md5.cpp:307:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseString( tokeniser, shader ) ); ^ plugins/md3model/md5.cpp:311:70: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "numverts" ) ); ^ plugins/md3model/md5.cpp:313:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, numVerts ) ); ^ plugins/md3model/md5.cpp:320:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "vert" ) ); ^ plugins/md3model/md5.cpp:321:72: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, ( *j ).index ) ); ^ plugins/md3model/md5.cpp:322:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( ( *j ).index == std::size_t( j - verts.begin() ) ); ^ plugins/md3model/md5.cpp:323:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "(" ) ); ^ plugins/md3model/md5.cpp:324:69: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseFloat( tokeniser, ( *j ).u ) ); ^ plugins/md3model/md5.cpp:325:69: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseFloat( tokeniser, ( *j ).v ) ); ^ plugins/md3model/md5.cpp:326:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, ")" ) ); ^ plugins/md3model/md5.cpp:327:79: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, ( *j ).weight_index ) ); ^ plugins/md3model/md5.cpp:328:79: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, ( *j ).weight_count ) ); ^ plugins/md3model/md5.cpp:332:69: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "numtris" ) ); ^ plugins/md3model/md5.cpp:334:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, numTris ) ); ^ plugins/md3model/md5.cpp:341:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "tri" ) ); ^ plugins/md3model/md5.cpp:342:72: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, ( *j ).index ) ); ^ plugins/md3model/md5.cpp:343:79: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( ( *j ).index == std::size_t( j - tris.begin() ) ); ^ plugins/md3model/md5.cpp:344:68: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, ( *j ).a ) ); ^ plugins/md3model/md5.cpp:345:68: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, ( *j ).b ) ); ^ plugins/md3model/md5.cpp:346:68: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, ( *j ).c ) ); ^ plugins/md3model/md5.cpp:350:72: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "numweights" ) ); ^ plugins/md3model/md5.cpp:352:69: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, numWeights ) ); ^ plugins/md3model/md5.cpp:359:69: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "weight" ) ); ^ plugins/md3model/md5.cpp:360:72: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, ( *j ).index ) ); ^ plugins/md3model/md5.cpp:361:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( ( *j ).index == std::size_t( j - weights.begin() ) ); ^ plugins/md3model/md5.cpp:362:72: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseSize( tokeniser, ( *j ).joint ) ); ^ plugins/md3model/md5.cpp:363:69: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseFloat( tokeniser, ( *j ).t ) ); ^ plugins/md3model/md5.cpp:364:71: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseVector3( tokeniser, ( *j ).v ) ); ^ plugins/md3model/md5.cpp:368:63: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] MD5_RETURN_FALSE_IF_FAIL( MD5_parseToken( tokeniser, "}" ) ); ^ In file included from include/selectable.h:28, from plugins/md3model/model.h:27, from plugins/md3model/mdc.cpp:30: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/md3model/mdl.cpp:27: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/md3model/model.h:26, from plugins/md3model/mdl.cpp:30: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from include/modulesystem.h:26, from include/ifilesystem.h:105, from plugins/md3model/mdc.cpp:24: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from plugins/md3model/model.h:39, from plugins/md3model/mdc.cpp:30: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from plugins/md3model/mdc.cpp:30: plugins/md3model/model.h: In destructor 'Model::~Model()': plugins/md3model/model.h:243:11: warning: deleting object of polymorphic class type 'Surface' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete *i; ^ plugins/md3model/model.h: In member function 'virtual void ModelNode::release()': plugins/md3model/model.h:479:9: warning: deleting object of polymorphic class type 'ModelNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/selectable.h:28, from plugins/md3model/model.h:27, from plugins/md3model/mdl.cpp:30: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from libs/traverselib.h:28, from plugins/md3model/model.h:38, from plugins/md3model/md5.cpp:30: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ In file included from include/modulesystem.h:26, from include/ifilesystem.h:105, from plugins/md3model/mdl.cpp:24: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from plugins/md3model/model.h:39, from plugins/md3model/mdl.cpp:30: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from libs/traverselib.h:28, from plugins/md3model/model.h:38, from plugins/md3model/mdc.cpp:30: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ In file included from plugins/md3model/mdl.cpp:30: plugins/md3model/model.h: In destructor 'Model::~Model()': plugins/md3model/model.h:243:11: warning: deleting object of polymorphic class type 'Surface' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete *i; ^ plugins/md3model/model.h: In member function 'virtual void ModelNode::release()': plugins/md3model/model.h:479:9: warning: deleting object of polymorphic class type 'ModelNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from libs/traverselib.h:28, from plugins/md3model/model.h:38, from plugins/md3model/mdl.cpp:30: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ c++ plugins/md3model/plugin.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/md3model/plugin.o plugins/md3model/md2.cpp: In function 'void MD2Surface_read(Model&, const byte*, ArchiveFile&)': plugins/md3model/md2.cpp:254:41: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size between 1 and 64 [-Wformat-truncation=] snprintf( skinname, MD2_MAX_SKINNAME, "%s%s", path, &skinnameRelative[1] ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plugins/md3model/md2.cpp:254:11: note: 'snprintf' output between 1 and 127 bytes into a destination of size 64 snprintf( skinname, MD2_MAX_SKINNAME, "%s%s", path, &skinnameRelative[1] ); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plugins/md3model/md2.cpp:244:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( path, file.getName(), MD2_MAX_SKINNAME ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ plugins/model/model.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/model/model.o c++ plugins/model/plugin.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/model/plugin.o In file included from plugins/model/model.cpp:32: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ c++ plugins/shaders/plugin.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/shaders/plugin.o c++ plugins/shaders/shaders.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/shaders/shaders.o In file included from include/selectable.h:28, from plugins/model/model.cpp:33: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/vfspk3/archive.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/vfspk3/archive.o In file included from include/modulesystem.h:26, from include/modelskin.h:76, from plugins/model/model.cpp:29: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from plugins/shaders/shaders.cpp:69: libs/archivelib.h: In member function 'virtual void DirectoryArchiveFile::release()': libs/archivelib.h:185:9: warning: deleting object of polymorphic class type 'DirectoryArchiveFile' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ libs/archivelib.h: In member function 'virtual void DirectoryArchiveTextFile::release()': libs/archivelib.h:213:9: warning: deleting object of polymorphic class type 'DirectoryArchiveTextFile' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from plugins/shaders/shaders.cpp:70: libs/imagelib.h: In member function 'virtual void RGBAImage::release()': libs/imagelib.h:51:9: warning: deleting object of polymorphic class type 'RGBAImage' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ plugins/shaders/shaders.cpp: In function 'bool Doom3Shader_parseHeightmap(Tokeniser&, TextureExpression&, ShaderValue&)': plugins/shaders/shaders.cpp:379:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ plugins/shaders/shaders.cpp:380:71: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseTextureName( tokeniser, bump ) ); ^ plugins/shaders/shaders.cpp:381:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "," ) ); ^ plugins/shaders/shaders.cpp:382:76: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseString( tokeniser, heightmapScale ) ); ^ plugins/shaders/shaders.cpp:383:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ plugins/shaders/shaders.cpp: In function 'bool Doom3Shader_parseAddnormals(Tokeniser&, TextureExpression&)': plugins/shaders/shaders.cpp:388:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ plugins/shaders/shaders.cpp:389:71: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseTextureName( tokeniser, bump ) ); ^ plugins/shaders/shaders.cpp:390:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "," ) ); ^ plugins/shaders/shaders.cpp:391:72: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "heightmap" ) ); ^ plugins/shaders/shaders.cpp:394:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Doom3Shader_parseHeightmap( tokeniser, heightmapName, heightmapScale ) ); ^ plugins/shaders/shaders.cpp:395:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ plugins/shaders/shaders.cpp: In function 'bool Doom3Shader_parseBumpmap(Tokeniser&, TextureExpression&, ShaderValue&)': plugins/shaders/shaders.cpp:406:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Doom3Shader_parseHeightmap( tokeniser, bump, heightmapScale ) ); ^ plugins/shaders/shaders.cpp:409:73: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Doom3Shader_parseAddnormals( tokeniser, bump ) ); ^ plugins/shaders/shaders.cpp: In member function 'bool ShaderTemplate::parseDoom3(Tokeniser&)': plugins/shaders/shaders.cpp:553:98: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseString( tokeniser, currentLayer.m_blendFunc.second ) ); ^ plugins/shaders/shaders.cpp:564:122: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Doom3Shader_parseBumpmap( tokeniser, currentLayer.m_texture, currentLayer.m_heightmapScale ) ); ^ plugins/shaders/shaders.cpp:576:69: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ plugins/shaders/shaders.cpp:583:69: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ plugins/shaders/shaders.cpp:602:83: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseTextureName( tokeniser, m_textureName ) ); ^ plugins/shaders/shaders.cpp:617:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Doom3Shader_parseBumpmap( tokeniser, m_bump, m_heightmapScale ) ); ^ plugins/shaders/shaders.cpp:620:79: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseTextureName( tokeniser, m_diffuse ) ); ^ plugins/shaders/shaders.cpp:623:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseTextureName( tokeniser, m_specular ) ); ^ plugins/shaders/shaders.cpp:657:68: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ plugins/shaders/shaders.cpp:659:75: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseTextureName( tokeniser, name ) ); ^ plugins/shaders/shaders.cpp:661:68: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ plugins/shaders/shaders.cpp: In function 'bool parseTemplateInstance(Tokeniser&, const char*)': plugins/shaders/shaders.cpp:709:70: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseShaderName( tokeniser, name ) ); ^ plugins/shaders/shaders.cpp: In member function 'bool ShaderTemplate::parseQuake3(Tokeniser&)': plugins/shaders/shaders.cpp:1185:70: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, m_fTrans ) ); ^ plugins/shaders/shaders.cpp:1189:83: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseTextureName( tokeniser, m_textureName ) ); ^ plugins/shaders/shaders.cpp:1221:72: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, m_AlphaRef ) ); ^ In file included from plugins/vfspk3/archive.cpp:37: libs/archivelib.h: In member function 'virtual void DirectoryArchiveFile::release()': libs/archivelib.h:185:9: warning: deleting object of polymorphic class type 'DirectoryArchiveFile' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ libs/archivelib.h: In member function 'virtual void DirectoryArchiveTextFile::release()': libs/archivelib.h:213:9: warning: deleting object of polymorphic class type 'DirectoryArchiveTextFile' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ plugins/vfspk3/archive.cpp: In member function 'virtual void DirectoryArchive::release()': plugins/vfspk3/archive.cpp:51:9: warning: deleting object of polymorphic class type 'DirectoryArchive' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ plugins/vfspk3/vfs.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/vfspk3/vfs.o c++ plugins/vfspk3/vfspk3.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o plugins/vfspk3/vfspk3.o c++ contrib/bobtoolz/bobToolz-GTK.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/bobToolz-GTK.o In file included from libs/string/pooledstring.h:9, from plugins/shaders/shaders.cpp:54: libs/container/hashfunc.h: In function 'ub4 hash(const ub1*, ub4, ub4, const UB1Traits&, const UB4x1Traits&) [with UB1Traits = ub1_default_traits; UB4x1Traits = ub1x4_default_traits]': libs/container/hashfunc.h:206:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 11: c += ( ( ub4 ) UB1Traits::as_ub1( k[10] ) << 24 ); ^ libs/container/hashfunc.h:207:2: note: here case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^~~~ libs/container/hashfunc.h:207:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^ libs/container/hashfunc.h:208:2: note: here case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^~~~ libs/container/hashfunc.h:208:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^ libs/container/hashfunc.h:210:2: note: here case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^~~~ libs/container/hashfunc.h:210:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^ libs/container/hashfunc.h:211:2: note: here case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^~~~ libs/container/hashfunc.h:211:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^ libs/container/hashfunc.h:212:2: note: here case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^~~~ libs/container/hashfunc.h:212:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^ libs/container/hashfunc.h:213:2: note: here case 5: b += UB1Traits::as_ub1( k[4] ); ^~~~ libs/container/hashfunc.h:213:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: b += UB1Traits::as_ub1( k[4] ); ^ libs/container/hashfunc.h:214:2: note: here case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^~~~ libs/container/hashfunc.h:214:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^ libs/container/hashfunc.h:215:2: note: here case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^~~~ libs/container/hashfunc.h:215:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^ libs/container/hashfunc.h:216:2: note: here case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^~~~ libs/container/hashfunc.h:216:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^ libs/container/hashfunc.h:217:2: note: here case 1: a += UB1Traits::as_ub1( k[0] ); ^~~~ In file included from plugins/model/model.cpp:43: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from contrib/bobtoolz/bobToolz-GTK.cpp:22: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/bobToolz-GTK.cpp:22: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ plugins/model/model.cpp: In destructor 'PicoModel::~PicoModel()': plugins/model/model.cpp:335:11: warning: deleting object of polymorphic class type 'PicoSurface' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete *i; ^ plugins/model/model.cpp: In member function 'virtual void PicoModelNode::release()': plugins/model/model.cpp:604:9: warning: deleting object of polymorphic class type 'PicoModelNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from libs/traverselib.h:28, from plugins/model/model.cpp:42: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ In file included from include/ientity.h:28, from contrib/bobtoolz/DBobView.h:27, from contrib/bobtoolz/bobToolz-GTK.cpp:29: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from contrib/bobtoolz/DBobView.h:29, from contrib/bobtoolz/bobToolz-GTK.cpp:29: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ contrib/bobtoolz/bobToolz-GTK.cpp:60:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char* PLUGIN_NAME = "bobToolz"; ^~~~~~~~~~ contrib/bobtoolz/bobToolz-GTK.cpp:63:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] static char* PLUGIN_COMMANDS = "About...,-,Reset Textures...,PitOMatic,-,Vis Viewer,Brush Cleanup,Polygon Builder,Caulk Selection,-,Tree Planter,Drop Entity,Plot Splines,-,Merge Patches,Split patches,Split patches cols,Split patches rows,Turn edge"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/bobtoolz/bobToolz-GTK.cpp: In constructor 'BobToolzPluginDependencies::BobToolzPluginDependencies()': contrib/bobtoolz/bobToolz-GTK.cpp:290:105: warning: base 'GlobalModuleRef' will be initialized after [-Wreorder] GlobalEntityClassManagerModuleRef( GlobalRadiant().getRequiredGameDescriptionKeyValue( "entityclass" ) ){ ^ contrib/bobtoolz/bobToolz-GTK.cpp:290:105: warning: base 'GlobalModuleRef' [-Wreorder] contrib/bobtoolz/bobToolz-GTK.cpp:285:1: warning: when initialized here [-Wreorder] BobToolzPluginDependencies() : ^~~~~~~~~~~~~~~~~~~~~~~~~~ plugins/vfspk3/vfs.cpp: In function 'int GetFileCount(const char*, int)': plugins/vfspk3/vfs.cpp:476:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( ( *i ).is_pakfile && ( flag & VFS_SEARCH_PAK ) != 0 ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ contrib/bobtoolz/bsploader.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/bsploader.o c++ contrib/bobtoolz/cportals.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/cportals.o In file included from contrib/bobtoolz/misc.h:25, from contrib/bobtoolz/cportals.cpp:25: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/misc.h:25, from contrib/bobtoolz/cportals.cpp:25: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ plugins/shaders/shaders.cpp: In function 'float evaluateFloat(const ShaderValue&, const ShaderParameters&, const ShaderArguments&)': plugins/shaders/shaders.cpp:789:9: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] return f; ^ c++ contrib/bobtoolz/DBobView.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/DBobView.o c++ contrib/bobtoolz/DBrush.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/DBrush.o c++ contrib/bobtoolz/DEntity.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/DEntity.o In file included from contrib/bobtoolz/DBrush.h:34, from contrib/bobtoolz/DBrush.cpp:24: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/DBrush.h:34, from contrib/bobtoolz/DBrush.cpp:24: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ In file included from contrib/bobtoolz/DEntity.h:32, from contrib/bobtoolz/DEntity.cpp:24: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/DEntity.h:32, from contrib/bobtoolz/DEntity.cpp:24: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ In file included from contrib/bobtoolz/DBrush.cpp:48: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/ientity.h:28, from contrib/bobtoolz/DEntity.cpp:44: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/ientity.h:28, from contrib/bobtoolz/DBobView.h:27, from contrib/bobtoolz/DBobView.cpp:24: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from contrib/bobtoolz/DBobView.h:29, from contrib/bobtoolz/DBobView.cpp:24: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from contrib/bobtoolz/DBobView.cpp:32: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/DBobView.cpp:32: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ c++ contrib/bobtoolz/DEPair.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/DEPair.o In file included from contrib/bobtoolz/DEPair.h:31, from contrib/bobtoolz/DEPair.cpp:24: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/DEPair.h:31, from contrib/bobtoolz/DEPair.cpp:24: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ c++ contrib/bobtoolz/dialogs/dialogs-gtk.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/dialogs/dialogs-gtk.o In file included from contrib/bobtoolz/dialogs/dialogs-gtk.cpp:23: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/dialogs/dialogs-gtk.cpp:23: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ c++ contrib/bobtoolz/DMap.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/DMap.o In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from contrib/bobtoolz/dialogs/dialogs-gtk.cpp:26: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h: At global scope: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from contrib/bobtoolz/dialogs/dialogs-gtk.cpp:26: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ In file included from contrib/bobtoolz/DMap.cpp:24: contrib/bobtoolz/DMap.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DEntity* AddEntity( char* classname = "worldspawn", int ID = -1 ); ^~~~~~~~~~~~ contrib/bobtoolz/dialogs/dialogs-gtk.cpp: In function 'EMessageBoxReturn DoPolygonBox(PolygonRS*)': contrib/bobtoolz/dialogs/dialogs-gtk.cpp:569:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextIntRange( gtk_entry_get_text( (GtkEntry*)text1 ), 3, 32, "Number Of Sides", &rs->nSides ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp:574:115: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextIntRange( gtk_entry_get_text( (GtkEntry*)text2 ), 8, 256, "Border Width", &rs->nBorderWidth ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp: In function 'EMessageBoxReturn DoBuildStairsBox(BuildStairsRS*)': contrib/bobtoolz/dialogs/dialogs-gtk.cpp:601:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *text = "Please set a value in the boxes below and press 'OK' to build the stairs"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/bobtoolz/dialogs/dialogs-gtk.cpp:822:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextInt( gtk_entry_get_text( (GtkEntry*)textStairHeight ), "Stair Height", &rs->stairHeight ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp: In function 'EMessageBoxReturn DoPathPlotterBox(PathPlotterRS*)': contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1217:115: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextIntRange( gtk_entry_get_text( GTK_ENTRY( text1 ) ), 1, 200, "Number Of Points", &rs->nPoints ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1221:120: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextFloatRange( gtk_entry_get_text( GTK_ENTRY( text2 ) ), 1.0f, 10.0f, "Multiplier", &rs->fMultiplier ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1225:119: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextFloatRange( gtk_entry_get_text( GTK_ENTRY( text3 ) ), -10000.0f, -1.0f, "Gravity", &rs->fGravity ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp: In function 'EMessageBoxReturn DoResetTextureBox(ResetTextureRS*)': contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1592:115: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextInt( gtk_entry_get_text( GTK_ENTRY( dlgTexReset.editRotation ) ), "Rotation", &rs->rotation ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1599:126: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextFloat( gtk_entry_get_text( GTK_ENTRY( dlgTexReset.editScaleHor ) ), "Horizontal Scale", &rs->fScale[0] ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1606:125: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextFloat( gtk_entry_get_text( GTK_ENTRY( dlgTexReset.editScaleVert ) ), "Vertical Scale", &rs->fScale[1] ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1613:126: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextFloat( gtk_entry_get_text( GTK_ENTRY( dlgTexReset.editShiftHor ) ), "Horizontal Shift", &rs->fShift[0] ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1620:125: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextFloat( gtk_entry_get_text( GTK_ENTRY( dlgTexReset.editShiftVert ) ), "Vertical Shift", &rs->fShift[1] ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp: In function 'EMessageBoxReturn DoTrainThingBox(TrainThingRS*)': contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1870:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextFloat( gtk_entry_get_text( GTK_ENTRY( radiusX ) ), "Radius (X)", &rs->fRadiusX ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1874:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextFloat( gtk_entry_get_text( GTK_ENTRY( radiusY ) ), "Radius (Y)", &rs->fRadiusY ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1878:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextFloat( gtk_entry_get_text( GTK_ENTRY( angleStart ) ), "Angle (Start)", &rs->fStartAngle ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1882:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextFloat( gtk_entry_get_text( GTK_ENTRY( angleEnd ) ), "Angle (End)", &rs->fEndAngle ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1886:113: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextFloat( gtk_entry_get_text( GTK_ENTRY( heightStart ) ), "Height (Start)", &rs->fStartHeight ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1890:107: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextFloat( gtk_entry_get_text( GTK_ENTRY( heightEnd ) ), "Height (End)", &rs->fEndHeight ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1894:103: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextInt( gtk_entry_get_text( GTK_ENTRY( numPoints ) ), "Num Points", &rs->iNumPoints ) ) { ^ contrib/bobtoolz/dialogs/dialogs-gtk.cpp: In function 'EMessageBoxReturn DoMakeChainBox(MakeChainRS*)': contrib/bobtoolz/dialogs/dialogs-gtk.cpp:1913:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *text = "Please set a value in the boxes below and press 'OK' to make a chain"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/bobtoolz/dialogs/dialogs-gtk.cpp:2006:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( !ValidateTextInt( gtk_entry_get_text( (GtkEntry*)textlinkNum ), "Elements", &rs->linkNum ) ) { ^ In file included from contrib/bobtoolz/DMap.cpp:26: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/DMap.cpp:26: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ c++ contrib/bobtoolz/DPatch.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/DPatch.o In file included from contrib/bobtoolz/DPatch.cpp:27: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/DPatch.cpp:27: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ c++ contrib/bobtoolz/DPlane.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/DPlane.o c++ contrib/bobtoolz/DPoint.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/DPoint.o In file included from contrib/bobtoolz/misc.h:25, from contrib/bobtoolz/DPoint.cpp:25: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/misc.h:25, from contrib/bobtoolz/DPoint.cpp:25: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ In file included from contrib/bobtoolz/DMap.cpp:45: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ contrib/bobtoolz/DMap.cpp: In constructor 'DMap::DMap()': contrib/bobtoolz/DMap.cpp:54:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] AddEntity( "worldspawn", 0 ); ^ contrib/bobtoolz/DMap.cpp: In member function 'DEntity* DMap::GetEntityForID(int)': contrib/bobtoolz/DMap.cpp:96:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] findEntity = AddEntity( "worldspawn", ID ); ^ contrib/bobtoolz/DMap.cpp: In member function 'virtual bool DMap::LoadAll(bool)::load_entities_t::pre(scene::Node&) const': contrib/bobtoolz/DMap.cpp:127:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DEntity* loadEntity = m_map->AddEntity( "", 0 ); ^ c++ contrib/bobtoolz/DShape.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/DShape.o In file included from contrib/bobtoolz/DPatch.cpp:28: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from contrib/bobtoolz/DShape.h:33, from contrib/bobtoolz/DShape.cpp:24: contrib/bobtoolz/DMap.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DEntity* AddEntity( char* classname = "worldspawn", int ID = -1 ); ^~~~~~~~~~~~ In file included from contrib/bobtoolz/DShape.cpp:28: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/DShape.cpp:28: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ contrib/bobtoolz/DPatch.cpp: In member function 'std::__cxx11::list DPatch::Split()': contrib/bobtoolz/DPatch.cpp:486:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ contrib/bobtoolz/DPatch.cpp:487:6: warning: unused variable 'x' [-Wunused-variable] int x, y; ^ contrib/bobtoolz/DPatch.cpp:487:9: warning: unused variable 'y' [-Wunused-variable] int x, y; ^ In file included from contrib/bobtoolz/DPlane.cpp:31: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/DPlane.cpp:31: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ contrib/bobtoolz/DShape.cpp: In member function 'bool DShape::BuildPit(vec_t*, vec_t*)': contrib/bobtoolz/DShape.cpp:387:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DEntity* triggerVoice = m_Container.AddEntity( "trigger_multiple" ); ^ contrib/bobtoolz/DShape.cpp:398:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DEntity* targetVoice = m_Container.AddEntity( "target_speaker" ); ^ contrib/bobtoolz/DShape.cpp:420:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DEntity* triggerPwrRmv = m_Container.AddEntity( "trigger_multiple" ); ^ contrib/bobtoolz/DShape.cpp:430:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DEntity* targetPwrRmv = m_Container.AddEntity( "target_remove_powerups" ); ^ contrib/bobtoolz/DShape.cpp:449:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DEntity* triggerDmg = m_Container.AddEntity( "trigger_hurt" ); ^ c++ contrib/bobtoolz/DTrainDrawer.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/DTrainDrawer.o c++ contrib/bobtoolz/DTreePlanter.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/DTreePlanter.o In file included from contrib/bobtoolz/DTrainDrawer.h:36, from contrib/bobtoolz/DTrainDrawer.cpp:20: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from contrib/bobtoolz/DTrainDrawer.cpp:23: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/DTrainDrawer.cpp:23: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ c++ contrib/bobtoolz/DVisDrawer.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/DVisDrawer.o c++ contrib/bobtoolz/DWinding.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/DWinding.o In file included from contrib/bobtoolz/DVisDrawer.h:33, from contrib/bobtoolz/DVisDrawer.cpp:24: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from include/ientity.h:28, from contrib/bobtoolz/DTrainDrawer.cpp:36: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from contrib/bobtoolz/DVisDrawer.cpp:30: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/DVisDrawer.cpp:30: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ c++ contrib/bobtoolz/funchandlers-GTK.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/funchandlers-GTK.o In file included from contrib/bobtoolz/DEntity.h:32, from contrib/bobtoolz/DTreePlanter.h:29, from contrib/bobtoolz/DTreePlanter.cpp:20: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/DEntity.h:32, from contrib/bobtoolz/DTreePlanter.h:29, from contrib/bobtoolz/DTreePlanter.cpp:20: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ In file included from contrib/bobtoolz/DTreePlanter.cpp:34: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ contrib/bobtoolz/lists.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/lists.o In file included from contrib/bobtoolz/lists.h:21, from contrib/bobtoolz/lists.cpp:20: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/lists.h:21, from contrib/bobtoolz/lists.cpp:20: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ In file included from contrib/bobtoolz/funchandlers-GTK.cpp:29: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/funchandlers-GTK.cpp:29: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ c++ contrib/bobtoolz/misc.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/misc.o c++ contrib/bobtoolz/ScriptParser.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/ScriptParser.o In file included from contrib/bobtoolz/misc.h:25, from contrib/bobtoolz/misc.cpp:20: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/misc.h:25, from contrib/bobtoolz/misc.cpp:20: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ c++ contrib/bobtoolz/shapes.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/shapes.o contrib/bobtoolz/DTrainDrawer.cpp: In function 'void AddSplineControl(const char*, splinePoint_t*)': contrib/bobtoolz/DTrainDrawer.cpp:163:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( cp.strName, control, 64 ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/bobtoolz/DTrainDrawer.cpp: In member function 'void DTrainDrawer::AddControlPoint(const char*, vec_t*)': contrib/bobtoolz/DTrainDrawer.cpp:300:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( pCP->strName, name, 64 ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/bobtoolz/DTrainDrawer.cpp: In member function 'splinePoint_t* DTrainDrawer::AddSplinePoint(const char*, const char*, vec_t*)': contrib/bobtoolz/DTrainDrawer.cpp:309:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( pSP->point.strName, name, 64 ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/bobtoolz/DTrainDrawer.cpp:310:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( pSP->strTarget, target, 64 ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/bobtoolz/DTrainDrawer.cpp: In member function 'bool EntityWalker::pre(const Path&, scene::Instance&) const [with Functor = EntityBuildPaths]': contrib/bobtoolz/DTrainDrawer.cpp:209:23: warning: '%i' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf( buffer, "control%i", j ); ^~~~~~~~~~~ contrib/bobtoolz/DTrainDrawer.cpp:209:23: note: directive argument in the range [2, 2147483647] contrib/bobtoolz/DTrainDrawer.cpp:209:13: note: 'sprintf' output between 9 and 18 bytes into a destination of size 16 sprintf( buffer, "control%i", j ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ c++ contrib/bobtoolz/visfind.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/bobtoolz/visfind.o c++ libs/cmdlib/cmdlib.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/cmdlib/cmdlib.o In file included from contrib/bobtoolz/DShape.h:33, from contrib/bobtoolz/funchandlers-GTK.cpp:37: contrib/bobtoolz/DMap.h: At global scope: contrib/bobtoolz/DMap.h:48:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DEntity* AddEntity( char* classname = "worldspawn", int ID = -1 ); ^~~~~~~~~~~~ In file included from include/ientity.h:28, from contrib/bobtoolz/DBobView.h:27, from contrib/bobtoolz/funchandlers-GTK.cpp:38: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from contrib/bobtoolz/DBobView.h:29, from contrib/bobtoolz/funchandlers-GTK.cpp:38: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ c++ libs/profile/file.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/profile/file.o In file included from include/ientity.h:28, from contrib/bobtoolz/misc.cpp:40: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ libs/profile/file.cpp: In member function 'virtual StreamBase::size_type MemStream::write(const byte_type*, StreamBase::size_type)': libs/profile/file.cpp:178:67: warning: cast from type 'const byte_type*' {aka 'const unsigned char*'} to type 'unsigned char*' casts away qualifiers [-Wcast-qual] memcpy( (unsigned char*)m_pBuffer + m_nPosition, (unsigned char*)buffer, length ); ^~~~~~ libs/profile/file.cpp: In member function 'virtual int MemStream::Seek(IDataStream::offset_type, int)': libs/profile/file.cpp:274:30: warning: overflow in conversion from 'IDataStream::position_type' {aka 'long unsigned int'} to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] return ( position_type ) - 1; ^ contrib/bobtoolz/misc.cpp: In function 'char* TranslateString(char*)': contrib/bobtoolz/misc.cpp:132:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare] for ( int i = 0 ; i < l ; i++ ) ~~^~~ c++ libs/profile/profile.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/profile/profile.o In file included from libs/profile/profile.cpp:47: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from libs/profile/profile.cpp:47: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/profile/profile.cpp: In function 'bool profile_load_buffer(const char*, const char*, void*, unsigned int*)': libs/profile/profile.cpp:230:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] bool ret = false; ^~~ c++ contrib/brushexport/callbacks.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/brushexport/callbacks.o c++ contrib/brushexport/export.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/brushexport/export.o In file included from contrib/bobtoolz/shapes.cpp:28: libs/str.h:432:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const char GetAt( std::size_t nIndex ) { return m_pStr[nIndex]; } ^~~~~ In file included from contrib/bobtoolz/shapes.cpp:28: libs/str.h: In member function 'const char* Str::Left(std::size_t)': libs/str.h:257:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ libs/str.h: In member function 'const char* Str::Mid(std::size_t, std::size_t) const': libs/str.h:293:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g_pStrWork = ""; ^~ In file included from include/ientity.h:28, from contrib/bobtoolz/shapes.cpp:34: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from contrib/brushexport/callbacks.cpp:2: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from contrib/brushexport/../../radiant/brush.h:52, from contrib/brushexport/export.cpp:12: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from contrib/brushexport/callbacks.cpp:2: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ In file included from contrib/bobtoolz/funchandlers-GTK.cpp:44: In member function 'void DTreePlanter::ReadConfig(CScriptParser*)', inlined from 'DTreePlanter::DTreePlanter()' at contrib/bobtoolz/DTreePlanter.h:87:14: contrib/bobtoolz/DTreePlanter.h:139:11: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( m_entType, pToken, MAX_QPATH ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/bobtoolz/DTreePlanter.h:132:11: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( m_linkName, pToken, MAX_QPATH ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'void DTreePlanter::ReadConfig(CScriptParser*)', inlined from 'DTreePlanter::DTreePlanter()' at contrib/bobtoolz/DTreePlanter.h:87:14, inlined from 'void DoMakeChain()' at contrib/bobtoolz/funchandlers-GTK.cpp:693:16: contrib/bobtoolz/DTreePlanter.h:139:11: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( m_entType, pToken, MAX_QPATH ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/bobtoolz/DTreePlanter.h:132:11: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 64 equals destination size [-Wstringop-truncation] strncpy( m_linkName, pToken, MAX_QPATH ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/selectable.h:28, from contrib/brushexport/../../radiant/brush.h:53, from contrib/brushexport/export.cpp:12: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from contrib/brushexport/../../radiant/brush.h:59, from contrib/brushexport/export.cpp:12: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from contrib/brushexport/export.cpp:12: contrib/brushexport/../../radiant/brush.h: In member function 'virtual void Face::SavedState::release()': contrib/brushexport/../../radiant/brush.h:887:9: warning: deleting object of polymorphic class type 'Face::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ contrib/brushexport/../../radiant/brush.h: In member function 'void Face::DecRef()': contrib/brushexport/../../radiant/brush.h:1036:10: warning: deleting object of polymorphic class type 'Face' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ contrib/brushexport/interface.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/brushexport/interface.o c++ contrib/brushexport/plugin.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/brushexport/plugin.o c++ contrib/brushexport/support.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/brushexport/support.o contrib/brushexport/../../radiant/brush.h: In member function 'virtual void Brush::BrushUndoMemento::release()': contrib/brushexport/../../radiant/brush.h:1798:9: warning: deleting object of polymorphic class type 'Brush::BrushUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from contrib/brushexport/interface.cpp:2: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from contrib/brushexport/interface.cpp:2: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from contrib/brushexport/support.cpp:1: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from contrib/brushexport/support.cpp:1: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ c++ contrib/prtview/AboutDialog.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/prtview/AboutDialog.o In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from contrib/brushexport/plugin.cpp:26: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from contrib/brushexport/plugin.cpp:26: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from contrib/prtview/AboutDialog.cpp:21: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ c++ contrib/prtview/ConfigDialog.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/prtview/ConfigDialog.o c++ contrib/prtview/LoadPortalFileDialog.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/prtview/LoadPortalFileDialog.o contrib/brushexport/export.cpp: In member function 'virtual void ExportData::BeginBrush(Brush&)': contrib/brushexport/export.cpp:80:53: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] str << "Brush" << (const unsigned int)groups.size(); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from contrib/prtview/AboutDialog.cpp:21: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ contrib/brushexport/export.cpp: In member function 'virtual bool ExportDataAsWavefront::WriteToFile(const string&, collapsemode) const': contrib/brushexport/export.cpp:299:68: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] outMtl << "# Material Count: " << (const Unsigned)materials.size() << "\n\n"; ^ c++ contrib/prtview/portals.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/prtview/portals.o In file included from contrib/prtview/portals.h:25, from contrib/prtview/portals.cpp:20: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ contrib/prtview/portals.cpp: In function 'int compare(const void*, const void*)': contrib/prtview/portals.cpp:40:32: warning: cast from type 'const void*' to type 'int*' casts away qualifiers [-Wcast-qual] if ( portals.portal[*( (int *)arg1 )].dist > portals.portal[*( (int *)arg2 )].dist ) { ^~~~ contrib/prtview/portals.cpp:40:72: warning: cast from type 'const void*' to type 'int*' casts away qualifiers [-Wcast-qual] if ( portals.portal[*( (int *)arg1 )].dist > portals.portal[*( (int *)arg2 )].dist ) { ^~~~ contrib/prtview/portals.cpp:43:37: warning: cast from type 'const void*' to type 'int*' casts away qualifiers [-Wcast-qual] else if ( portals.portal[*( (int *)arg1 )].dist < portals.portal[*( (int *)arg2 )].dist ) { ^~~~ contrib/prtview/portals.cpp:43:77: warning: cast from type 'const void*' to type 'int*' casts away qualifiers [-Wcast-qual] else if ( portals.portal[*( (int *)arg1 )].dist < portals.portal[*( (int *)arg2 )].dist ) { ^~~~ contrib/prtview/portals.cpp: In member function 'virtual void CPortalsDrawSolidOutline::render(RenderStateFlags) const': contrib/prtview/portals.cpp:606:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for ( int n = 0; n < portals.portal_count; n++ ) ~~^~~~~~~~~~~~~~~~~~~~~~ contrib/prtview/portals.cpp:635:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for ( int p = 0; p < portals.portal[n].point_count; p++ ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from contrib/prtview/ConfigDialog.cpp:22: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from contrib/prtview/ConfigDialog.cpp:22: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ contrib/prtview/portals.cpp: In member function 'bool CBspPortal::Build(char*)': contrib/prtview/portals.cpp:75:47: warning: 'res_cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( point_count < 3 || ( portals.hint_flags && res_cnt < 4 ) ) { ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from contrib/prtview/portals.h:25, from contrib/prtview/ConfigDialog.cpp:28: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from contrib/prtview/LoadPortalFileDialog.cpp:25: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from contrib/prtview/LoadPortalFileDialog.cpp:25: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ c++ contrib/prtview/prtview.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/prtview/prtview.o In file included from contrib/prtview/portals.h:25, from contrib/prtview/LoadPortalFileDialog.cpp:34: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ c++ contrib/shaderplug/shaderplug.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/libxml2 -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/shaderplug/shaderplug.o In file included from contrib/prtview/portals.h:25, from contrib/prtview/prtview.cpp:33: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ contrib/prtview/prtview.cpp: In function 'void PrtView_construct()': contrib/prtview/prtview.cpp:75:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.show_2d = INIGetInt( RENDER_2D, FALSE ) ? true : false; ^ contrib/prtview/prtview.cpp:76:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.aa_2d = INIGetInt( AA_2D, FALSE ) ? true : false; ^ contrib/prtview/prtview.cpp:77:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.width_2d = (float)INIGetInt( WIDTH_2D, 10 ); ^ contrib/prtview/prtview.cpp:78:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.color_2d = (PackedColour)INIGetInt( COLOR_2D, RGB( 0, 0, 255 ) ) & 0xFFFFFF; ^ contrib/prtview/prtview.cpp:87:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.show_3d = INIGetInt( RENDER_3D, TRUE ) ? true : false; ^ contrib/prtview/prtview.cpp:89:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.zbuffer = INIGetInt( ZBUFFER, 1 ); ^ contrib/prtview/prtview.cpp:90:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.fog = INIGetInt( FOG, FALSE ) ? true : false; ^ contrib/prtview/prtview.cpp:91:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.polygons = INIGetInt( POLYGON, TRUE ); ^ contrib/prtview/prtview.cpp:92:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.lines = INIGetInt( LINE, TRUE ); ^ contrib/prtview/prtview.cpp:93:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.aa_3d = INIGetInt( AA_3D, FALSE ) ? true : false; ^ contrib/prtview/prtview.cpp:94:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.width_3d = (float)INIGetInt( WIDTH_3D, 4 ); ^ contrib/prtview/prtview.cpp:95:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.color_3d = (PackedColour)INIGetInt( COLOR_3D, RGB( 255, 255, 0 ) ) & 0xFFFFFF; ^ contrib/prtview/prtview.cpp:96:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.color_fog = (PackedColour)INIGetInt( COLOR_FOG, RGB( 127, 127, 127 ) ) & 0xFFFFFF; ^ contrib/prtview/prtview.cpp:97:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.trans_3d = (float)INIGetInt( TRANS_3D, 50 ); ^ contrib/prtview/prtview.cpp:98:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.clip = INIGetInt( CLIP, FALSE ) ? true : false; ^ contrib/prtview/prtview.cpp:99:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] portals.clip_range = (float)INIGetInt( CLIP_RANGE, 16 ); ^ contrib/prtview/prtview.cpp: In function 'void SaveConfig()': contrib/prtview/prtview.cpp:143:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( RENDER_2D, portals.show_2d, "Draw in 2D windows" ); ^ contrib/prtview/prtview.cpp:143:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] contrib/prtview/prtview.cpp:144:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( WIDTH_2D, (int)portals.width_2d, "Width of lines in 2D windows (in units of 1/2)" ); ^ contrib/prtview/prtview.cpp:144:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] contrib/prtview/prtview.cpp:145:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( COLOR_2D, (int)portals.color_2d, "Color of lines in 2D windows" ); ^ contrib/prtview/prtview.cpp:145:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] contrib/prtview/prtview.cpp:146:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( AA_2D, portals.aa_2d, "Draw lines in 2D window anti-aliased" ); ^ contrib/prtview/prtview.cpp:146:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] contrib/prtview/prtview.cpp:148:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( ZBUFFER, portals.zbuffer, "ZBuffer level in 3D window" ); ^ contrib/prtview/prtview.cpp:148:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] contrib/prtview/prtview.cpp:149:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( FOG, portals.fog, "Use depth cueing in 3D window" ); ^ contrib/prtview/prtview.cpp:149:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] contrib/prtview/prtview.cpp:150:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( POLYGON, portals.polygons, "Render using polygons polygons in 3D window" ); ^ contrib/prtview/prtview.cpp:150:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] contrib/prtview/prtview.cpp:151:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( LINE, portals.polygons, "Render using lines in 3D window" ); ^ contrib/prtview/prtview.cpp:151:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] contrib/prtview/prtview.cpp:152:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( RENDER_3D, portals.show_3d, "Draw in 3D windows" ); ^ contrib/prtview/prtview.cpp:152:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] contrib/prtview/prtview.cpp:153:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( WIDTH_3D, (int)portals.width_3d, "Width of lines in 3D window (in units of 1/2)" ); ^ contrib/prtview/prtview.cpp:153:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] contrib/prtview/prtview.cpp:154:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( COLOR_3D, (int)portals.color_3d, "Color of lines/polygons in 3D window" ); ^ contrib/prtview/prtview.cpp:154:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] contrib/prtview/prtview.cpp:155:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( COLOR_FOG, (int)portals.color_fog, "Color of distant lines/polygons in 3D window" ); ^ contrib/prtview/prtview.cpp:155:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] contrib/prtview/prtview.cpp:156:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( AA_3D, portals.aa_3d, "Draw lines in 3D window anti-aliased" ); ^ contrib/prtview/prtview.cpp:156:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] contrib/prtview/prtview.cpp:157:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( TRANS_3D, (int)portals.trans_3d, "Transparency in 3d view (0 = solid, 100 = invisible)" ); ^ contrib/prtview/prtview.cpp:157:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] contrib/prtview/prtview.cpp:158:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( CLIP, portals.clip, "Cubic clipper active for portal viewer" ); ^ contrib/prtview/prtview.cpp:158:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] contrib/prtview/prtview.cpp:159:103: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] INISetInt( CLIP_RANGE, (int)portals.clip_range, "Portal viewer cubic clip distance (in units of 64)" ); ^ contrib/prtview/prtview.cpp:159:103: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] c++ libs/xml/ixml.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/xml/ixml.o c++ libs/xml/xmlelement.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/xml/xmlelement.o In file included from contrib/shaderplug/shaderplug.h:25, from contrib/shaderplug/shaderplug.cpp:22: libs/xml/xmltextags.h: In member function 'xmlXPathObject* XmlTagBuilder::XpathEval(const char*)': libs/xml/xmltextags.h:61:34: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlChar* expression = (xmlChar*)queryString; ^~~~~~~~~~~ c++ libs/xml/xmlparser.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/xml/xmlparser.o In file included from libs/xml/xmlparser.cpp:22: libs/xml/xmlparser.h: In member function 'virtual void XMLStreamParser::exportXML(XMLImporter&)': libs/xml/xmlparser.h:192:7: warning: variable 'wellFormed' set but not used [-Wunused-but-set-variable] bool wellFormed = false; ^~~~~~~~~~ c++ libs/xml/xmltextags.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/xml/xmltextags.o c++ libs/xml/xmlwriter.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/xml/xmlwriter.o In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from contrib/shaderplug/shaderplug.cpp:33: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h: At global scope: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from contrib/shaderplug/shaderplug.cpp:33: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ contrib/shaderplug/shaderplug.cpp: In function 'void Shaderplug::GetArchiveList()': contrib/shaderplug/shaderplug.cpp:139:86: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] globalOutputStream() << "Shaderplug: " << (const Unsigned)Shaderplug::archives.size() << " archives found.\n"; ^ contrib/shaderplug/shaderplug.cpp: In function 'void Shaderplug::CreateTagFile()': contrib/shaderplug/shaderplug.cpp:146:73: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] globalOutputStream() << "Shaderplug: " << (const Unsigned)shaders.size() << " shaders found.\n"; ^ contrib/shaderplug/shaderplug.cpp:149:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetTextures( "jpg" ); ^ contrib/shaderplug/shaderplug.cpp:150:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetTextures( "tga" ); ^ contrib/shaderplug/shaderplug.cpp:151:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GetTextures( "png" ); ^ contrib/shaderplug/shaderplug.cpp:153:75: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] globalOutputStream() << "Shaderplug: " << (const Unsigned)textures.size() << " textures found.\n"; ^ c++ contrib/sunplug/sunplug.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/sunplug/sunplug.o c++ contrib/ufoaiplug/ufoai_filters.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/ufoaiplug/ufoai_filters.o c++ contrib/ufoaiplug/ufoai_gtk.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/ufoaiplug/ufoai_gtk.o In file included from libs/xml/xmltextags.cpp:22: libs/xml/xmltextags.h: In member function 'xmlXPathObject* XmlTagBuilder::XpathEval(const char*)': libs/xml/xmltextags.h:61:34: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlChar* expression = (xmlChar*)queryString; ^~~~~~~~~~~ libs/xml/xmltextags.cpp: In member function 'bool XmlTagBuilder::CreateXmlDocument()': libs/xml/xmltextags.cpp:52:47: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlTextWriterStartElement( writer, (xmlChar*)"root" ); ^~~~~~ libs/xml/xmltextags.cpp:53:46: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlTextWriterWriteString( writer, (xmlChar*)"\n " ); ^~~~~~ libs/xml/xmltextags.cpp:54:47: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlTextWriterStartElement( writer, (xmlChar*)"stock" ); ^~~~~~~ libs/xml/xmltextags.cpp:55:46: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlTextWriterWriteString( writer, (xmlChar*)"\n " ); ^~~~~~ libs/xml/xmltextags.cpp:57:46: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlTextWriterWriteString( writer, (xmlChar*)"\n " ); ^~~~~~ libs/xml/xmltextags.cpp:58:47: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlTextWriterStartElement( writer, (xmlChar*)"custom" ); ^~~~~~~~ libs/xml/xmltextags.cpp:59:46: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlTextWriterWriteString( writer, (xmlChar*)"\n " ); ^~~~~~ libs/xml/xmltextags.cpp:61:46: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlTextWriterWriteString( writer, (xmlChar*)"\n" ); ^~~~ libs/xml/xmltextags.cpp: In member function 'bool XmlTagBuilder::AddShaderNode(const char*, TextureType, NodeShaderType)': libs/xml/xmltextags.cpp:154:42: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] newnode = xmlNewNode( NULL, (xmlChar*)"shader" ); ^~~~~~~~ libs/xml/xmltextags.cpp:157:42: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] newnode = xmlNewNode( NULL, (xmlChar*)"texture" ); ^~~~~~~~~ libs/xml/xmltextags.cpp:161:34: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlSetProp( newnode, (xmlChar*)"path", (xmlChar*)shader ); ^~~~~~ libs/xml/xmltextags.cpp:161:52: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlSetProp( newnode, (xmlChar*)"path", (xmlChar*)shader ); ^~~~~~ libs/xml/xmltextags.cpp:162:41: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlNodeSetContent( newnode, (xmlChar*)"\n " ); ^~~~~~~~ libs/xml/xmltextags.cpp:166:36: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] newtext = xmlNewText( (xmlChar*)" " ); ^~~~ libs/xml/xmltextags.cpp:173:36: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] newtext = xmlNewText( (xmlChar*)"\n " ); ^~~~~~ libs/xml/xmltextags.cpp:181:36: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] newtext = xmlNewText( (xmlChar*)"\n " ); ^~~~~~~~ libs/xml/xmltextags.cpp: In member function 'bool XmlTagBuilder::AddShaderTag(const char*, const char*, NodeTagType)': libs/xml/xmltextags.cpp:330:52: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlNodePtr newnode = xmlNewNode( NULL, (xmlChar*)"tag" ); ^~~~~ libs/xml/xmltextags.cpp:333:41: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlNodeSetContent( newnode, (xmlChar*)content ); ^~~~~~~ libs/xml/xmltextags.cpp:337:47: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlNodePtr newtext = xmlNewText( (xmlChar*)" " ); ^~~~ libs/xml/xmltextags.cpp:344:36: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] newtext = xmlNewText( (xmlChar*)"\n " ); ^~~~~~~~ libs/xml/xmltextags.cpp:349:47: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlNodePtr newtext = xmlNewText( (xmlChar*)"\n " ); ^~~~~~~~~~ libs/xml/xmltextags.cpp: In member function 'int XmlTagBuilder::RenameShaderTag(const char*, CopiedString)': libs/xml/xmltextags.cpp:391:58: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlNodeSetContent( ptrContent, (xmlChar*)newtag.c_str() ); ^ libs/xml/xmltextags.cpp: In member function 'void XmlTagBuilder::GetShaderTags(const char*, std::vector > > >&)': libs/xml/xmltextags.cpp:482:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] expression = "/root/*/*/tag"; ^~~~~~~~~~~~~~~ libs/xml/xmltextags.cpp: In member function 'void XmlTagBuilder::GetUntagged(std::set > > >&)': libs/xml/xmltextags.cpp:513:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char* expression = "/root/*/*[not(child::tag)]"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libs/xml/xmltextags.cpp:530:54: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] shaders.insert( (char*)xmlGetProp( ptr, (xmlChar*)"path" ) ); ^~~~~~ libs/xml/xmltextags.cpp: In member function 'void XmlTagBuilder::GetAllTags(std::set > > >&)': libs/xml/xmltextags.cpp:543:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char* expression = "/root/*/*/tag"; ^~~~~~~~~~~~~~~ libs/xml/xmltextags.cpp: In member function 'void XmlTagBuilder::TagSearch(const char*, std::set > > >&)': libs/xml/xmltextags.cpp:587:43: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlattrib = xmlGetProp( ptr, (xmlChar*)"path" ); ^~~~~~ c++ contrib/ufoaiplug/ufoai_level.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/ufoaiplug/ufoai_level.o In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from contrib/ufoaiplug/ufoai_gtk.h:23, from contrib/ufoaiplug/ufoai_gtk.cpp:19: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from include/ientity.h:28, from contrib/ufoaiplug/ufoai_filters.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from contrib/ufoaiplug/ufoai_gtk.h:23, from contrib/ufoaiplug/ufoai_gtk.cpp:19: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ In file included from include/ientity.h:28, from contrib/sunplug/sunplug.cpp:31: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from contrib/ufoaiplug/../../radiant/brush.h:52, from contrib/ufoaiplug/ufoai_filters.cpp:26: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from include/ientity.h:28, from contrib/ufoaiplug/ufoai_level.cpp:23: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from contrib/ufoaiplug/../../radiant/brush.h:59, from contrib/ufoaiplug/ufoai_filters.cpp:26: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ contrib/ufoaiplug/ufoai_level.cpp: In function 'void assign_default_values_to_worldspawn(bool, char**)': contrib/ufoaiplug/ufoai_level.cpp:144:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] *returnMsg = "Could not find worldspawn"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/ufoaiplug/ufoai_level.cpp: In function 'void check_map_values(char**)': contrib/ufoaiplug/ufoai_level.cpp:205:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] *returnMsg = "Could not find worldspawn"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from contrib/ufoaiplug/ufoai_filters.cpp:26: contrib/ufoaiplug/../../radiant/brush.h: In member function 'virtual void Face::SavedState::release()': contrib/ufoaiplug/../../radiant/brush.h:887:9: warning: deleting object of polymorphic class type 'Face::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ contrib/ufoaiplug/../../radiant/brush.h: In member function 'void Face::DecRef()': contrib/ufoaiplug/../../radiant/brush.h:1036:10: warning: deleting object of polymorphic class type 'Face' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ contrib/ufoaiplug/ufoai_gtk.cpp:60:13: warning: 'void close_window(GtkWidget*, gpointer)' defined but not used [-Wunused-function] static void close_window( GtkWidget *widget, gpointer data ){ ^~~~~~~~~~~~ contrib/ufoaiplug/ufoai_gtk.cpp:53:13: warning: 'void destroy(GtkWidget*, gpointer)' defined but not used [-Wunused-function] static void destroy( GtkWidget *widget, gpointer data ){ ^~~~~~~ contrib/ufoaiplug/ufoai_gtk.cpp:46:17: warning: 'gboolean delete_event(GtkWidget*, GdkEvent*, gpointer)' defined but not used [-Wunused-function] static gboolean delete_event( GtkWidget *widget, GdkEvent *event, gpointer data ){ ^~~~~~~~~~~~ libs/xml/xmltextags.cpp: In member function 'bool XmlTagBuilder::AddShaderNode(const char*, TextureType, NodeShaderType)': libs/xml/xmltextags.cpp:160:27: warning: 'newnode' may be used uninitialized in this function [-Wmaybe-uninitialized] newnode = xmlDocCopyNode( newnode, doc, 1 ); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ contrib/ufoaiplug/../../radiant/brush.h: In member function 'virtual void Brush::BrushUndoMemento::release()': contrib/ufoaiplug/../../radiant/brush.h:1798:9: warning: deleting object of polymorphic class type 'Brush::BrushUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ contrib/ufoaiplug/ufoai.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o contrib/ufoaiplug/ufoai.o c++ radiant/autosave.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/autosave.o In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from contrib/sunplug/sunplug.cpp:37: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h: At global scope: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from contrib/sunplug/sunplug.cpp:37: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ c++ radiant/brushmanip.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/brushmanip.o In file included from radiant/autosave.cpp:29: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/brushmodule.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/brushmodule.o In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from contrib/ufoaiplug/ufoai_gtk.h:23, from contrib/ufoaiplug/ufoai.cpp:21: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from contrib/ufoaiplug/ufoai_gtk.h:23, from contrib/ufoaiplug/ufoai.cpp:21: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ c++ radiant/brushnode.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/brushnode.o In file included from include/ientity.h:28, from contrib/ufoaiplug/ufoai.cpp:40: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from libs/instancelib.h:29, from radiant/brushnode.h:25, from radiant/brushmodule.cpp:26: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from libs/instancelib.h:29, from radiant/brushnode.h:25, from radiant/brushmanip.cpp:28: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from libs/instancelib.h:29, from radiant/brushnode.h:25, from radiant/brushnode.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/brush.h:52, from radiant/brushnode.h:26, from radiant/brushmanip.cpp:28: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from radiant/brush.h:52, from radiant/brushnode.h:26, from radiant/brushnode.cpp:22: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from radiant/brush.h:52, from radiant/brushnode.h:26, from radiant/brushmodule.cpp:26: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from radiant/brush.h:59, from radiant/brushnode.h:26, from radiant/brushmodule.cpp:26: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from radiant/brush.h:59, from radiant/brushnode.h:26, from radiant/brushnode.cpp:22: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from radiant/brushnode.h:26, from radiant/brushmodule.cpp:26: radiant/brush.h: In member function 'virtual void Face::SavedState::release()': radiant/brush.h:887:9: warning: deleting object of polymorphic class type 'Face::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'void Face::DecRef()': radiant/brush.h:1036:10: warning: deleting object of polymorphic class type 'Face' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'virtual void Brush::BrushUndoMemento::release()': radiant/brush.h:1798:9: warning: deleting object of polymorphic class type 'Brush::BrushUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/brush.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/brush.o In file included from radiant/brushnode.h:27, from radiant/brushmodule.cpp:26: radiant/brushtokens.h: In function 'bool FaceShader_importContentsFlagsValue(FaceShader&, Tokeniser&)': radiant/brushtokens.h:31:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, faceShader.m_flags.m_contentFlags ) ); ^ radiant/brushtokens.h:32:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, faceShader.m_flags.m_surfaceFlags ) ); ^ radiant/brushtokens.h:33:87: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, faceShader.m_flags.m_value ) ); ^ radiant/brushtokens.h: In function 'bool FaceTexdef_importTokens(FaceTexdef&, Tokeniser&)': radiant/brushtokens.h:39:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[0] ) ); ^ radiant/brushtokens.h:40:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[1] ) ); ^ radiant/brushtokens.h:41:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.rotate ) ); ^ radiant/brushtokens.h:42:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[0] ) ); ^ radiant/brushtokens.h:43:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[1] ) ); ^ radiant/brushtokens.h: In function 'bool FaceTexdef_BP_importTokens(FaceTexdef&, Tokeniser&)': radiant/brushtokens.h:51:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ In file included from radiant/brushtokens.h:25, from radiant/brushnode.h:27, from radiant/brushmodule.cpp:26: libs/stringio.h:222:79: warning: this 'else' clause does not guard... [-Wmisleading-indentation] #define RETURN_FALSE_IF_FAIL( expression ) if ( !expression ) {return false; }else ^~~~ radiant/brushtokens.h:51:2: note: in expansion of macro 'RETURN_FALSE_IF_FAIL' RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^~~~~~~~~~~~~~~~~~~~ In file included from radiant/brushnode.h:27, from radiant/brushmodule.cpp:26: radiant/brushtokens.h:52:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ radiant/brushtokens.h:53:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:54:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[0][0] ) ); ^ radiant/brushtokens.h:55:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[0][1] ) ); ^ radiant/brushtokens.h:56:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[0][2] ) ); ^ radiant/brushtokens.h:57:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h:60:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:61:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[1][0] ) ); ^ radiant/brushtokens.h:62:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[1][1] ) ); ^ radiant/brushtokens.h:63:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[1][2] ) ); ^ radiant/brushtokens.h:64:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h:66:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h: In function 'bool FaceTexdef_HalfLife_importTokens(FaceTexdef&, Tokeniser&)': radiant/brushtokens.h:72:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "[" ) ); ^ radiant/brushtokens.h:73:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_s.x() ) ); ^ radiant/brushtokens.h:74:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_s.y() ) ); ^ radiant/brushtokens.h:75:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_s.z() ) ); ^ radiant/brushtokens.h:76:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[0] ) ); ^ radiant/brushtokens.h:77:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "]" ) ); ^ radiant/brushtokens.h:78:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "[" ) ); ^ radiant/brushtokens.h:79:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_t.x() ) ); ^ radiant/brushtokens.h:80:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_t.y() ) ); ^ radiant/brushtokens.h:81:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_t.z() ) ); ^ radiant/brushtokens.h:82:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[1] ) ); ^ radiant/brushtokens.h:83:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "]" ) ); ^ radiant/brushtokens.h:84:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.rotate ) ); ^ radiant/brushtokens.h:85:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[0] ) ); ^ radiant/brushtokens.h:86:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[1] ) ); ^ radiant/brushtokens.h: In function 'bool FacePlane_importTokens(FacePlane&, Tokeniser&)': radiant/brushtokens.h:98:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:101:91: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, facePlane.planePoints()[i][j] ) ); ^ radiant/brushtokens.h:103:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h: In function 'bool FacePlane_Doom3_importTokens(FacePlane&, Tokeniser&)': radiant/brushtokens.h:112:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:113:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.a ) ); ^ radiant/brushtokens.h:114:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.b ) ); ^ radiant/brushtokens.h:115:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.c ) ); ^ radiant/brushtokens.h:116:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.d ) ); ^ radiant/brushtokens.h:118:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h: In member function 'bool Doom3FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:165:86: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_Doom3_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:166:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_BP_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:167:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_Doom3_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:168:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake4FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:184:86: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_Doom3_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:185:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_BP_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:186:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_Doom3_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake2FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:202:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:203:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:204:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:207:95: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake3FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:221:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:222:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:223:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:224:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake3BPFaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:237:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:238:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_BP_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:239:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:240:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool QuakeFaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:256:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:257:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:258:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool HalfLifeFaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:271:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:272:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:273:91: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_HalfLife_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'virtual bool BrushTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:499:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "{" ) ); ^ radiant/brushtokens.h:524:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:530:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:536:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:542:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:548:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:554:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:560:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:568:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "}" ) ); ^ In file included from radiant/brushmodule.cpp:26: radiant/brushnode.h: In member function 'virtual void BrushNode::release()': radiant/brushnode.h:118:9: warning: deleting object of polymorphic class type 'BrushNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/brushnode.h:26, from radiant/brushnode.cpp:22: radiant/brush.h: In member function 'virtual void Face::SavedState::release()': radiant/brush.h:887:9: warning: deleting object of polymorphic class type 'Face::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'void Face::DecRef()': radiant/brush.h:1036:10: warning: deleting object of polymorphic class type 'Face' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'virtual void Brush::BrushUndoMemento::release()': radiant/brush.h:1798:9: warning: deleting object of polymorphic class type 'Brush::BrushUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/brushnode.h:27, from radiant/brushnode.cpp:22: radiant/brushtokens.h: In function 'bool FaceShader_importContentsFlagsValue(FaceShader&, Tokeniser&)': radiant/brushtokens.h:31:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, faceShader.m_flags.m_contentFlags ) ); ^ radiant/brushtokens.h:32:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, faceShader.m_flags.m_surfaceFlags ) ); ^ radiant/brushtokens.h:33:87: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, faceShader.m_flags.m_value ) ); ^ radiant/brushtokens.h: In function 'bool FaceTexdef_importTokens(FaceTexdef&, Tokeniser&)': radiant/brushtokens.h:39:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[0] ) ); ^ radiant/brushtokens.h:40:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[1] ) ); ^ radiant/brushtokens.h:41:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.rotate ) ); ^ radiant/brushtokens.h:42:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[0] ) ); ^ radiant/brushtokens.h:43:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[1] ) ); ^ radiant/brushtokens.h: In function 'bool FaceTexdef_BP_importTokens(FaceTexdef&, Tokeniser&)': radiant/brushtokens.h:51:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ In file included from radiant/brushtokens.h:25, from radiant/brushnode.h:27, from radiant/brushnode.cpp:22: libs/stringio.h:222:79: warning: this 'else' clause does not guard... [-Wmisleading-indentation] #define RETURN_FALSE_IF_FAIL( expression ) if ( !expression ) {return false; }else ^~~~ radiant/brushtokens.h:51:2: note: in expansion of macro 'RETURN_FALSE_IF_FAIL' RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^~~~~~~~~~~~~~~~~~~~ In file included from radiant/brushnode.h:27, from radiant/brushnode.cpp:22: radiant/brushtokens.h:52:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ radiant/brushtokens.h:53:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:54:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[0][0] ) ); ^ radiant/brushtokens.h:55:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[0][1] ) ); ^ radiant/brushtokens.h:56:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[0][2] ) ); ^ radiant/brushtokens.h:57:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h:60:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:61:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[1][0] ) ); ^ radiant/brushtokens.h:62:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[1][1] ) ); ^ radiant/brushtokens.h:63:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[1][2] ) ); ^ radiant/brushtokens.h:64:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h:66:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h: In function 'bool FaceTexdef_HalfLife_importTokens(FaceTexdef&, Tokeniser&)': radiant/brushtokens.h:72:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "[" ) ); ^ radiant/brushtokens.h:73:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_s.x() ) ); ^ radiant/brushtokens.h:74:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_s.y() ) ); ^ radiant/brushtokens.h:75:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_s.z() ) ); ^ radiant/brushtokens.h:76:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[0] ) ); ^ radiant/brushtokens.h:77:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "]" ) ); ^ radiant/brushtokens.h:78:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "[" ) ); ^ radiant/brushtokens.h:79:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_t.x() ) ); ^ radiant/brushtokens.h:80:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_t.y() ) ); ^ radiant/brushtokens.h:81:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_t.z() ) ); ^ radiant/brushtokens.h:82:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[1] ) ); ^ radiant/brushtokens.h:83:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "]" ) ); ^ radiant/brushtokens.h:84:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.rotate ) ); ^ radiant/brushtokens.h:85:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[0] ) ); ^ radiant/brushtokens.h:86:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[1] ) ); ^ radiant/brushtokens.h: In function 'bool FacePlane_importTokens(FacePlane&, Tokeniser&)': radiant/brushtokens.h:98:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:101:91: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, facePlane.planePoints()[i][j] ) ); ^ radiant/brushtokens.h:103:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h: In function 'bool FacePlane_Doom3_importTokens(FacePlane&, Tokeniser&)': radiant/brushtokens.h:112:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:113:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.a ) ); ^ radiant/brushtokens.h:114:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.b ) ); ^ radiant/brushtokens.h:115:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.c ) ); ^ radiant/brushtokens.h:116:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.d ) ); ^ radiant/brushtokens.h:118:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h: In member function 'bool Doom3FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:165:86: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_Doom3_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:166:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_BP_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:167:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_Doom3_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:168:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake4FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:184:86: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_Doom3_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:185:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_BP_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:186:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_Doom3_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake2FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:202:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:203:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:204:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:207:95: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake3FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:221:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:222:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:223:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:224:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake3BPFaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:237:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:238:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_BP_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:239:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:240:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool QuakeFaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:256:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:257:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:258:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool HalfLifeFaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:271:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:272:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:273:91: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_HalfLife_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'virtual bool BrushTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:499:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "{" ) ); ^ radiant/brushtokens.h:524:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:530:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:536:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:542:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:548:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:554:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:560:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:568:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "}" ) ); ^ In file included from radiant/brush.h:59, from radiant/brushnode.h:26, from radiant/brushmanip.cpp:28: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from radiant/brushnode.h:26, from radiant/brushmanip.cpp:28: radiant/brush.h: In member function 'virtual void Face::SavedState::release()': radiant/brush.h:887:9: warning: deleting object of polymorphic class type 'Face::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'void Face::DecRef()': radiant/brush.h:1036:10: warning: deleting object of polymorphic class type 'Face' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/brush_primit.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/brush_primit.o In file included from radiant/brush.h:52, from radiant/brush.cpp:22: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ radiant/brush.h: In member function 'virtual void Brush::BrushUndoMemento::release()': radiant/brush.h:1798:9: warning: deleting object of polymorphic class type 'Brush::BrushUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/brushnode.cpp:22: radiant/brushnode.h: In member function 'virtual void BrushNode::release()': radiant/brushnode.h:118:9: warning: deleting object of polymorphic class type 'BrushNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/brushnode.h:27, from radiant/brushmanip.cpp:28: radiant/brushtokens.h: In function 'bool FaceShader_importContentsFlagsValue(FaceShader&, Tokeniser&)': radiant/brushtokens.h:31:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, faceShader.m_flags.m_contentFlags ) ); ^ radiant/brushtokens.h:32:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, faceShader.m_flags.m_surfaceFlags ) ); ^ radiant/brushtokens.h:33:87: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, faceShader.m_flags.m_value ) ); ^ radiant/brushtokens.h: In function 'bool FaceTexdef_importTokens(FaceTexdef&, Tokeniser&)': radiant/brushtokens.h:39:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[0] ) ); ^ radiant/brushtokens.h:40:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[1] ) ); ^ radiant/brushtokens.h:41:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.rotate ) ); ^ radiant/brushtokens.h:42:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[0] ) ); ^ radiant/brushtokens.h:43:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[1] ) ); ^ radiant/brushtokens.h: In function 'bool FaceTexdef_BP_importTokens(FaceTexdef&, Tokeniser&)': radiant/brushtokens.h:51:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ In file included from radiant/brushtokens.h:25, from radiant/brushnode.h:27, from radiant/brushmanip.cpp:28: libs/stringio.h:222:79: warning: this 'else' clause does not guard... [-Wmisleading-indentation] #define RETURN_FALSE_IF_FAIL( expression ) if ( !expression ) {return false; }else ^~~~ radiant/brushtokens.h:51:2: note: in expansion of macro 'RETURN_FALSE_IF_FAIL' RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^~~~~~~~~~~~~~~~~~~~ In file included from radiant/brushnode.h:27, from radiant/brushmanip.cpp:28: radiant/brushtokens.h:52:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ radiant/brushtokens.h:53:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:54:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[0][0] ) ); ^ radiant/brushtokens.h:55:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[0][1] ) ); ^ radiant/brushtokens.h:56:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[0][2] ) ); ^ radiant/brushtokens.h:57:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h:60:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:61:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[1][0] ) ); ^ radiant/brushtokens.h:62:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[1][1] ) ); ^ radiant/brushtokens.h:63:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[1][2] ) ); ^ radiant/brushtokens.h:64:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h:66:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h: In function 'bool FaceTexdef_HalfLife_importTokens(FaceTexdef&, Tokeniser&)': radiant/brushtokens.h:72:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "[" ) ); ^ radiant/brushtokens.h:73:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_s.x() ) ); ^ radiant/brushtokens.h:74:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_s.y() ) ); ^ radiant/brushtokens.h:75:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_s.z() ) ); ^ radiant/brushtokens.h:76:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[0] ) ); ^ radiant/brushtokens.h:77:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "]" ) ); ^ radiant/brushtokens.h:78:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "[" ) ); ^ radiant/brushtokens.h:79:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_t.x() ) ); ^ radiant/brushtokens.h:80:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_t.y() ) ); ^ radiant/brushtokens.h:81:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_t.z() ) ); ^ radiant/brushtokens.h:82:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[1] ) ); ^ radiant/brushtokens.h:83:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "]" ) ); ^ radiant/brushtokens.h:84:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.rotate ) ); ^ radiant/brushtokens.h:85:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[0] ) ); ^ radiant/brushtokens.h:86:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[1] ) ); ^ radiant/brushtokens.h: In function 'bool FacePlane_importTokens(FacePlane&, Tokeniser&)': radiant/brushtokens.h:98:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:101:91: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, facePlane.planePoints()[i][j] ) ); ^ radiant/brushtokens.h:103:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h: In function 'bool FacePlane_Doom3_importTokens(FacePlane&, Tokeniser&)': radiant/brushtokens.h:112:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:113:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.a ) ); ^ radiant/brushtokens.h:114:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.b ) ); ^ radiant/brushtokens.h:115:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.c ) ); ^ radiant/brushtokens.h:116:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.d ) ); ^ radiant/brushtokens.h:118:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h: In member function 'bool Doom3FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:165:86: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_Doom3_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:166:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_BP_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:167:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_Doom3_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:168:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake4FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:184:86: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_Doom3_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:185:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_BP_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:186:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_Doom3_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake2FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:202:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:203:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:204:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:207:95: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake3FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:221:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:222:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:223:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:224:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake3BPFaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:237:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:238:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_BP_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:239:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:240:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool QuakeFaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:256:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:257:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:258:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool HalfLifeFaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:271:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:272:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:273:91: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_HalfLife_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'virtual bool BrushTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:499:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "{" ) ); ^ radiant/brushtokens.h:524:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:530:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:536:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:542:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:548:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:554:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:560:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:568:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "}" ) ); ^ In file included from radiant/brushmanip.cpp:28: radiant/brushnode.h: In member function 'virtual void BrushNode::release()': radiant/brushnode.h:118:9: warning: deleting object of polymorphic class type 'BrushNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/texwindow.h:28, from radiant/brushmanip.cpp:30: libs/xml/xmltextags.h: In member function 'xmlXPathObject* XmlTagBuilder::XpathEval(const char*)': libs/xml/xmltextags.h:61:34: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlChar* expression = (xmlChar*)queryString; ^~~~~~~~~~~ In file included from include/selectable.h:28, from radiant/brush.h:53, from radiant/brush.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/brush.h:59, from radiant/brush.cpp:22: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from radiant/brush.cpp:22: radiant/brush.h: In member function 'virtual void Face::SavedState::release()': radiant/brush.h:887:9: warning: deleting object of polymorphic class type 'Face::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'void Face::DecRef()': radiant/brush.h:1036:10: warning: deleting object of polymorphic class type 'Face' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'virtual void Brush::BrushUndoMemento::release()': radiant/brush.h:1798:9: warning: deleting object of polymorphic class type 'Brush::BrushUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush_primit.cpp: In function 'Matrix4 matrix4_reflection_for_plane45(const Plane3&, const Vector3&, const Vector3&)': radiant/brush_primit.cpp:1238:43: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] if ( vector3_dot( from, plane.normal() ) > 0 == vector3_dot( to, plane.normal() ) > 0 ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ radiant/brush_primit.cpp:1256:10: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] Matrix4 tmp = matrix4_reflection_for_plane( plane ); ^~~ c++ radiant/brushtokens.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/brushtokens.o In file included from radiant/brush.h:52, from radiant/brushtokens.h:27, from radiant/brushtokens.cpp:22: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from include/selectable.h:28, from radiant/brush.h:53, from radiant/brushtokens.h:27, from radiant/brushtokens.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/brush.h:59, from radiant/brushtokens.h:27, from radiant/brushtokens.cpp:22: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from radiant/brushtokens.h:27, from radiant/brushtokens.cpp:22: radiant/brush.h: In member function 'virtual void Face::SavedState::release()': radiant/brush.h:887:9: warning: deleting object of polymorphic class type 'Face::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'void Face::DecRef()': radiant/brush.h:1036:10: warning: deleting object of polymorphic class type 'Face' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'virtual void Brush::BrushUndoMemento::release()': radiant/brush.h:1798:9: warning: deleting object of polymorphic class type 'Brush::BrushUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/brushtokens.cpp:22: radiant/brushtokens.h: In function 'bool FaceShader_importContentsFlagsValue(FaceShader&, Tokeniser&)': radiant/brushtokens.h:31:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, faceShader.m_flags.m_contentFlags ) ); ^ radiant/brushtokens.h:32:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, faceShader.m_flags.m_surfaceFlags ) ); ^ radiant/brushtokens.h:33:87: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, faceShader.m_flags.m_value ) ); ^ radiant/brushtokens.h: In function 'bool FaceTexdef_importTokens(FaceTexdef&, Tokeniser&)': radiant/brushtokens.h:39:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[0] ) ); ^ radiant/brushtokens.h:40:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[1] ) ); ^ radiant/brushtokens.h:41:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.rotate ) ); ^ radiant/brushtokens.h:42:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[0] ) ); ^ radiant/brushtokens.h:43:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[1] ) ); ^ radiant/brushtokens.h: In function 'bool FaceTexdef_BP_importTokens(FaceTexdef&, Tokeniser&)': radiant/brushtokens.h:51:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ In file included from radiant/brushtokens.h:25, from radiant/brushtokens.cpp:22: libs/stringio.h:222:79: warning: this 'else' clause does not guard... [-Wmisleading-indentation] #define RETURN_FALSE_IF_FAIL( expression ) if ( !expression ) {return false; }else ^~~~ radiant/brushtokens.h:51:2: note: in expansion of macro 'RETURN_FALSE_IF_FAIL' RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^~~~~~~~~~~~~~~~~~~~ In file included from radiant/brushtokens.cpp:22: radiant/brushtokens.h:52:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ radiant/brushtokens.h:53:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:54:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[0][0] ) ); ^ radiant/brushtokens.h:55:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[0][1] ) ); ^ radiant/brushtokens.h:56:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[0][2] ) ); ^ radiant/brushtokens.h:57:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h:60:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:61:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[1][0] ) ); ^ radiant/brushtokens.h:62:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[1][1] ) ); ^ radiant/brushtokens.h:63:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[1][2] ) ); ^ radiant/brushtokens.h:64:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h:66:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h: In function 'bool FaceTexdef_HalfLife_importTokens(FaceTexdef&, Tokeniser&)': radiant/brushtokens.h:72:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "[" ) ); ^ radiant/brushtokens.h:73:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_s.x() ) ); ^ radiant/brushtokens.h:74:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_s.y() ) ); ^ radiant/brushtokens.h:75:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_s.z() ) ); ^ radiant/brushtokens.h:76:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[0] ) ); ^ radiant/brushtokens.h:77:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "]" ) ); ^ radiant/brushtokens.h:78:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "[" ) ); ^ radiant/brushtokens.h:79:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_t.x() ) ); ^ radiant/brushtokens.h:80:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_t.y() ) ); ^ radiant/brushtokens.h:81:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_t.z() ) ); ^ radiant/brushtokens.h:82:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[1] ) ); ^ radiant/brushtokens.h:83:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "]" ) ); ^ radiant/brushtokens.h:84:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.rotate ) ); ^ radiant/brushtokens.h:85:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[0] ) ); ^ radiant/brushtokens.h:86:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[1] ) ); ^ radiant/brushtokens.h: In function 'bool FacePlane_importTokens(FacePlane&, Tokeniser&)': radiant/brushtokens.h:98:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:101:91: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, facePlane.planePoints()[i][j] ) ); ^ radiant/brushtokens.h:103:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h: In function 'bool FacePlane_Doom3_importTokens(FacePlane&, Tokeniser&)': radiant/brushtokens.h:112:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:113:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.a ) ); ^ radiant/brushtokens.h:114:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.b ) ); ^ radiant/brushtokens.h:115:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.c ) ); ^ radiant/brushtokens.h:116:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.d ) ); ^ radiant/brushtokens.h:118:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h: In member function 'bool Doom3FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:165:86: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_Doom3_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:166:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_BP_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:167:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_Doom3_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:168:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake4FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:184:86: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_Doom3_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:185:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_BP_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:186:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_Doom3_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake2FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:202:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:203:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:204:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:207:95: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake3FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:221:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:222:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:223:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:224:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake3BPFaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:237:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:238:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_BP_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:239:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:240:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool QuakeFaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:256:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:257:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:258:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool HalfLifeFaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:271:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:272:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:273:91: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_HalfLife_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'virtual bool BrushTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:499:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "{" ) ); ^ radiant/brushtokens.h:524:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:530:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:536:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:542:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:548:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:554:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:560:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:568:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "}" ) ); ^ c++ radiant/brushxml.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/brushxml.o radiant/brush.cpp: In function 'void add_face_filter(FaceFilter&, int, bool)': radiant/brush.cpp:311:7: warning: '.FaceFilterWrapper::m_active' is used uninitialized in this function [-Wuninitialized] class FaceFilterWrapper : public Filter ^~~~~~~~~~~~~~~~~ radiant/brush.cpp: In function 'void add_brush_filter(BrushFilter&, int, bool)': radiant/brush.cpp:352:7: warning: '.BrushFilterWrapper::m_active' is used uninitialized in this function [-Wuninitialized] class BrushFilterWrapper : public Filter ^~~~~~~~~~~~~~~~~~ In file included from radiant/brush.h:52, from radiant/brushxml.h:28, from radiant/brushxml.cpp:22: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from include/selectable.h:28, from radiant/brush.h:53, from radiant/brushxml.h:28, from radiant/brushxml.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/brush.h:59, from radiant/brushxml.h:28, from radiant/brushxml.cpp:22: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ c++ radiant/build.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/build.o In file included from radiant/brushxml.h:28, from radiant/brushxml.cpp:22: radiant/brush.h: In member function 'virtual void Face::SavedState::release()': radiant/brush.h:887:9: warning: deleting object of polymorphic class type 'Face::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'void Face::DecRef()': radiant/brush.h:1036:10: warning: deleting object of polymorphic class type 'Face' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'virtual void Brush::BrushUndoMemento::release()': radiant/brush.h:1798:9: warning: deleting object of polymorphic class type 'Brush::BrushUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/camwindow.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/camwindow.o c++ radiant/clippertool.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/clippertool.o c++ radiant/commands.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/commands.o In file included from radiant/camwindow.cpp:37: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ radiant/build.cpp: In destructor 'Conditional::~Conditional()': radiant/build.cpp:121:9: warning: deleting object of polymorphic class type 'VariableString' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete m_test; ^~~~~~ radiant/build.cpp:122:9: warning: deleting object of abstract class type 'Evaluatable' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete m_result; ^~~~~~~~ radiant/build.cpp: In destructor 'Tool::~Tool()': radiant/build.cpp:149:15: warning: deleting object of abstract class type 'Evaluatable' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete ( *i ); ^ radiant/build.cpp: In member function 'virtual void ToolXMLConstructor::popElement(const char*)': radiant/build.cpp:253:10: warning: deleting object of polymorphic class type 'ConditionalXMLConstructor' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete m_conditional; ^~~~~~~~~~~~~ radiant/build.cpp: In member function 'virtual void BuildXMLConstructor::popElement(const char*)': radiant/build.cpp:291:9: warning: deleting object of polymorphic class type 'VariableStringXMLConstructor' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete m_variableString; ^~~~~~~~~~~~~~~~ radiant/build.cpp: In member function 'virtual void ProjectXMLConstructor::popElement(const char*)': radiant/build.cpp:389:10: warning: deleting object of polymorphic class type 'ToolXMLConstructor' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete m_tool; ^~~~~~ radiant/build.cpp:392:10: warning: deleting object of polymorphic class type 'BuildXMLConstructor' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete m_build; ^~~~~~~ In file included from radiant/build.cpp:529: libs/xml/xmlparser.h: In member function 'virtual void XMLStreamParser::exportXML(XMLImporter&)': libs/xml/xmlparser.h:192:7: warning: variable 'wellFormed' set but not used [-Wunused-but-set-variable] bool wellFormed = false; ^~~~~~~~~~ radiant/build.cpp: In function 'GtkWindow* BuildMenuDialog_construct(ModalDialog&, ProjectList&)': radiant/build.cpp:888:103: warning: missing sentinel in function call [-Wformat=] GtkTreeViewColumn* column = gtk_tree_view_column_new_with_attributes( "", renderer, "text", 0, 0 ); ^ radiant/build.cpp:925:103: warning: missing sentinel in function call [-Wformat=] GtkTreeViewColumn* column = gtk_tree_view_column_new_with_attributes( "", renderer, "text", 0, 0 ); ^ In file included from radiant/camwindow.cpp:42: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/camwindow.cpp:43: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ c++ radiant/console.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/console.o radiant/camwindow.cpp: In function 'void Cam_MouseControl(camera_t&, int, int)': radiant/camwindow.cpp:322:10: warning: variable 'xh' set but not used [-Wunused-but-set-variable] int xl, xh; ^~ radiant/camwindow.cpp:323:10: warning: variable 'yh' set but not used [-Wunused-but-set-variable] int yl, yh; ^~ radiant/camwindow.cpp: At global scope: radiant/camwindow.cpp:1356:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const EStyle getStyle() const { ^~~~~ c++ radiant/csg.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/csg.o radiant/console.cpp: In member function 'virtual std::size_t GtkTextBufferOutputStream::write(const char*, std::size_t)': radiant/console.cpp:148:85: warning: missing sentinel in function call [-Wformat=] gtk_text_buffer_insert_with_tags( textBuffer, iter, buffer, gint( length ), tag, 0 ); ^ In file included from libs/instancelib.h:29, from radiant/brushnode.h:25, from radiant/csg.cpp:30: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/brush.h:52, from radiant/brushnode.h:26, from radiant/csg.cpp:30: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from radiant/brush.h:59, from radiant/brushnode.h:26, from radiant/csg.cpp:30: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from radiant/brushnode.h:26, from radiant/csg.cpp:30: radiant/brush.h: In member function 'virtual void Face::SavedState::release()': radiant/brush.h:887:9: warning: deleting object of polymorphic class type 'Face::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/dialog.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/dialog.o radiant/brush.h: In member function 'void Face::DecRef()': radiant/brush.h:1036:10: warning: deleting object of polymorphic class type 'Face' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'virtual void Brush::BrushUndoMemento::release()': radiant/brush.h:1798:9: warning: deleting object of polymorphic class type 'Brush::BrushUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/brushnode.h:27, from radiant/csg.cpp:30: radiant/brushtokens.h: In function 'bool FaceShader_importContentsFlagsValue(FaceShader&, Tokeniser&)': radiant/brushtokens.h:31:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, faceShader.m_flags.m_contentFlags ) ); ^ radiant/brushtokens.h:32:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, faceShader.m_flags.m_surfaceFlags ) ); ^ radiant/brushtokens.h:33:87: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, faceShader.m_flags.m_value ) ); ^ radiant/brushtokens.h: In function 'bool FaceTexdef_importTokens(FaceTexdef&, Tokeniser&)': radiant/brushtokens.h:39:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[0] ) ); ^ radiant/brushtokens.h:40:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[1] ) ); ^ radiant/brushtokens.h:41:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.rotate ) ); ^ radiant/brushtokens.h:42:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[0] ) ); ^ radiant/brushtokens.h:43:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[1] ) ); ^ radiant/brushtokens.h: In function 'bool FaceTexdef_BP_importTokens(FaceTexdef&, Tokeniser&)': radiant/brushtokens.h:51:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ In file included from radiant/brushtokens.h:25, from radiant/brushnode.h:27, from radiant/csg.cpp:30: libs/stringio.h:222:79: warning: this 'else' clause does not guard... [-Wmisleading-indentation] #define RETURN_FALSE_IF_FAIL( expression ) if ( !expression ) {return false; }else ^~~~ radiant/brushtokens.h:51:2: note: in expansion of macro 'RETURN_FALSE_IF_FAIL' RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^~~~~~~~~~~~~~~~~~~~ In file included from radiant/brushnode.h:27, from radiant/csg.cpp:30: radiant/brushtokens.h:52:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ radiant/brushtokens.h:53:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:54:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[0][0] ) ); ^ radiant/brushtokens.h:55:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[0][1] ) ); ^ radiant/brushtokens.h:56:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[0][2] ) ); ^ radiant/brushtokens.h:57:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h:60:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:61:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[1][0] ) ); ^ radiant/brushtokens.h:62:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[1][1] ) ); ^ radiant/brushtokens.h:63:113: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_brushprimit_texdef.coords[1][2] ) ); ^ radiant/brushtokens.h:64:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h:66:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h: In function 'bool FaceTexdef_HalfLife_importTokens(FaceTexdef&, Tokeniser&)': radiant/brushtokens.h:72:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "[" ) ); ^ radiant/brushtokens.h:73:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_s.x() ) ); ^ radiant/brushtokens.h:74:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_s.y() ) ); ^ radiant/brushtokens.h:75:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_s.z() ) ); ^ radiant/brushtokens.h:76:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[0] ) ); ^ radiant/brushtokens.h:77:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "]" ) ); ^ radiant/brushtokens.h:78:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "[" ) ); ^ radiant/brushtokens.h:79:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_t.x() ) ); ^ radiant/brushtokens.h:80:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_t.y() ) ); ^ radiant/brushtokens.h:81:92: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_basis_t.z() ) ); ^ radiant/brushtokens.h:82:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.shift[1] ) ); ^ radiant/brushtokens.h:83:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "]" ) ); ^ radiant/brushtokens.h:84:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.rotate ) ); ^ radiant/brushtokens.h:85:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[0] ) ); ^ radiant/brushtokens.h:86:96: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, texdef.m_projection.m_texdef.scale[1] ) ); ^ radiant/brushtokens.h: In function 'bool FacePlane_importTokens(FacePlane&, Tokeniser&)': radiant/brushtokens.h:98:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:101:91: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, facePlane.planePoints()[i][j] ) ); ^ radiant/brushtokens.h:103:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h: In function 'bool FacePlane_Doom3_importTokens(FacePlane&, Tokeniser&)': radiant/brushtokens.h:112:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/brushtokens.h:113:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.a ) ); ^ radiant/brushtokens.h:114:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.b ) ); ^ radiant/brushtokens.h:115:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.c ) ); ^ radiant/brushtokens.h:116:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getDouble( tokeniser, plane.d ) ); ^ radiant/brushtokens.h:118:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/brushtokens.h: In member function 'bool Doom3FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:165:86: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_Doom3_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:166:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_BP_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:167:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_Doom3_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:168:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake4FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:184:86: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_Doom3_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:185:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_BP_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:186:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_Doom3_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake2FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:202:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:203:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:204:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:207:95: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake3FaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:221:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:222:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:223:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:224:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool Quake3BPFaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:237:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:238:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_BP_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h:239:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:240:94: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importContentsFlagsValue( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool QuakeFaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:256:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:257:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:258:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'bool HalfLifeFaceTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:271:80: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FacePlane_importTokens( m_face.getPlane(), tokeniser ) ); ^ radiant/brushtokens.h:272:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceShader_importTokens( m_face.getShader(), tokeniser ) ); ^ radiant/brushtokens.h:273:91: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( FaceTexdef_HalfLife_importTokens( m_face.getTexdef(), tokeniser ) ); ^ radiant/brushtokens.h: In member function 'virtual bool BrushTokenImporter::importTokens(Tokeniser&)': radiant/brushtokens.h:499:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "{" ) ); ^ radiant/brushtokens.h:524:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:530:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:536:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:542:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:548:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:554:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:560:62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( importer.importTokens( tokeniser ) ); ^ radiant/brushtokens.h:568:65: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "}" ) ); ^ In file included from radiant/csg.cpp:30: radiant/brushnode.h: In member function 'virtual void BrushNode::release()': radiant/brushnode.h:118:9: warning: deleting object of polymorphic class type 'BrushNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/csg.cpp: In member function 'virtual bool BrushHollowSelectedWalker::pre(const Path&, scene::Instance&) const': radiant/csg.cpp:83:17: warning: deleting object of polymorphic class type 'Brush' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete ( *i ); ^ radiant/csg.cpp: In function 'bool Brush_subtract(const Brush&, const Brush&, brush_vector_t&)': radiant/csg.cpp:290:18: warning: deleting object of polymorphic class type 'Brush' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete( *i ); ^ radiant/csg.cpp: In member function 'virtual void SubtractBrushesFromUnselected::post(const Path&, scene::Instance&) const': radiant/csg.cpp:330:20: warning: deleting object of polymorphic class type 'Brush' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete ( *j ); ^ radiant/csg.cpp:345:12: warning: deleting object of polymorphic class type 'Brush' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete original; ^~~~~~~~ radiant/csg.cpp:357:19: warning: deleting object of polymorphic class type 'Brush' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete ( *i ); ^ radiant/csg.cpp:361:19: warning: deleting object of polymorphic class type 'Brush' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete ( *i ); ^ c++ radiant/eclass_def.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/eclass_def.o radiant/dialog.cpp: In instantiation of 'void CallbackDialogData::release() [with FirstArgument = float]': radiant/dialog.cpp:256:6: required from here radiant/dialog.cpp:257:2: warning: deleting object of polymorphic class type 'CallbackDialogData' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ radiant/dialog.cpp: In instantiation of 'void CallbackDialogData::release() [with FirstArgument = long unsigned int]': radiant/dialog.cpp:256:6: required from here radiant/dialog.cpp:257:2: warning: deleting object of polymorphic class type 'CallbackDialogData' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] radiant/dialog.cpp: In instantiation of 'void CallbackDialogData::release() [with FirstArgument = const char*]': radiant/dialog.cpp:256:6: required from here radiant/dialog.cpp:257:2: warning: deleting object of polymorphic class type 'CallbackDialogData' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] radiant/dialog.cpp: In instantiation of 'void CallbackDialogData::release() [with FirstArgument = int]': radiant/dialog.cpp:256:6: required from here radiant/dialog.cpp:257:2: warning: deleting object of polymorphic class type 'CallbackDialogData' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] radiant/dialog.cpp: In instantiation of 'void CallbackDialogData::release() [with FirstArgument = bool]': radiant/dialog.cpp:256:6: required from here radiant/dialog.cpp:257:2: warning: deleting object of polymorphic class type 'CallbackDialogData' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] c++ radiant/eclass_doom3.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/eclass_doom3.o c++ radiant/eclass_fgd.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/eclass_fgd.o c++ radiant/eclass.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/eclass.o c++ radiant/eclass_xml.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/eclass_xml.o radiant/eclass_doom3.cpp: In function 'bool EntityClassDoom3_parseToken(Tokeniser&)': radiant/eclass_doom3.cpp:91:42: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( token != 0 ); ^ radiant/eclass_doom3.cpp: In function 'bool EntityClassDoom3_parseToken(Tokeniser&, const char*)': radiant/eclass_doom3.cpp:97:42: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( token != 0 ); ^ radiant/eclass_doom3.cpp: In function 'bool EntityClassDoom3_parseString(Tokeniser&, const char*&)': radiant/eclass_doom3.cpp:103:42: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( token != 0 ); ^ radiant/eclass_doom3.cpp: In function 'bool EntityClassDoom3_parseString(Tokeniser&, CopiedString&)': radiant/eclass_doom3.cpp:110:42: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( token != 0 ); ^ radiant/eclass_doom3.cpp: In function 'bool EntityClassDoom3_parseString(Tokeniser&, StringOutputStream&)': radiant/eclass_doom3.cpp:117:42: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( token != 0 ); ^ radiant/eclass_doom3.cpp: In function 'bool EntityClassDoom3_parseUnknown(Tokeniser&)': radiant/eclass_doom3.cpp:124:72: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser ) ); ^ radiant/eclass_doom3.cpp:128:77: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser, "{" ) ); ^ radiant/eclass_doom3.cpp:135:81: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, token ) ); ^ radiant/eclass_doom3.cpp: In function 'bool EntityClassDoom3_parseModel(Tokeniser&)': radiant/eclass_doom3.cpp:189:79: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, name ) ); ^ radiant/eclass_doom3.cpp:193:77: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser, "{" ) ); ^ radiant/eclass_doom3.cpp:199:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, parameter ) ); ^ radiant/eclass_doom3.cpp:205:91: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, model.m_parent ) ); ^ radiant/eclass_doom3.cpp:210:74: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser ) ); ^ radiant/eclass_doom3.cpp:214:89: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, model.m_mesh ) ); ^ radiant/eclass_doom3.cpp:218:89: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, model.m_skin ) ); ^ radiant/eclass_doom3.cpp:222:79: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser, "(" ) ); ^ radiant/eclass_doom3.cpp:223:74: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser ) ); ^ radiant/eclass_doom3.cpp:224:74: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser ) ); ^ radiant/eclass_doom3.cpp:225:74: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser ) ); ^ radiant/eclass_doom3.cpp:226:79: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser, ")" ) ); ^ radiant/eclass_doom3.cpp:231:74: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser ) ); ^ radiant/eclass_doom3.cpp:232:79: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser, "(" ) ); ^ radiant/eclass_doom3.cpp:236:81: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, end ) ); ^ radiant/eclass_doom3.cpp:245:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, animName ) ); ^ radiant/eclass_doom3.cpp:247:85: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, animFile ) ); ^ radiant/eclass_doom3.cpp:251:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, token ) ); ^ radiant/eclass_doom3.cpp:255:86: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, animFile ) ); ^ radiant/eclass_doom3.cpp:256:83: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, token ) ); ^ radiant/eclass_doom3.cpp:263:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, end ) ); ^ radiant/eclass_doom3.cpp: In function 'bool EntityClass_parse(EntityClass&, Tokeniser&)': radiant/eclass_doom3.cpp:315:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, entityClass.m_name ) ); ^ radiant/eclass_doom3.cpp:317:77: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser, "{" ) ); ^ radiant/eclass_doom3.cpp:328:79: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, key ) ); ^ radiant/eclass_doom3.cpp:340:91: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, *currentString ) ); ^ radiant/eclass_doom3.cpp:357:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, token ) ); ^ radiant/eclass_doom3.cpp:365:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, value ) ); ^ radiant/eclass_doom3.cpp:374:74: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser ) ); ^ radiant/eclass_doom3.cpp:379:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, value ) ); ^ radiant/eclass_doom3.cpp:389:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, value ) ); ^ radiant/eclass_doom3.cpp:397:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, usage ) ); ^ radiant/eclass_doom3.cpp:401:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, usage ) ); ^ radiant/eclass_doom3.cpp:413:74: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser ) ); ^ radiant/eclass_doom3.cpp:420:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, description ) ); ^ radiant/eclass_doom3.cpp:427:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, description ) ); ^ radiant/eclass_doom3.cpp:434:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, description ) ); ^ radiant/eclass_doom3.cpp:441:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, description ) ); ^ radiant/eclass_doom3.cpp:448:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, description ) ); ^ radiant/eclass_doom3.cpp:455:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, description ) ); ^ radiant/eclass_doom3.cpp:462:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, description ) ); ^ radiant/eclass_doom3.cpp:469:88: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, description ) ); ^ radiant/eclass_doom3.cpp:475:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, token ) ); ^ radiant/eclass_doom3.cpp:481:74: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser ) ); ^ radiant/eclass_doom3.cpp:485:74: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser ) ); ^ radiant/eclass_doom3.cpp:489:74: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser ) ); ^ radiant/eclass_doom3.cpp:499:74: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseToken( tokeniser ) ); ^ radiant/eclass_doom3.cpp:509:82: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] PARSE_RETURN_FALSE_IF_FAIL( EntityClassDoom3_parseString( tokeniser, value ) ); ^ In file included from radiant/eclass_xml.cpp:115: libs/xml/xmlparser.h: In member function 'virtual void XMLStreamParser::exportXML(XMLImporter&)': libs/xml/xmlparser.h:192:7: warning: variable 'wellFormed' set but not used [-Wunused-but-set-variable] bool wellFormed = false; ^~~~~~~~~~ radiant/eclass.cpp:48:6: warning: '{anonymous}::eclass_directory' defined but not used [-Wunused-variable] char eclass_directory[1024]; ^~~~~~~~~~~~~~~~ c++ radiant/entityinspector.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/entityinspector.o In file included from include/ientity.h:28, from radiant/entityinspector.cpp:26: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/entitylist.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/entitylist.o In file included from radiant/texwindow.h:28, from radiant/textureentry.h:34, from radiant/entityinspector.cpp:78: libs/xml/xmltextags.h: In member function 'xmlXPathObject* XmlTagBuilder::XpathEval(const char*)': libs/xml/xmltextags.h:61:34: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlChar* expression = (xmlChar*)queryString; ^~~~~~~~~~~ radiant/entityinspector.cpp: In member function 'virtual void BooleanAttribute::release()': radiant/entityinspector.cpp:153:9: warning: deleting object of polymorphic class type 'BooleanAttribute' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/entityinspector.cpp: In member function 'virtual void StringAttribute::release()': radiant/entityinspector.cpp:199:9: warning: deleting object of polymorphic class type 'StringAttribute' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/entityinspector.cpp: In member function 'virtual void ModelAttribute::release()': radiant/entityinspector.cpp:238:9: warning: deleting object of polymorphic class type 'ModelAttribute' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/entityinspector.cpp: In member function 'virtual void SoundAttribute::release()': radiant/entityinspector.cpp:301:9: warning: deleting object of polymorphic class type 'SoundAttribute' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/entityinspector.cpp: In member function 'virtual void AngleAttribute::release()': radiant/entityinspector.cpp:348:9: warning: deleting object of polymorphic class type 'AngleAttribute' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/entityinspector.cpp: In member function 'virtual void DirectionAttribute::release()': radiant/entityinspector.cpp:409:9: warning: deleting object of polymorphic class type 'DirectionAttribute' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/entityinspector.cpp: In member function 'virtual void AnglesAttribute::release()': radiant/entityinspector.cpp:511:9: warning: deleting object of polymorphic class type 'AnglesAttribute' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/entityinspector.cpp: In member function 'virtual void Vector3Attribute::release()': radiant/entityinspector.cpp:598:9: warning: deleting object of polymorphic class type 'Vector3Attribute' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/entityinspector.cpp: In member function 'virtual void ListAttribute::release()': radiant/entityinspector.cpp:691:9: warning: deleting object of polymorphic class type 'ListAttribute' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/entityinspector.cpp: In function 'GtkWidget* EntityInspector_constructWindow(GtkWindow*)': radiant/entityinspector.cpp:1344:107: warning: missing sentinel in function call [-Wformat=] GtkTreeViewColumn* column = gtk_tree_view_column_new_with_attributes( "Key", renderer, "text", 0, 0 ); ^ radiant/entityinspector.cpp:1426:105: warning: missing sentinel in function call [-Wformat=] GtkTreeViewColumn* column = gtk_tree_view_column_new_with_attributes( "", renderer, "text", 0, 0 ); ^ radiant/entityinspector.cpp:1432:105: warning: missing sentinel in function call [-Wformat=] GtkTreeViewColumn* column = gtk_tree_view_column_new_with_attributes( "", renderer, "text", 1, 0 ); ^ c++ radiant/entity.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/entity.o In file included from radiant/entitylist.cpp:32: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/entitylist.cpp: In function 'void entitylist_treeviewcolumn_celldatafunc(GtkTreeViewColumn*, GtkCellRenderer*, GtkTreeModel*, GtkTreeIter*, gpointer)': radiant/entitylist.cpp:121:72: warning: missing sentinel in function call [-Wformat=] g_object_set( G_OBJECT( renderer ), "text", name, "visible", TRUE, 0 ); ^ radiant/entitylist.cpp:126:97: warning: missing sentinel in function call [-Wformat=] g_object_set( G_OBJECT( renderer ), "cell-background-gdk", &style->base[GTK_STATE_ACTIVE], 0 ); ^ radiant/entitylist.cpp:130:97: warning: missing sentinel in function call [-Wformat=] g_object_set( G_OBJECT( renderer ), "cell-background-gdk", &style->base[GTK_STATE_NORMAL], 0 ); ^ radiant/entitylist.cpp:136:71: warning: missing sentinel in function call [-Wformat=] g_object_set( G_OBJECT( renderer ), "text", "", "visible", FALSE, 0 ); ^ In file included from include/ientity.h:28, from radiant/entity.cpp:24: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/environment.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/environment.o radiant/environment.cpp: In function 'void gamedetect_found_game(char*, char*)': radiant/environment.cpp:70:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gamedetect_argv_buffer[argc++] = "-global-gamefile"; ^~~~~~~~~~~~~~~~~~ radiant/environment.cpp: In function 'void gamedetect()': radiant/environment.cpp:135:107: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( gamedetect_check_game( "nexuiz.game", "data/common-spog.pk3", "nexuiz-linux-glx.sh", buf, p - buf ) ) ^ radiant/environment.cpp:140:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( gamedetect_check_game( "q2w.game", "default/quake2world.version", NULL, buf, p - buf ) ) { ^ radiant/environment.cpp:145:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( gamedetect_check_game( "warsow.game", "basewsw/dedicated_autoexec.cfg", NULL, buf, p - buf ) ) { ^ radiant/environment.cpp: In function 'char* getexename(char*)': radiant/environment.cpp:208:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return ""; ^~ c++ radiant/error.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/error.o c++ radiant/feedback.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/feedback.o c++ radiant/filetypes.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/filetypes.o c++ radiant/filters.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/filters.o c++ radiant/findtexturedialog.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/findtexturedialog.o radiant/filetypes.cpp: In constructor 'RadiantFileTypeRegistry::filetype_copy_t::filetype_copy_t(const char*, filetype_t)': radiant/filetypes.cpp:52:15: warning: 'RadiantFileTypeRegistry::filetype_copy_t::m_pattern' will be initialized after [-Wreorder] CopiedString m_pattern; ^~~~~~~~~ radiant/filetypes.cpp:46:7: warning: 'bool RadiantFileTypeRegistry::filetype_copy_t::m_can_load' [-Wreorder] bool m_can_load; ^~~~~~~~~~ radiant/filetypes.cpp:37:2: warning: when initialized here [-Wreorder] filetype_copy_t( const char* moduleName, const filetype_t other ) ^~~~~~~~~~~~~~~ In file included from radiant/filters.cpp:28: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/glwidget.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/glwidget.o c++ radiant/grid.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/grid.o In file included from radiant/texwindow.h:28, from radiant/textureentry.h:34, from radiant/findtexturedialog.cpp:52: libs/xml/xmltextags.h: In member function 'xmlXPathObject* XmlTagBuilder::XpathEval(const char*)': libs/xml/xmltextags.h:61:34: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlChar* expression = (xmlChar*)queryString; ^~~~~~~~~~~ radiant/findtexturedialog.cpp: At global scope: radiant/findtexturedialog.cpp:108:13: warning: 'void {anonymous}::OnOK(GtkWidget*, gpointer)' defined but not used [-Wunused-function] static void OnOK( GtkWidget* widget, gpointer data ){ ^~~~ radiant/findtexturedialog.cpp:103:13: warning: 'void {anonymous}::OnFind(GtkWidget*, gpointer)' defined but not used [-Wunused-function] static void OnFind( GtkWidget* widget, gpointer data ){ ^~~~~~ c++ radiant/groupdialog.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/groupdialog.o In file included from radiant/feedback.cpp:28: radiant/feedback.h: In member function 'virtual void CPointMsg::Release()': radiant/feedback.h:90:9: warning: deleting object of polymorphic class type 'CPointMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/feedback.h: In member function 'virtual void CPointMsg::DecRef()': radiant/feedback.h:106:10: warning: deleting object of polymorphic class type 'CPointMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/feedback.h: In member function 'virtual void CWindingMsg::Release()': radiant/feedback.h:124:9: warning: deleting object of polymorphic class type 'CWindingMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/feedback.h: In member function 'virtual void CWindingMsg::DecRef()': radiant/feedback.h:140:10: warning: deleting object of polymorphic class type 'CWindingMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/gtkdlgs.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/gtkdlgs.o c++ radiant/gtkmisc.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/gtkmisc.o c++ radiant/help.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/help.o c++ radiant/image.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/image.o c++ radiant/mainframe.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/mainframe.o c++ radiant/main.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/main.o In file included from radiant/texwindow.h:28, from radiant/gtkdlgs.cpp:78: libs/xml/xmltextags.h: In member function 'xmlXPathObject* XmlTagBuilder::XpathEval(const char*)': libs/xml/xmltextags.h:61:34: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlChar* expression = (xmlChar*)queryString; ^~~~~~~~~~~ c++ radiant/map.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/map.o c++ radiant/mru.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/mru.o In file included from include/editable.h:32, from radiant/mainframe.cpp:37: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from /usr/local/include/gtk-2.0/gtk/gtkpixmap.h:32, from /usr/local/include/gtk-2.0/gtk/gtktoolbar.h:47, from radiant/mainframe.cpp:52: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h: At global scope: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from /usr/local/include/gtk-2.0/gtk/gtkpixmap.h:32, from /usr/local/include/gtk-2.0/gtk/gtktoolbar.h:47, from radiant/mainframe.cpp:52: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ In file included from include/ientity.h:28, from radiant/map.cpp:36: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/texwindow.h:28, from radiant/main.cpp:83: libs/xml/xmltextags.h: In member function 'xmlXPathObject* XmlTagBuilder::XpathEval(const char*)': libs/xml/xmltextags.h:61:34: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlChar* expression = (xmlChar*)queryString; ^~~~~~~~~~~ In file included from radiant/texwindow.h:28, from radiant/mainframe.cpp:112: libs/xml/xmltextags.h: In member function 'xmlXPathObject* XmlTagBuilder::XpathEval(const char*)': libs/xml/xmltextags.h:61:34: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlChar* expression = (xmlChar*)queryString; ^~~~~~~~~~~ In file included from radiant/mainframe.cpp:117: radiant/feedback.h: In member function 'virtual void CPointMsg::Release()': radiant/feedback.h:90:9: warning: deleting object of polymorphic class type 'CPointMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/feedback.h: In member function 'virtual void CPointMsg::DecRef()': radiant/feedback.h:106:10: warning: deleting object of polymorphic class type 'CPointMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/feedback.h: In member function 'virtual void CWindingMsg::Release()': radiant/feedback.h:124:9: warning: deleting object of polymorphic class type 'CWindingMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/feedback.h: In member function 'virtual void CWindingMsg::DecRef()': radiant/feedback.h:140:10: warning: deleting object of polymorphic class type 'CWindingMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/mainframe.cpp: In function 'GtkToolbar* create_main_toolbar(MainFrame::EViewStyle)': radiant/mainframe.cpp:2382:13: warning: unused variable 'g_view_entities_button' [-Wunused-variable] GtkButton* g_view_entities_button = toolbar_append_button( toolbar, "Entities (N)", "entities.png", "ToggleEntityInspector" ); ^~~~~~~~~~~~~~~~~~~~~~ radiant/mainframe.cpp:2389:13: warning: unused variable 'g_refresh_models_button' [-Wunused-variable] GtkButton* g_refresh_models_button = toolbar_append_button( toolbar, "Refresh Models", "refresh_models.png", "RefreshReferences" ); ^~~~~~~~~~~~~~~~~~~~~~~ radiant/mainframe.cpp: In member function 'void MainFrame::Create()': radiant/mainframe.cpp:2728:29: warning: 'void gdk_pixbuf_unref(GdkPixbuf*)' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref( pixbuf ); ^ In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/local/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/local/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/local/include/gtk-2.0/gdk/gdk.h:33, from /usr/local/include/gtk-2.0/gtk/gtkaccelgroup.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:35, from libs/gtkutil/window.h:25, from radiant/mainframe.h:25, from radiant/mainframe.cpp:28: /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:232:12: note: declared here void gdk_pixbuf_unref (GdkPixbuf *pixbuf); ^~~~~~~~~~~~~~~~ radiant/mainframe.cpp:2728:29: warning: 'void gdk_pixbuf_unref(GdkPixbuf*)' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref( pixbuf ); ^ In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/local/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/local/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/local/include/gtk-2.0/gdk/gdk.h:33, from /usr/local/include/gtk-2.0/gtk/gtkaccelgroup.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:35, from libs/gtkutil/window.h:25, from radiant/mainframe.h:25, from radiant/mainframe.cpp:28: /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:232:12: note: declared here void gdk_pixbuf_unref (GdkPixbuf *pixbuf); ^~~~~~~~~~~~~~~~ c++ radiant/nullmodel.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/nullmodel.o c++ radiant/parse.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/parse.o In file included from radiant/parse.cpp:24: libs/script/scripttokeniser.h: In member function 'virtual void ScriptTokeniser::release()': libs/script/scripttokeniser.h:309:9: warning: deleting object of polymorphic class type 'ScriptTokeniser' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/parse.cpp:25: libs/script/scripttokenwriter.h: In member function 'virtual void SimpleTokenWriter::release()': libs/script/scripttokenwriter.h:37:9: warning: deleting object of polymorphic class type 'SimpleTokenWriter' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/patchdialog.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/patchdialog.o c++ radiant/patchmanip.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/patchmanip.o In file included from include/ientity.h:28, from radiant/nullmodel.cpp:30: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/nullmodel.cpp:34: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from include/modulesystem.h:26, from include/iscenegraph.h:191, from radiant/map.h:25, from radiant/map.cpp:22: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from radiant/map.cpp:59: libs/maplib.h: In member function 'virtual void MapRoot::release()': libs/maplib.h:182:9: warning: deleting object of polymorphic class type 'MapRoot' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/nullmodel.cpp:40: libs/entitylib.h: In member function 'void KeyValue::DecRef()': libs/entitylib.h:323:10: warning: deleting object of polymorphic class type 'KeyValue' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/nullmodel.cpp: In member function 'virtual void NullModelNode::release()': radiant/nullmodel.cpp:158:9: warning: deleting object of polymorphic class type 'NullModelNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from libs/entitylib.h:36, from radiant/nullmodel.cpp:40: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = String > >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento > > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = UnsortedMap >, SmartPointer >]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento >, SmartPointer > >' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] In file included from radiant/texwindow.h:28, from radiant/patchmanip.cpp:41: libs/xml/xmltextags.h: In member function 'xmlXPathObject* XmlTagBuilder::XpathEval(const char*)': libs/xml/xmltextags.h:61:34: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlChar* expression = (xmlChar*)queryString; ^~~~~~~~~~~ In file included from radiant/brush.h:52, from radiant/map.cpp:88: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from radiant/brush.h:59, from radiant/map.cpp:88: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from radiant/map.cpp:88: radiant/brush.h: In member function 'virtual void Face::SavedState::release()': radiant/brush.h:887:9: warning: deleting object of polymorphic class type 'Face::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'void Face::DecRef()': radiant/brush.h:1036:10: warning: deleting object of polymorphic class type 'Face' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'virtual void Brush::BrushUndoMemento::release()': radiant/brush.h:1798:9: warning: deleting object of polymorphic class type 'Brush::BrushUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/patch.h:39, from radiant/patchmanip.cpp:44: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from radiant/patch.h:39, from radiant/patchdialog.cpp:52: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ radiant/map.cpp: In member function 'virtual void BasicContainer::release()': radiant/map.cpp:666:9: warning: deleting object of polymorphic class type 'BasicContainer' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/map.cpp: In function 'void DoMapInfo()': radiant/map.cpp:853:109: warning: missing sentinel in function call [-Wformat=] GtkTreeViewColumn* column = gtk_tree_view_column_new_with_attributes( "Entity", renderer, "text", 0, 0 ); ^ radiant/map.cpp:860:108: warning: missing sentinel in function call [-Wformat=] GtkTreeViewColumn* column = gtk_tree_view_column_new_with_attributes( "Count", renderer, "text", 1, 0 ); ^ In file included from include/editable.h:32, from radiant/patch.h:40, from radiant/patchdialog.cpp:52: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/editable.h:32, from radiant/patch.h:40, from radiant/patchmanip.cpp:44: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/patchmanip.cpp:24: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from radiant/patch.h:58, from radiant/patchmanip.cpp:44: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from radiant/patchmanip.cpp:44: radiant/patch.h: In member function 'virtual void Patch::SavedState::release()': radiant/patch.h:391:9: warning: deleting object of polymorphic class type 'Patch::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/patch.h: In function 'bool Patch_importHeader(Patch&, Tokeniser&)': radiant/patch.h:1007:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "{" ) ); ^ radiant/patch.h: In function 'bool Patch_importParams(Patch&, Tokeniser&)': radiant/patch.h:1048:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ In file included from radiant/patch.h:59, from radiant/patchmanip.cpp:44: libs/stringio.h:222:79: warning: this 'else' clause does not guard... [-Wmisleading-indentation] #define RETURN_FALSE_IF_FAIL( expression ) if ( !expression ) {return false; }else ^~~~ radiant/patch.h:1048:2: note: in expansion of macro 'RETURN_FALSE_IF_FAIL' RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^~~~~~~~~~~~~~~~~~~~ In file included from radiant/patchmanip.cpp:44: radiant/patch.h:1051:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ radiant/patch.h:1053:60: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, c ) ); ^ radiant/patch.h:1054:60: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, r ) ); ^ radiant/patch.h:1060:81: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, patch.m_subdivisions_x ) ); ^ radiant/patch.h:1061:81: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, patch.m_subdivisions_y ) ); ^ radiant/patch.h:1066:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, tmp ) ); ^ radiant/patch.h:1067:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, tmp ) ); ^ radiant/patch.h:1068:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, tmp ) ); ^ radiant/patch.h:1070:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h: In function 'bool Patch_importMatrix(Patch&, Tokeniser&)': radiant/patch.h:1077:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ In file included from radiant/patch.h:59, from radiant/patchmanip.cpp:44: libs/stringio.h:222:79: warning: this 'else' clause does not guard... [-Wmisleading-indentation] #define RETURN_FALSE_IF_FAIL( expression ) if ( !expression ) {return false; }else ^~~~ radiant/patch.h:1077:2: note: in expansion of macro 'RETURN_FALSE_IF_FAIL' RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^~~~~~~~~~~~~~~~~~~~ In file included from radiant/patchmanip.cpp:44: radiant/patch.h:1078:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ radiant/patch.h:1082:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/patch.h:1085:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/patch.h:1087:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_vertex[0] ) ); ^ radiant/patch.h:1088:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_vertex[1] ) ); ^ radiant/patch.h:1089:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_vertex[2] ) ); ^ radiant/patch.h:1090:95: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_texcoord[0] ) ); ^ radiant/patch.h:1091:95: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_texcoord[1] ) ); ^ radiant/patch.h:1093:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h:1095:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h:1099:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h: In function 'bool Patch_importFooter(Patch&, Tokeniser&)': radiant/patch.h:1107:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "}" ) ); ^ radiant/patch.h:1110:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "}" ) ); ^ radiant/patch.h: In member function 'virtual bool PatchTokenImporter::importTokens(Tokeniser&)': radiant/patch.h:1121:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importHeader( m_patch, tokeniser ) ); ^ radiant/patch.h:1122:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importShader( m_patch, tokeniser ) ); ^ radiant/patch.h:1123:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importParams( m_patch, tokeniser ) ); ^ radiant/patch.h:1124:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importMatrix( m_patch, tokeniser ) ); ^ radiant/patch.h:1125:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importFooter( m_patch, tokeniser ) ); ^ radiant/patch.h: In member function 'virtual bool PatchDoom3TokenImporter::importTokens(Tokeniser&)': radiant/patch.h:1138:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importHeader( m_patch, tokeniser ) ); ^ radiant/patch.h:1139:71: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( PatchDoom3_importShader( m_patch, tokeniser ) ); ^ radiant/patch.h:1140:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importParams( m_patch, tokeniser ) ); ^ radiant/patch.h:1141:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importMatrix( m_patch, tokeniser ) ); ^ radiant/patch.h:1142:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importFooter( m_patch, tokeniser ) ); ^ In file included from radiant/patchdialog.cpp:32: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from radiant/patch.h:58, from radiant/patchdialog.cpp:52: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from radiant/patchdialog.cpp:52: radiant/patch.h: In member function 'virtual void Patch::SavedState::release()': radiant/patch.h:391:9: warning: deleting object of polymorphic class type 'Patch::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/patch.h: In function 'bool Patch_importHeader(Patch&, Tokeniser&)': radiant/patch.h:1007:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "{" ) ); ^ radiant/patch.h: In function 'bool Patch_importParams(Patch&, Tokeniser&)': radiant/patch.h:1048:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ In file included from radiant/patch.h:59, from radiant/patchdialog.cpp:52: libs/stringio.h:222:79: warning: this 'else' clause does not guard... [-Wmisleading-indentation] #define RETURN_FALSE_IF_FAIL( expression ) if ( !expression ) {return false; }else ^~~~ radiant/patch.h:1048:2: note: in expansion of macro 'RETURN_FALSE_IF_FAIL' RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^~~~~~~~~~~~~~~~~~~~ In file included from radiant/patchdialog.cpp:52: radiant/patch.h:1051:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ radiant/patch.h:1053:60: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, c ) ); ^ radiant/patch.h:1054:60: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, r ) ); ^ radiant/patch.h:1060:81: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, patch.m_subdivisions_x ) ); ^ radiant/patch.h:1061:81: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, patch.m_subdivisions_y ) ); ^ radiant/patch.h:1066:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, tmp ) ); ^ radiant/patch.h:1067:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, tmp ) ); ^ radiant/patch.h:1068:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, tmp ) ); ^ radiant/patch.h:1070:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h: In function 'bool Patch_importMatrix(Patch&, Tokeniser&)': radiant/patch.h:1077:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ In file included from radiant/patch.h:59, from radiant/patchdialog.cpp:52: libs/stringio.h:222:79: warning: this 'else' clause does not guard... [-Wmisleading-indentation] #define RETURN_FALSE_IF_FAIL( expression ) if ( !expression ) {return false; }else ^~~~ radiant/patch.h:1077:2: note: in expansion of macro 'RETURN_FALSE_IF_FAIL' RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^~~~~~~~~~~~~~~~~~~~ In file included from radiant/patchdialog.cpp:52: radiant/patch.h:1078:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ radiant/patch.h:1082:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/patch.h:1085:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/patch.h:1087:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_vertex[0] ) ); ^ radiant/patch.h:1088:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_vertex[1] ) ); ^ radiant/patch.h:1089:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_vertex[2] ) ); ^ radiant/patch.h:1090:95: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_texcoord[0] ) ); ^ radiant/patch.h:1091:95: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_texcoord[1] ) ); ^ radiant/patch.h:1093:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h:1095:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h:1099:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h: In function 'bool Patch_importFooter(Patch&, Tokeniser&)': radiant/patch.h:1107:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "}" ) ); ^ radiant/patch.h:1110:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "}" ) ); ^ radiant/patch.h: In member function 'virtual bool PatchTokenImporter::importTokens(Tokeniser&)': radiant/patch.h:1121:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importHeader( m_patch, tokeniser ) ); ^ radiant/patch.h:1122:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importShader( m_patch, tokeniser ) ); ^ radiant/patch.h:1123:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importParams( m_patch, tokeniser ) ); ^ radiant/patch.h:1124:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importMatrix( m_patch, tokeniser ) ); ^ radiant/patch.h:1125:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importFooter( m_patch, tokeniser ) ); ^ radiant/patch.h: In member function 'virtual bool PatchDoom3TokenImporter::importTokens(Tokeniser&)': radiant/patch.h:1138:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importHeader( m_patch, tokeniser ) ); ^ radiant/patch.h:1139:71: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( PatchDoom3_importShader( m_patch, tokeniser ) ); ^ radiant/patch.h:1140:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importParams( m_patch, tokeniser ) ); ^ radiant/patch.h:1141:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importMatrix( m_patch, tokeniser ) ); ^ radiant/patch.h:1142:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importFooter( m_patch, tokeniser ) ); ^ In file included from libs/traverselib.h:28, from radiant/patch.h:57, from radiant/patchmanip.cpp:44: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ c++ radiant/patchmodule.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/patchmodule.o In file included from libs/traverselib.h:28, from radiant/patch.h:57, from radiant/patchdialog.cpp:52: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ In file included from libs/traverselib.h:28, from radiant/map.cpp:58: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ In file included from radiant/patch.h:39, from radiant/patchmodule.cpp:27: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ c++ radiant/patch.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/patch.o In file included from include/editable.h:32, from radiant/patch.h:40, from radiant/patchmodule.cpp:27: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/patch.h:39, from radiant/patch.cpp:22: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from include/modulesystem.h:26, from include/qerplugin.h:163, from radiant/patchmodule.cpp:24: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from include/editable.h:32, from radiant/patch.h:40, from radiant/patch.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/patch.h:58, from radiant/patchmodule.cpp:27: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from include/modulesystem.h:26, from include/ifilter.h:74, from radiant/patch.h:35, from radiant/patch.cpp:22: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from radiant/patchmodule.cpp:27: radiant/patch.h: In member function 'virtual void Patch::SavedState::release()': radiant/patch.h:391:9: warning: deleting object of polymorphic class type 'Patch::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/patch.h: In function 'bool Patch_importHeader(Patch&, Tokeniser&)': radiant/patch.h:1007:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "{" ) ); ^ radiant/patch.h: In function 'bool Patch_importParams(Patch&, Tokeniser&)': radiant/patch.h:1048:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ In file included from radiant/patch.h:59, from radiant/patchmodule.cpp:27: libs/stringio.h:222:79: warning: this 'else' clause does not guard... [-Wmisleading-indentation] #define RETURN_FALSE_IF_FAIL( expression ) if ( !expression ) {return false; }else ^~~~ radiant/patch.h:1048:2: note: in expansion of macro 'RETURN_FALSE_IF_FAIL' RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^~~~~~~~~~~~~~~~~~~~ In file included from radiant/patchmodule.cpp:27: radiant/patch.h:1051:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ radiant/patch.h:1053:60: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, c ) ); ^ radiant/patch.h:1054:60: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, r ) ); ^ radiant/patch.h:1060:81: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, patch.m_subdivisions_x ) ); ^ radiant/patch.h:1061:81: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, patch.m_subdivisions_y ) ); ^ radiant/patch.h:1066:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, tmp ) ); ^ radiant/patch.h:1067:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, tmp ) ); ^ radiant/patch.h:1068:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, tmp ) ); ^ radiant/patch.h:1070:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h: In function 'bool Patch_importMatrix(Patch&, Tokeniser&)': radiant/patch.h:1077:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ In file included from radiant/patch.h:59, from radiant/patchmodule.cpp:27: libs/stringio.h:222:79: warning: this 'else' clause does not guard... [-Wmisleading-indentation] #define RETURN_FALSE_IF_FAIL( expression ) if ( !expression ) {return false; }else ^~~~ radiant/patch.h:1077:2: note: in expansion of macro 'RETURN_FALSE_IF_FAIL' RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^~~~~~~~~~~~~~~~~~~~ In file included from radiant/patchmodule.cpp:27: radiant/patch.h:1078:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ radiant/patch.h:1082:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/patch.h:1085:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/patch.h:1087:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_vertex[0] ) ); ^ radiant/patch.h:1088:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_vertex[1] ) ); ^ radiant/patch.h:1089:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_vertex[2] ) ); ^ radiant/patch.h:1090:95: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_texcoord[0] ) ); ^ radiant/patch.h:1091:95: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_texcoord[1] ) ); ^ radiant/patch.h:1093:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h:1095:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h:1099:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h: In function 'bool Patch_importFooter(Patch&, Tokeniser&)': radiant/patch.h:1107:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "}" ) ); ^ radiant/patch.h:1110:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "}" ) ); ^ radiant/patch.h: In member function 'virtual bool PatchTokenImporter::importTokens(Tokeniser&)': radiant/patch.h:1121:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importHeader( m_patch, tokeniser ) ); ^ radiant/patch.h:1122:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importShader( m_patch, tokeniser ) ); ^ radiant/patch.h:1123:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importParams( m_patch, tokeniser ) ); ^ radiant/patch.h:1124:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importMatrix( m_patch, tokeniser ) ); ^ radiant/patch.h:1125:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importFooter( m_patch, tokeniser ) ); ^ radiant/patch.h: In member function 'virtual bool PatchDoom3TokenImporter::importTokens(Tokeniser&)': radiant/patch.h:1138:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importHeader( m_patch, tokeniser ) ); ^ radiant/patch.h:1139:71: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( PatchDoom3_importShader( m_patch, tokeniser ) ); ^ radiant/patch.h:1140:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importParams( m_patch, tokeniser ) ); ^ radiant/patch.h:1141:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importMatrix( m_patch, tokeniser ) ); ^ radiant/patch.h:1142:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importFooter( m_patch, tokeniser ) ); ^ In file included from radiant/patch.h:58, from radiant/patch.cpp:22: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from radiant/patch.cpp:22: radiant/patch.h: In member function 'virtual void Patch::SavedState::release()': radiant/patch.h:391:9: warning: deleting object of polymorphic class type 'Patch::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/patch.h: In function 'bool Patch_importHeader(Patch&, Tokeniser&)': radiant/patch.h:1007:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "{" ) ); ^ radiant/patch.h: In function 'bool Patch_importParams(Patch&, Tokeniser&)': radiant/patch.h:1048:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ In file included from radiant/patch.h:59, from radiant/patch.cpp:22: libs/stringio.h:222:79: warning: this 'else' clause does not guard... [-Wmisleading-indentation] #define RETURN_FALSE_IF_FAIL( expression ) if ( !expression ) {return false; }else ^~~~ radiant/patch.h:1048:2: note: in expansion of macro 'RETURN_FALSE_IF_FAIL' RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^~~~~~~~~~~~~~~~~~~~ In file included from radiant/patch.cpp:22: radiant/patch.h:1051:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ radiant/patch.h:1053:60: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, c ) ); ^ radiant/patch.h:1054:60: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, r ) ); ^ radiant/patch.h:1060:81: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, patch.m_subdivisions_x ) ); ^ radiant/patch.h:1061:81: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, patch.m_subdivisions_y ) ); ^ radiant/patch.h:1066:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, tmp ) ); ^ radiant/patch.h:1067:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, tmp ) ); ^ radiant/patch.h:1068:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, tmp ) ); ^ radiant/patch.h:1070:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h: In function 'bool Patch_importMatrix(Patch&, Tokeniser&)': radiant/patch.h:1077:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ In file included from radiant/patch.h:59, from radiant/patch.cpp:22: libs/stringio.h:222:79: warning: this 'else' clause does not guard... [-Wmisleading-indentation] #define RETURN_FALSE_IF_FAIL( expression ) if ( !expression ) {return false; }else ^~~~ radiant/patch.h:1077:2: note: in expansion of macro 'RETURN_FALSE_IF_FAIL' RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^~~~~~~~~~~~~~~~~~~~ In file included from radiant/patch.cpp:22: radiant/patch.h:1078:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ radiant/patch.h:1082:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/patch.h:1085:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/patch.h:1087:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_vertex[0] ) ); ^ radiant/patch.h:1088:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_vertex[1] ) ); ^ radiant/patch.h:1089:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_vertex[2] ) ); ^ radiant/patch.h:1090:95: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_texcoord[0] ) ); ^ radiant/patch.h:1091:95: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_texcoord[1] ) ); ^ radiant/patch.h:1093:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h:1095:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h:1099:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h: In function 'bool Patch_importFooter(Patch&, Tokeniser&)': radiant/patch.h:1107:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "}" ) ); ^ radiant/patch.h:1110:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "}" ) ); ^ radiant/patch.h: In member function 'virtual bool PatchTokenImporter::importTokens(Tokeniser&)': radiant/patch.h:1121:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importHeader( m_patch, tokeniser ) ); ^ radiant/patch.h:1122:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importShader( m_patch, tokeniser ) ); ^ radiant/patch.h:1123:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importParams( m_patch, tokeniser ) ); ^ radiant/patch.h:1124:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importMatrix( m_patch, tokeniser ) ); ^ radiant/patch.h:1125:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importFooter( m_patch, tokeniser ) ); ^ radiant/patch.h: In member function 'virtual bool PatchDoom3TokenImporter::importTokens(Tokeniser&)': radiant/patch.h:1138:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importHeader( m_patch, tokeniser ) ); ^ radiant/patch.h:1139:71: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( PatchDoom3_importShader( m_patch, tokeniser ) ); ^ radiant/patch.h:1140:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importParams( m_patch, tokeniser ) ); ^ radiant/patch.h:1141:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importMatrix( m_patch, tokeniser ) ); ^ radiant/patch.h:1142:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importFooter( m_patch, tokeniser ) ); ^ radiant/patch.h: In instantiation of 'void PatchNode::release() [with TokenImporter = PatchDoom3TokenImporter; TokenExporter = PatchDoom3TokenExporter]': radiant/patch.h:1705:6: required from here radiant/patch.h:1706:2: warning: deleting object of polymorphic class type 'PatchNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ radiant/patch.h: In instantiation of 'void PatchNode::release() [with TokenImporter = PatchTokenImporter; TokenExporter = PatchTokenExporter]': radiant/patch.h:1705:6: required from here radiant/patch.h:1706:2: warning: deleting object of polymorphic class type 'PatchNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] In file included from libs/traverselib.h:28, from radiant/patch.h:57, from radiant/patchmodule.cpp:27: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ radiant/patch.cpp: In member function 'void Patch::ConstructPrefab(const AABB&, EPatchPrefab, int, std::size_t, std::size_t)': radiant/patch.cpp:1362:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare] for ( i = 0; i < width; ++i ) ~~^~~~~~~ radiant/patch.cpp:1367:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare] for ( j = 0; j < height; ++j ) ~~^~~~~~~~ radiant/patch.cpp:1388:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare] for ( i = 0; i < width; ++i ) ~~^~~~~~~ radiant/patch.cpp:1391:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare] for ( j = 0; j < height; ++j ) ~~^~~~~~~~ radiant/patch.cpp:1416:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare] for ( i = 0; i < width; ++i ) ~~^~~~~~~ radiant/patch.cpp:1419:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::size_t' {aka 'long unsigned int'} [-Wsign-compare] for ( j = 0; j < height; ++j ) ~~^~~~~~~~ c++ radiant/pluginapi.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/pluginapi.o c++ radiant/pluginmanager.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/pluginmanager.o In file included from libs/traverselib.h:28, from radiant/patch.h:57, from radiant/patch.cpp:22: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ c++ radiant/pluginmenu.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/pluginmenu.o c++ radiant/plugin.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/plugin.o c++ radiant/plugintoolbar.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/plugintoolbar.o In file included from include/ientity.h:28, from radiant/plugin.cpp:29: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/plugin.cpp:24: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from radiant/plugin.cpp:52: libs/maplib.h: In member function 'virtual void MapRoot::release()': libs/maplib.h:182:9: warning: deleting object of polymorphic class type 'MapRoot' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from /usr/local/include/gtk-2.0/gtk/gtkpixmap.h:32, from /usr/local/include/gtk-2.0/gtk/gtktoolbar.h:47, from radiant/plugintoolbar.cpp:28: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from /usr/local/include/gtk-2.0/gtk/gtkpixmap.h:32, from /usr/local/include/gtk-2.0/gtk/gtktoolbar.h:47, from radiant/plugintoolbar.cpp:28: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ In file included from radiant/texwindow.h:28, from radiant/plugin.cpp:61: libs/xml/xmltextags.h: In member function 'xmlXPathObject* XmlTagBuilder::XpathEval(const char*)': libs/xml/xmltextags.h:61:34: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlChar* expression = (xmlChar*)queryString; ^~~~~~~~~~~ radiant/patch.cpp: In function 'void add_patch_filter(PatchFilter&, int, bool)': radiant/patch.cpp:2782:7: warning: '.PatchFilterWrapper::m_active' is used uninitialized in this function [-Wuninitialized] class PatchFilterWrapper : public Filter ^~~~~~~~~~~~~~~~~~ c++ radiant/points.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/points.o In file included from libs/traverselib.h:28, from libs/maplib.h:28, from radiant/plugin.cpp:52: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ In file included from radiant/points.cpp:35: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ c++ radiant/preferencedictionary.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/preferencedictionary.o c++ radiant/preferences.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/preferences.o c++ radiant/qe3.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/qe3.o c++ radiant/qgl.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/qgl.o c++ radiant/referencecache.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/referencecache.o In file included from radiant/qe3.cpp:50: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int)]': radiant/qgl.cpp:931:81: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int)' [-Wcast-function-type] func = reinterpret_cast( QGL_getExtensionFunc( symbol ) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, double)]': radiant/qgl.cpp:933:88: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, double)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, const double*)]': radiant/qgl.cpp:934:90: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, const double*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, float)]': radiant/qgl.cpp:935:88: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, float)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, const float*)]': radiant/qgl.cpp:936:90: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, const float*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int)]': radiant/qgl.cpp:937:88: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, const int*)]': radiant/qgl.cpp:938:90: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, const int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, short int)]': radiant/qgl.cpp:939:88: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, short int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, const short int*)]': radiant/qgl.cpp:940:90: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, const short int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, unsigned int, int, int, int, int, int, const void*)]': radiant/qgl.cpp:977:95: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, unsigned int, int, int, int, int, int, const void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, unsigned int, int, int, int, int, const void*)]': radiant/qgl.cpp:978:98: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, unsigned int, int, int, int, int, const void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, unsigned int, int, int, int, const void*)]': radiant/qgl.cpp:979:98: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, unsigned int, int, int, int, const void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, int, int, int, int, int, int, unsigned int, int, const void*)]': radiant/qgl.cpp:980:104: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, int, int, int, int, int, int, unsigned int, int, const void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, int, int, int, int, unsigned int, int, const void*)]': radiant/qgl.cpp:981:104: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, int, int, int, int, unsigned int, int, const void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, int, int, unsigned int, int, const void*)]': radiant/qgl.cpp:982:104: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, int, int, unsigned int, int, const void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, void*)]': radiant/qgl.cpp:983:100: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, int, int, int, int, int, int, int)]': radiant/qgl.cpp:999:83: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, int, int, int, int, int, int, int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, unsigned int, int, unsigned int, const void*)]': radiant/qgl.cpp:1000:86: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, unsigned int, int, unsigned int, const void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, int, int, int, int, int, unsigned int, unsigned int, const void*)]': radiant/qgl.cpp:1001:72: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, int, int, int, int, int, unsigned int, unsigned int, const void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, int, int, int, int, int, int, unsigned int, unsigned int, const void*)]': radiant/qgl.cpp:1002:78: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, int, int, int, int, int, int, unsigned int, unsigned int, const void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(const double*)]': radiant/qgl.cpp:1025:92: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(const double*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(const float*)]': radiant/qgl.cpp:1026:92: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(const float*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, double, double)]': radiant/qgl.cpp:1037:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, double, double)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, float, float)]': radiant/qgl.cpp:1039:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, float, float)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, int)]': radiant/qgl.cpp:1041:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, short int, short int)]': radiant/qgl.cpp:1043:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, short int, short int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, double, double, double)]': radiant/qgl.cpp:1045:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, double, double, double)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, float, float, float)]': radiant/qgl.cpp:1047:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, float, float, float)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, int, int)]': radiant/qgl.cpp:1049:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, int, int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, short int, short int, short int)]': radiant/qgl.cpp:1051:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, short int, short int, short int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, double, double, double, double)]': radiant/qgl.cpp:1053:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, double, double, double, double)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, float, float, float, float)]': radiant/qgl.cpp:1055:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, float, float, float, float)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, int, int, int)]': radiant/qgl.cpp:1057:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, int, int, int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, short int, short int, short int, short int)]': radiant/qgl.cpp:1059:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, short int, short int, short int, short int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(float, unsigned char)]': radiant/qgl.cpp:1061:80: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(float, unsigned char)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(float, float, float, float)]': radiant/qgl.cpp:1075:69: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(float, float, float, float)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, unsigned int, unsigned int)]': radiant/qgl.cpp:1077:86: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, unsigned int, unsigned int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, const void*)]': radiant/qgl.cpp:1078:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, const void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(double)]': radiant/qgl.cpp:1079:70: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(double)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(float)]': radiant/qgl.cpp:1081:70: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(float)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int*, int*, int)]': radiant/qgl.cpp:1083:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int*, int*, int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int*, unsigned int, const void**, int)]': radiant/qgl.cpp:1084:86: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int*, unsigned int, const void**, int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, float*)]': radiant/qgl.cpp:1086:84: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, float*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(signed char, signed char, signed char)]': radiant/qgl.cpp:1087:84: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(signed char, signed char, signed char)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(const signed char*)]': radiant/qgl.cpp:1088:86: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(const signed char*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(double, double, double)]': radiant/qgl.cpp:1089:84: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(double, double, double)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(float, float, float)]': radiant/qgl.cpp:1091:84: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(float, float, float)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(int, int, int)]': radiant/qgl.cpp:1093:84: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(int, int, int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(const int*)]': radiant/qgl.cpp:1094:86: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(const int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(short int, short int, short int)]': radiant/qgl.cpp:1095:84: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(short int, short int, short int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(const short int*)]': radiant/qgl.cpp:1096:86: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(const short int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned char, unsigned char, unsigned char)]': radiant/qgl.cpp:1097:86: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned char, unsigned char, unsigned char)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(const unsigned char*)]': radiant/qgl.cpp:1098:88: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(const unsigned char*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, unsigned int)]': radiant/qgl.cpp:1099:86: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, unsigned int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(const unsigned int*)]': radiant/qgl.cpp:1100:88: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(const unsigned int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(short unsigned int, short unsigned int, short unsigned int)]': radiant/qgl.cpp:1101:86: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(short unsigned int, short unsigned int, short unsigned int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(const short unsigned int*)]': radiant/qgl.cpp:1102:88: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(const short unsigned int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(int, unsigned int, int, void*)]': radiant/qgl.cpp:1103:94: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(int, unsigned int, int, void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(double, double)]': radiant/qgl.cpp:1104:74: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(double, double)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(float, float)]': radiant/qgl.cpp:1106:74: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(float, float)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(int, int)]': radiant/qgl.cpp:1108:74: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(int, int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(short int, short int)]': radiant/qgl.cpp:1110:74: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(short int, short int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int)]': radiant/qgl.cpp:1133:69: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, long int, const void*, unsigned int)]': radiant/qgl.cpp:1135:72: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, long int, const void*, unsigned int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, long int, long int, const void*)]': radiant/qgl.cpp:1136:78: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, long int, long int, const void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(int, const unsigned int*)]': radiant/qgl.cpp:1137:78: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(int, const unsigned int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(int, unsigned int*)]': radiant/qgl.cpp:1140:72: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(int, unsigned int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, int*)]': radiant/qgl.cpp:1142:92: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, void**)]': radiant/qgl.cpp:1143:86: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, void**)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, long int, long int, void*)]': radiant/qgl.cpp:1144:84: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, long int, long int, void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, unsigned int*)]': radiant/qgl.cpp:1146:86: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, unsigned int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, int)]': radiant/qgl.cpp:1147:72: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = unsigned char (*)(unsigned int)]': radiant/qgl.cpp:1148:68: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'unsigned char (*)(unsigned int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void* (*)(unsigned int, unsigned int)]': radiant/qgl.cpp:1150:70: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void* (*)(unsigned int, unsigned int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned char, unsigned char, unsigned char, unsigned char)]': radiant/qgl.cpp:1177:90: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned char, unsigned char, unsigned char, unsigned char)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, const signed char*)]': radiant/qgl.cpp:1187:88: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, const signed char*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, const unsigned char*)]': radiant/qgl.cpp:1190:90: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, const unsigned char*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, const short unsigned int*)]': radiant/qgl.cpp:1191:90: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, const short unsigned int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, const unsigned int*)]': radiant/qgl.cpp:1192:90: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, const unsigned int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, unsigned int, unsigned char, int, const void*)]': radiant/qgl.cpp:1201:96: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, unsigned int, unsigned char, int, const void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, int, const void*)]': radiant/qgl.cpp:1204:84: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, int, const void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, double, double, double, double)]': radiant/qgl.cpp:1208:100: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, double, double, double, double)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, const double*)]': radiant/qgl.cpp:1209:102: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, const double*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, float, float, float, float)]': radiant/qgl.cpp:1210:100: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, float, float, float, float)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, const float*)]': radiant/qgl.cpp:1211:102: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, const float*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, double*)]': radiant/qgl.cpp:1216:106: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, double*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, float*)]': radiant/qgl.cpp:1217:106: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, float*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, void*)]': radiant/qgl.cpp:1221:90: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = unsigned int (*)(unsigned int)]': radiant/qgl.cpp:1243:76: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'unsigned int (*)(unsigned int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, const char**, const int*)]': radiant/qgl.cpp:1246:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, const char**, const int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(int, float)]': radiant/qgl.cpp:1253:76: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(int, float)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(int, float, float)]': radiant/qgl.cpp:1254:76: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(int, float, float)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(int, float, float, float)]': radiant/qgl.cpp:1255:76: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(int, float, float, float)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(int, float, float, float, float)]': radiant/qgl.cpp:1256:76: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(int, float, float, float, float)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(int, int, int, int)]': radiant/qgl.cpp:1259:76: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(int, int, int, int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(int, int, int, int, int)]': radiant/qgl.cpp:1260:76: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(int, int, int, int, int)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(int, int, const float*)]': radiant/qgl.cpp:1261:78: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(int, int, const float*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(int, int, const int*)]': radiant/qgl.cpp:1265:78: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(int, int, const int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(int, int, unsigned char, const float*)]': radiant/qgl.cpp:1269:90: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(int, int, unsigned char, const float*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, int*, char*)]': radiant/qgl.cpp:1274:78: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, int*, char*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, int*, unsigned int*)]': radiant/qgl.cpp:1275:94: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, int*, unsigned int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = int (*)(unsigned int, const char*)]': radiant/qgl.cpp:1276:94: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'int (*)(unsigned int, const char*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, int, int*, int*, unsigned int*, char*)]': radiant/qgl.cpp:1277:90: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, int, int*, int*, unsigned int*, char*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, float*)]': radiant/qgl.cpp:1278:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, float*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, int*)]': radiant/qgl.cpp:1279:82: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, const char*)]': radiant/qgl.cpp:1336:94: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, const char*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = unsigned char (*)(int, const unsigned int*, unsigned char*)]': radiant/qgl.cpp:1351:91: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'unsigned char (*)(int, const unsigned int*, unsigned char*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, unsigned int, double*)]': radiant/qgl.cpp:1356:98: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, unsigned int, double*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, unsigned int, float*)]': radiant/qgl.cpp:1357:98: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, unsigned int, float*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, unsigned char*)]': radiant/qgl.cpp:1359:88: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, unsigned char*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, unsigned int, int*)]': radiant/qgl.cpp:1360:88: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, unsigned int, int*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, int, const unsigned char*)]': radiant/qgl.cpp:1366:78: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, int, const unsigned char*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, unsigned int, unsigned int, const float*)]': radiant/qgl.cpp:1369:96: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, unsigned int, unsigned int, const float*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, unsigned int, int, const void*)]': radiant/qgl.cpp:1372:94: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, unsigned int, int, const void*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, const float*)]': radiant/qgl.cpp:1381:88: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, const float*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, const unsigned char*, float, float, float, float)]': radiant/qgl.cpp:1431:99: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, const unsigned char*, float, float, float, float)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, const unsigned char*, const float*)]': radiant/qgl.cpp:1432:104: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, const unsigned char*, const float*)' [-Wcast-function-type] radiant/qgl.cpp: In instantiation of 'bool QGL_constructExtensionFunc(Func&, const char*) [with Func = void (*)(unsigned int, int, const unsigned char*, float*)]': radiant/qgl.cpp:1433:108: required from here radiant/qgl.cpp:185:9: warning: cast between incompatible function types from 'QGLFunctionPointer' {aka 'int (*)()'} to 'void (*)(unsigned int, int, const unsigned char*, float*)' [-Wcast-function-type] In file included from radiant/preferences.cpp:172: libs/xml/xmlparser.h: In member function 'virtual void XMLStreamParser::exportXML(XMLImporter&)': libs/xml/xmlparser.h:192:7: warning: variable 'wellFormed' set but not used [-Wunused-but-set-variable] bool wellFormed = false; ^~~~~~~~~~ In file included from include/ientity.h:28, from radiant/referencecache.cpp:37: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/modulesystem.h:26, from include/iscenegraph.h:191, from radiant/referencecache.h:32, from radiant/referencecache.cpp:22: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from radiant/referencecache.cpp:47: libs/maplib.h: In member function 'virtual void MapRoot::release()': libs/maplib.h:182:9: warning: deleting object of polymorphic class type 'MapRoot' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/renderer.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/renderer.o c++ radiant/renderstate.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/renderstate.o In file included from radiant/renderer.h:26, from radiant/renderer.cpp:22: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from radiant/renderstate.cpp:32: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from radiant/renderer.h:29, from radiant/renderer.cpp:22: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/scenegraph.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/scenegraph.o radiant/renderstate.cpp: In member function 'void OpenGLShaderCache::CreateOpenGLShader::destroy(OpenGLShader*)': radiant/renderstate.cpp:1161:9: warning: deleting object of polymorphic class type 'OpenGLShader' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete shader; ^~~~~~ radiant/renderstate.cpp: In function 'void ShaderCache_Destroy()': radiant/renderstate.cpp:1568:9: warning: deleting object of polymorphic class type 'OpenGLShaderCache' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete g_ShaderCache; ^~~~~~~~~~~~~ c++ radiant/selection.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/selection.o In file included from libs/traverselib.h:28, from libs/maplib.h:28, from radiant/referencecache.cpp:47: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ In file included from radiant/referencecache.cpp:43: libs/container/hashfunc.h: In function 'ub4 hash(const ub1*, ub4, ub4, const UB1Traits&, const UB4x1Traits&) [with UB1Traits = ub1_default_traits; UB4x1Traits = ub1x4_default_traits]': libs/container/hashfunc.h:206:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 11: c += ( ( ub4 ) UB1Traits::as_ub1( k[10] ) << 24 ); ^ libs/container/hashfunc.h:207:2: note: here case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^~~~ libs/container/hashfunc.h:207:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^ libs/container/hashfunc.h:208:2: note: here case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^~~~ libs/container/hashfunc.h:208:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^ libs/container/hashfunc.h:210:2: note: here case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^~~~ libs/container/hashfunc.h:210:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^ libs/container/hashfunc.h:211:2: note: here case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^~~~ libs/container/hashfunc.h:211:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^ libs/container/hashfunc.h:212:2: note: here case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^~~~ libs/container/hashfunc.h:212:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^ libs/container/hashfunc.h:213:2: note: here case 5: b += UB1Traits::as_ub1( k[4] ); ^~~~ libs/container/hashfunc.h:213:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: b += UB1Traits::as_ub1( k[4] ); ^ libs/container/hashfunc.h:214:2: note: here case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^~~~ libs/container/hashfunc.h:214:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^ libs/container/hashfunc.h:215:2: note: here case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^~~~ libs/container/hashfunc.h:215:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^ libs/container/hashfunc.h:216:2: note: here case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^~~~ libs/container/hashfunc.h:216:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^ libs/container/hashfunc.h:217:2: note: here case 1: a += UB1Traits::as_ub1( k[0] ); ^~~~ In file included from radiant/renderstate.cpp:45: libs/container/hashfunc.h: In function 'ub4 hash(const ub1*, ub4, ub4, const UB1Traits&, const UB4x1Traits&) [with UB1Traits = ub1_default_traits; UB4x1Traits = ub1x4_default_traits]': libs/container/hashfunc.h:206:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 11: c += ( ( ub4 ) UB1Traits::as_ub1( k[10] ) << 24 ); ^ libs/container/hashfunc.h:207:2: note: here case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^~~~ libs/container/hashfunc.h:207:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^ libs/container/hashfunc.h:208:2: note: here case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^~~~ libs/container/hashfunc.h:208:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^ libs/container/hashfunc.h:210:2: note: here case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^~~~ libs/container/hashfunc.h:210:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^ libs/container/hashfunc.h:211:2: note: here case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^~~~ libs/container/hashfunc.h:211:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^ libs/container/hashfunc.h:212:2: note: here case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^~~~ libs/container/hashfunc.h:212:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^ libs/container/hashfunc.h:213:2: note: here case 5: b += UB1Traits::as_ub1( k[4] ); ^~~~ libs/container/hashfunc.h:213:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: b += UB1Traits::as_ub1( k[4] ); ^ libs/container/hashfunc.h:214:2: note: here case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^~~~ libs/container/hashfunc.h:214:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^ libs/container/hashfunc.h:215:2: note: here case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^~~~ libs/container/hashfunc.h:215:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^ libs/container/hashfunc.h:216:2: note: here case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^~~~ libs/container/hashfunc.h:216:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^ libs/container/hashfunc.h:217:2: note: here case 1: a += UB1Traits::as_ub1( k[0] ); ^~~~ radiant/renderstate.cpp: In member function 'void OpenGLShader::construct(const char*)': radiant/renderstate.cpp:2343:24: warning: this statement may fall through [-Wimplicit-fallthrough=] state.m_alphafunc = GL_ALWAYS; radiant/renderstate.cpp:2344:5: note: here case IShader::eEqual: ^~~~ radiant/renderstate.cpp:2345:24: warning: this statement may fall through [-Wimplicit-fallthrough=] state.m_alphafunc = GL_EQUAL; radiant/renderstate.cpp:2346:5: note: here case IShader::eLess: ^~~~ radiant/renderstate.cpp:2347:24: warning: this statement may fall through [-Wimplicit-fallthrough=] state.m_alphafunc = GL_LESS; radiant/renderstate.cpp:2348:5: note: here case IShader::eGreater: ^~~~ radiant/renderstate.cpp:2349:24: warning: this statement may fall through [-Wimplicit-fallthrough=] state.m_alphafunc = GL_GREATER; radiant/renderstate.cpp:2350:5: note: here case IShader::eLEqual: ^~~~ radiant/renderstate.cpp:2351:24: warning: this statement may fall through [-Wimplicit-fallthrough=] state.m_alphafunc = GL_LEQUAL; radiant/renderstate.cpp:2352:5: note: here case IShader::eGEqual: ^~~~ In file included from radiant/scenegraph.cpp:32: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from include/ientity.h:28, from radiant/selection.cpp:32: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/selection.cpp:34: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ radiant/scenegraph.cpp: In function 'void SceneGraph_Destroy()': radiant/scenegraph.cpp:243:9: warning: deleting object of polymorphic class type 'CompiledGraph' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete g_sceneGraph; ^~~~~~~~~~~~ In file included from radiant/selection.cpp:42: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ radiant/selection.cpp: In function 'void SelectionSystem_Destroy()': radiant/selection.cpp:3407:9: warning: deleting object of polymorphic class type 'RadiantSelectionSystem' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete g_RadiantSelectionSystem; ^~~~~~~~~~~~~~~~~~~~~~~~ radiant/selection.cpp: In member function 'virtual void RadiantWindowObserver::release()': radiant/selection.cpp:3617:9: warning: deleting object of polymorphic class type 'RadiantWindowObserver' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/select.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/select.o c++ radiant/server.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/server.o In file included from radiant/server.cpp:24: radiant/server.cpp: In member function 'virtual void RadiantModuleServer::registerModule(const char*, int, const char*, Module&)': libs/debugging/debugging.h:119:51: warning: the compiler can assume that the address of 'module' will never be NULL [-Waddress] #define ASSERT_NOTNULL( ptr ) ASSERT_MESSAGE( ptr != 0, "pointer \"" # ptr "\" is null" ) libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ radiant/server.cpp:63:2: note: in expansion of macro 'ASSERT_NOTNULL' ASSERT_NOTNULL( &module ); ^~~~~~~~~~~~~~ radiant/server.cpp: In constructor 'DynamicLibraryModule::DynamicLibraryModule(const char*)': radiant/server.cpp:189:111: warning: cast between incompatible function types from 'DynamicLibrary::FunctionPointer' {aka 'int (*)()'} to 'DynamicLibraryModule::RegisterModulesFunc' {aka 'void (*)(ModuleServer&)'} [-Wcast-function-type] m_registerModule = reinterpret_cast( m_library.findSymbol( "Radiant_RegisterModules" ) ); ^ In file included from include/ientity.h:28, from radiant/select.cpp:26: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/shaders.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/shaders.o In file included from radiant/brush.h:52, from radiant/select.cpp:41: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ c++ radiant/sockets.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/sockets.o c++ radiant/stacktrace.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/stacktrace.o c++ radiant/surfacedialog.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/surfacedialog.o In file included from radiant/brush.h:59, from radiant/select.cpp:41: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from radiant/select.cpp:41: radiant/brush.h: In member function 'virtual void Face::SavedState::release()': radiant/brush.h:887:9: warning: deleting object of polymorphic class type 'Face::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'void Face::DecRef()': radiant/brush.h:1036:10: warning: deleting object of polymorphic class type 'Face' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/texmanip.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/texmanip.o c++ radiant/textures.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/textures.o radiant/texmanip.cpp: In function 'void R_ResampleTexture(const void*, int, int, void*, int, int, int)': radiant/texmanip.cpp:126:19: warning: cast from type 'const void*' to type 'byte*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] inrow = (byte *)indata; ^~~~~~ radiant/texmanip.cpp:137:22: warning: cast from type 'const void*' to type 'byte*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] inrow = (byte *)indata + inwidth4 * yi; ^~~~~~ radiant/texmanip.cpp:200:22: warning: cast from type 'const void*' to type 'byte*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] inrow = (byte *)indata + inwidth4 * yi; ^~~~~~ radiant/texmanip.cpp:221:19: warning: cast from type 'const void*' to type 'byte*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] inrow = (byte *)indata; ^~~~~~ radiant/texmanip.cpp:231:22: warning: cast from type 'const void*' to type 'byte*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] inrow = (byte *)indata + inwidth3 * yi; ^~~~~~ radiant/texmanip.cpp:287:22: warning: cast from type 'const void*' to type 'byte*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] inrow = (byte *)indata + inwidth3 * yi; ^~~~~~ radiant/brush.h: In member function 'virtual void Brush::BrushUndoMemento::release()': radiant/brush.h:1798:9: warning: deleting object of polymorphic class type 'Brush::BrushUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/texwindow.h:28, from radiant/select.cpp:45: libs/xml/xmltextags.h: In member function 'xmlXPathObject* XmlTagBuilder::XpathEval(const char*)': libs/xml/xmltextags.h:61:34: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlChar* expression = (xmlChar*)queryString; ^~~~~~~~~~~ c++ radiant/texwindow.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/texwindow.o radiant/textures.cpp: In function 'void Textures_Destroy()': radiant/textures.cpp:796:9: warning: deleting object of polymorphic class type 'TexturesMap' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete g_texturesmap; ^~~~~~~~~~~~~ In file included from radiant/texwindow.h:28, from radiant/texwindow.cpp:28: libs/xml/xmltextags.h: In member function 'xmlXPathObject* XmlTagBuilder::XpathEval(const char*)': libs/xml/xmltextags.h:61:34: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlChar* expression = (xmlChar*)queryString; ^~~~~~~~~~~ In file included from radiant/textures.cpp:33: libs/container/hashfunc.h: In function 'ub4 hash(const ub1*, ub4, ub4, const UB1Traits&, const UB4x1Traits&) [with UB1Traits = ub1_default_traits; UB4x1Traits = ub1x4_default_traits]': libs/container/hashfunc.h:206:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 11: c += ( ( ub4 ) UB1Traits::as_ub1( k[10] ) << 24 ); ^ libs/container/hashfunc.h:207:2: note: here case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^~~~ libs/container/hashfunc.h:207:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^ libs/container/hashfunc.h:208:2: note: here case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^~~~ libs/container/hashfunc.h:208:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^ libs/container/hashfunc.h:210:2: note: here case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^~~~ libs/container/hashfunc.h:210:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^ libs/container/hashfunc.h:211:2: note: here case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^~~~ libs/container/hashfunc.h:211:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^ libs/container/hashfunc.h:212:2: note: here case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^~~~ libs/container/hashfunc.h:212:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^ libs/container/hashfunc.h:213:2: note: here case 5: b += UB1Traits::as_ub1( k[4] ); ^~~~ libs/container/hashfunc.h:213:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: b += UB1Traits::as_ub1( k[4] ); ^ libs/container/hashfunc.h:214:2: note: here case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^~~~ libs/container/hashfunc.h:214:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^ libs/container/hashfunc.h:215:2: note: here case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^~~~ libs/container/hashfunc.h:215:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^ libs/container/hashfunc.h:216:2: note: here case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^~~~ libs/container/hashfunc.h:216:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^ libs/container/hashfunc.h:217:2: note: here case 1: a += UB1Traits::as_ub1( k[0] ); ^~~~ libs/container/hashfunc.h: In function 'ub4 hash(const ub1*, ub4, ub4, const UB1Traits&, const UB4x1Traits&) [with UB1Traits = ub1_nocase_traits; UB4x1Traits = ub1x4_nocase_traits]': libs/container/hashfunc.h:206:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 11: c += ( ( ub4 ) UB1Traits::as_ub1( k[10] ) << 24 ); ^ libs/container/hashfunc.h:207:2: note: here case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^~~~ libs/container/hashfunc.h:207:11: warning: this statement may fall through [-Wimplicit-fallthrough=] case 10: c += ( ( ub4 ) UB1Traits::as_ub1( k[9] ) << 16 ); ^ libs/container/hashfunc.h:208:2: note: here case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^~~~ libs/container/hashfunc.h:208:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 9: c += ( ( ub4 ) UB1Traits::as_ub1( k[8] ) << 8 ); ^ libs/container/hashfunc.h:210:2: note: here case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^~~~ libs/container/hashfunc.h:210:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 8: b += ( ( ub4 ) UB1Traits::as_ub1( k[7] ) << 24 ); ^ libs/container/hashfunc.h:211:2: note: here case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^~~~ libs/container/hashfunc.h:211:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7: b += ( ( ub4 ) UB1Traits::as_ub1( k[6] ) << 16 ); ^ libs/container/hashfunc.h:212:2: note: here case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^~~~ libs/container/hashfunc.h:212:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6: b += ( ( ub4 ) UB1Traits::as_ub1( k[5] ) << 8 ); ^ libs/container/hashfunc.h:213:2: note: here case 5: b += UB1Traits::as_ub1( k[4] ); ^~~~ libs/container/hashfunc.h:213:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: b += UB1Traits::as_ub1( k[4] ); ^ libs/container/hashfunc.h:214:2: note: here case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^~~~ libs/container/hashfunc.h:214:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: a += ( ( ub4 ) UB1Traits::as_ub1( k[3] ) << 24 ); ^ libs/container/hashfunc.h:215:2: note: here case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^~~~ libs/container/hashfunc.h:215:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: a += ( ( ub4 ) UB1Traits::as_ub1( k[2] ) << 16 ); ^ libs/container/hashfunc.h:216:2: note: here case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^~~~ libs/container/hashfunc.h:216:10: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: a += ( ( ub4 ) UB1Traits::as_ub1( k[1] ) << 8 ); ^ libs/container/hashfunc.h:217:2: note: here case 1: a += UB1Traits::as_ub1( k[0] ); ^~~~ In file included from radiant/brush.h:52, from radiant/surfacedialog.cpp:73: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from radiant/texwindow.cpp:43: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h: At global scope: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from radiant/texwindow.cpp:43: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ In file included from include/selectable.h:28, from radiant/brush.h:53, from radiant/surfacedialog.cpp:73: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/brush.h:59, from radiant/surfacedialog.cpp:73: libs/render.h: At global scope: libs/render.h:174:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const RenderIndex find_or_insert( const Vertex& vertex ){ ^~~~~ In file included from radiant/surfacedialog.cpp:73: radiant/brush.h: In member function 'virtual void Face::SavedState::release()': radiant/brush.h:887:9: warning: deleting object of polymorphic class type 'Face::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/brush.h: In member function 'void Face::DecRef()': radiant/brush.h:1036:10: warning: deleting object of polymorphic class type 'Face' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/texwindow.cpp: In function 'void TextureBrowser_assignTags()': radiant/texwindow.cpp:1643:79: warning: cast between incompatible function types from 'gboolean (*)(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, GSList**)' {aka 'int (*)(_GtkTreeModel*, _GtkTreePath*, _GtkTreeIter*, _GSList**)'} to 'GtkTreeSelectionForeachFunc' {aka 'void (*)(_GtkTreeModel*, _GtkTreePath*, _GtkTreeIter*, void*)'} [-Wcast-function-type] gtk_tree_selection_selected_foreach( selection, (GtkTreeSelectionForeachFunc)TextureBrowser_tagMoveHelper, &selected ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ radiant/texwindow.cpp:1679:37: warning: cast between incompatible function types from 'void (*)(GtkTreeRowReference*)' {aka 'void (*)(_GtkTreeRowReference*)'} to 'GFunc' {aka 'void (*)(void*, void*)'} [-Wcast-function-type] g_slist_foreach( selected, (GFunc)gtk_tree_row_reference_free, NULL ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ radiant/texwindow.cpp: In function 'void TextureBrowser_removeTags()': radiant/texwindow.cpp:1694:79: warning: cast between incompatible function types from 'gboolean (*)(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, GSList**)' {aka 'int (*)(_GtkTreeModel*, _GtkTreePath*, _GtkTreeIter*, _GSList**)'} to 'GtkTreeSelectionForeachFunc' {aka 'void (*)(_GtkTreeModel*, _GtkTreePath*, _GtkTreeIter*, void*)'} [-Wcast-function-type] gtk_tree_selection_selected_foreach( selection, (GtkTreeSelectionForeachFunc)TextureBrowser_tagMoveHelper, &selected ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ radiant/texwindow.cpp:1712:37: warning: cast between incompatible function types from 'void (*)(GtkTreeRowReference*)' {aka 'void (*)(_GtkTreeRowReference*)'} to 'GFunc' {aka 'void (*)(void*, void*)'} [-Wcast-function-type] g_slist_foreach( selected, (GFunc)gtk_tree_row_reference_free, NULL ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ radiant/texwindow.cpp: In function 'void TextureBrowser_searchTags()': radiant/texwindow.cpp:1745:79: warning: cast between incompatible function types from 'gboolean (*)(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, GSList**)' {aka 'int (*)(_GtkTreeModel*, _GtkTreePath*, _GtkTreeIter*, _GSList**)'} to 'GtkTreeSelectionForeachFunc' {aka 'void (*)(_GtkTreeModel*, _GtkTreePath*, _GtkTreeIter*, void*)'} [-Wcast-function-type] gtk_tree_selection_selected_foreach( selection, (GtkTreeSelectionForeachFunc)TextureBrowser_tagMoveHelper, &selected ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ radiant/texwindow.cpp:1773:37: warning: cast between incompatible function types from 'void (*)(GtkTreeRowReference*)' {aka 'void (*)(_GtkTreeRowReference*)'} to 'GFunc' {aka 'void (*)(void*, void*)'} [-Wcast-function-type] g_slist_foreach( selected, (GFunc)gtk_tree_row_reference_free, NULL ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ radiant/texwindow.cpp: In function 'void TextureBrowser_shaderInfo()': radiant/texwindow.cpp:2151:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DoShaderInfoDlg( name, shader->getShaderFileName(), "Shader Info" ); ^ radiant/texwindow.cpp: In function 'void TextureBrowser_addTag()': radiant/texwindow.cpp:2159:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] EMessageBoxReturn result = DoShaderTagDlg( &tag, "Add shader tag" ); ^ radiant/texwindow.cpp: In function 'void TextureBrowser_renameTag()': radiant/texwindow.cpp:2191:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] EMessageBoxReturn result = DoShaderTagDlg( &newTag, "Rename shader tag" ); ^ radiant/brush.h: In member function 'virtual void Brush::BrushUndoMemento::release()': radiant/brush.h:1798:9: warning: deleting object of polymorphic class type 'Brush::BrushUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/surfacedialog.cpp:30: libs/traverselib.h: In member function 'virtual void TraversableNodeSet::insert(scene::Node&)': libs/traverselib.h:169:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::insert: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ libs/traverselib.h: In member function 'virtual void TraversableNodeSet::erase(scene::Node&)': libs/traverselib.h:182:24: warning: the compiler can assume that the address of 'node' will never be NULL [-Waddress] ASSERT_MESSAGE( &node != 0, "TraversableNodeSet::erase: sanity check failed" ); ~~~~~~^~~~ libs/debugging/debugging.h:108:11: note: in definition of macro 'ASSERT_MESSAGE' if ( !( condition ) ) \ ^~~~~~~~~ In file included from radiant/surfacedialog.cpp:74: radiant/patch.h: In member function 'virtual void Patch::SavedState::release()': radiant/patch.h:391:9: warning: deleting object of polymorphic class type 'Patch::SavedState' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/timer.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/timer.o radiant/patch.h: In function 'bool Patch_importHeader(Patch&, Tokeniser&)': radiant/patch.h:1007:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "{" ) ); ^ radiant/patch.h: In function 'bool Patch_importParams(Patch&, Tokeniser&)': radiant/patch.h:1048:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ In file included from radiant/surfacedialog.cpp:53: libs/stringio.h:222:79: warning: this 'else' clause does not guard... [-Wmisleading-indentation] #define RETURN_FALSE_IF_FAIL( expression ) if ( !expression ) {return false; }else ^~~~ radiant/patch.h:1048:2: note: in expansion of macro 'RETURN_FALSE_IF_FAIL' RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^~~~~~~~~~~~~~~~~~~~ In file included from radiant/surfacedialog.cpp:74: radiant/patch.h:1051:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ radiant/patch.h:1053:60: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, c ) ); ^ radiant/patch.h:1054:60: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, r ) ); ^ radiant/patch.h:1060:81: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, patch.m_subdivisions_x ) ); ^ radiant/patch.h:1061:81: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getSize( tokeniser, patch.m_subdivisions_y ) ); ^ radiant/patch.h:1066:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, tmp ) ); ^ radiant/patch.h:1067:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, tmp ) ); ^ radiant/patch.h:1068:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getInteger( tokeniser, tmp ) ); ^ radiant/patch.h:1070:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h: In function 'bool Patch_importMatrix(Patch&, Tokeniser&)': radiant/patch.h:1077:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ In file included from radiant/surfacedialog.cpp:53: libs/stringio.h:222:79: warning: this 'else' clause does not guard... [-Wmisleading-indentation] #define RETURN_FALSE_IF_FAIL( expression ) if ( !expression ) {return false; }else ^~~~ radiant/patch.h:1077:2: note: in expansion of macro 'RETURN_FALSE_IF_FAIL' RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^~~~~~~~~~~~~~~~~~~~ In file included from radiant/surfacedialog.cpp:74: radiant/patch.h:1078:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' { ^ radiant/patch.h:1082:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/patch.h:1085:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "(" ) ); ^ radiant/patch.h:1087:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_vertex[0] ) ); ^ radiant/patch.h:1088:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_vertex[1] ) ); ^ radiant/patch.h:1089:93: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_vertex[2] ) ); ^ radiant/patch.h:1090:95: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_texcoord[0] ) ); ^ radiant/patch.h:1091:95: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_getFloat( tokeniser, patch.ctrlAt( r,c ).m_texcoord[1] ) ); ^ radiant/patch.h:1093:67: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h:1095:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h:1099:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, ")" ) ); ^ radiant/patch.h: In function 'bool Patch_importFooter(Patch&, Tokeniser&)': radiant/patch.h:1107:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "}" ) ); ^ radiant/patch.h:1110:64: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Tokeniser_parseToken( tokeniser, "}" ) ); ^ radiant/patch.h: In member function 'virtual bool PatchTokenImporter::importTokens(Tokeniser&)': radiant/patch.h:1121:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importHeader( m_patch, tokeniser ) ); ^ radiant/patch.h:1122:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importShader( m_patch, tokeniser ) ); ^ radiant/patch.h:1123:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importParams( m_patch, tokeniser ) ); ^ radiant/patch.h:1124:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importMatrix( m_patch, tokeniser ) ); ^ radiant/patch.h:1125:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importFooter( m_patch, tokeniser ) ); ^ radiant/patch.h: In member function 'virtual bool PatchDoom3TokenImporter::importTokens(Tokeniser&)': radiant/patch.h:1138:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importHeader( m_patch, tokeniser ) ); ^ radiant/patch.h:1139:71: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( PatchDoom3_importShader( m_patch, tokeniser ) ); ^ radiant/patch.h:1140:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importParams( m_patch, tokeniser ) ); ^ radiant/patch.h:1141:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importMatrix( m_patch, tokeniser ) ); ^ radiant/patch.h:1142:66: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] RETURN_FALSE_IF_FAIL( Patch_importFooter( m_patch, tokeniser ) ); ^ In file included from radiant/texwindow.h:28, from radiant/textureentry.h:34, from radiant/surfacedialog.cpp:78: libs/xml/xmltextags.h: In member function 'xmlXPathObject* XmlTagBuilder::XpathEval(const char*)': libs/xml/xmltextags.h:61:34: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlChar* expression = (xmlChar*)queryString; ^~~~~~~~~~~ c++ radiant/treemodel.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/treemodel.o c++ radiant/undo.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/undo.o radiant/undo.cpp: In member function 'void RadiantUndoSystem::setLevels(std::size_t)': radiant/undo.cpp:257:14: warning: comparison of integer expressions of different signedness: 'std::size_t' {aka 'long unsigned int'} and 'ConstantWrapper::Value' {aka 'int'} [-Wsign-compare] if ( levels > MAX_UNDO_LEVELS() ) { ~~~~~~~^~~~~~~~~~~~~~~~~~~ radiant/undo.cpp: In member function 'virtual void undoable_test::state_type::release()': radiant/undo.cpp:458:10: warning: deleting object of polymorphic class type 'undoable_test::state_type' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ radiant/url.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/url.o In file included from libs/traverselib.h:28, from radiant/patch.h:57, from radiant/surfacedialog.cpp:74: libs/undolib.h: In instantiation of 'void BasicUndoMemento::release() [with Copyable = TraversableNodeSet]': libs/undolib.h:39:6: required from here libs/undolib.h:40:2: warning: deleting object of polymorphic class type 'BasicUndoMemento' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~~~ In file included from radiant/treemodel.cpp:35: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/treemodel.cpp: In function 'GType graph_tree_model_get_type()': radiant/treemodel.cpp:1052:21: warning: cast between incompatible function types from 'void (*)(GraphTreeModelClass*)' to 'GClassInitFunc' {aka 'void (*)(void*, void*)'} [-Wcast-function-type] (GClassInitFunc) graph_tree_model_class_init, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ radiant/treemodel.cpp:1057:24: warning: cast between incompatible function types from 'void (*)(GraphTreeModel*)' to 'GInstanceInitFunc' {aka 'void (*)(_GTypeInstance*, void*)'} [-Wcast-function-type] (GInstanceInitFunc) graph_tree_model_init, ^~~~~~~~~~~~~~~~~~~~~ radiant/treemodel.cpp:1063:25: warning: cast between incompatible function types from 'void (*)(GtkTreeModelIface*)' {aka 'void (*)(_GtkTreeModelIface*)'} to 'GInterfaceInitFunc' {aka 'void (*)(void*, void*)'} [-Wcast-function-type] (GInterfaceInitFunc) graph_tree_model_tree_model_init, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ radiant/view.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/view.o c++ radiant/watchbsp.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/watchbsp.o c++ radiant/winding.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/winding.o c++ radiant/windowobservers.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/windowobservers.o c++ radiant/xmlstuff.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/xmlstuff.o c++ radiant/xywindow.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o radiant/xywindow.o In file included from radiant/watchbsp.cpp:51: radiant/feedback.h: In member function 'virtual void CPointMsg::Release()': radiant/feedback.h:90:9: warning: deleting object of polymorphic class type 'CPointMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/feedback.h: In member function 'virtual void CPointMsg::DecRef()': radiant/feedback.h:106:10: warning: deleting object of polymorphic class type 'CPointMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/feedback.h: In member function 'virtual void CWindingMsg::Release()': radiant/feedback.h:124:9: warning: deleting object of polymorphic class type 'CWindingMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/feedback.h: In member function 'virtual void CWindingMsg::DecRef()': radiant/feedback.h:140:10: warning: deleting object of polymorphic class type 'CWindingMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ c++ libs/gtkutil/accelerator.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/accelerator.o c++ libs/gtkutil/button.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/button.o c++ libs/gtkutil/clipboard.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/clipboard.o c++ libs/gtkutil/closure.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/closure.o c++ libs/gtkutil/container.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/container.o c++ libs/gtkutil/cursor.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/cursor.o c++ libs/gtkutil/dialog.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/dialog.o libs/gtkutil/clipboard.cpp:95:1: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] }; ^ In file included from include/ientity.h:28, from radiant/xywindow.cpp:32: libs/scenelib.h: In member function 'virtual void scene::NullNode::release()': libs/scenelib.h:235:9: warning: deleting object of polymorphic class type 'scene::NullNode' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from radiant/renderer.h:26, from radiant/xywindow.cpp:51: include/renderable.h: At global scope: include/renderable.h:51:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] virtual const EStyle getStyle() const = 0; ^~~~~ In file included from radiant/texwindow.h:28, from radiant/xywindow.cpp:66: libs/xml/xmltextags.h: In member function 'xmlXPathObject* XmlTagBuilder::XpathEval(const char*)': libs/xml/xmltextags.h:61:34: warning: cast from type 'const char*' to type 'xmlChar*' {aka 'unsigned char*'} casts away qualifiers [-Wcast-qual] xmlChar* expression = (xmlChar*)queryString; ^~~~~~~~~~~ In file included from radiant/xywindow.cpp:70: radiant/feedback.h: In member function 'virtual void CPointMsg::Release()': radiant/feedback.h:90:9: warning: deleting object of polymorphic class type 'CPointMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/feedback.h: In member function 'virtual void CPointMsg::DecRef()': radiant/feedback.h:106:10: warning: deleting object of polymorphic class type 'CPointMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/feedback.h: In member function 'virtual void CWindingMsg::Release()': radiant/feedback.h:124:9: warning: deleting object of polymorphic class type 'CWindingMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/feedback.h: In member function 'virtual void CWindingMsg::DecRef()': radiant/feedback.h:140:10: warning: deleting object of polymorphic class type 'CWindingMsg' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ radiant/xywindow.cpp: In function 'unsigned int buttons_for_button_and_modifiers(ButtonIdentifier, ModifierFlags)': radiant/xywindow.cpp:411:9: warning: enumeration value 'INVALID' not handled in switch [-Wswitch] switch ( button.get() ) ^ radiant/xywindow.cpp: At global scope: radiant/xywindow.cpp:2067:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const EStyle getStyle() const { ^~~~~ c++ libs/gtkutil/entry.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/entry.o c++ libs/gtkutil/filechooser.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/filechooser.o c++ libs/gtkutil/frame.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/frame.o c++ libs/gtkutil/glfont.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/glfont.o c++ libs/gtkutil/glwidget.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/glwidget.o c++ libs/gtkutil/idledraw.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/idledraw.o c++ libs/gtkutil/image.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/image.o c++ libs/gtkutil/menu.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/menu.o c++ libs/gtkutil/messagebox.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/messagebox.o c++ libs/gtkutil/nonmodal.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/nonmodal.o c++ libs/gtkutil/paned.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/paned.o c++ libs/gtkutil/pointer.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/pointer.o c++ libs/gtkutil/toolbar.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/toolbar.o c++ libs/gtkutil/widget.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/widget.o libs/gtkutil/image.cpp: In function 'GdkPixbuf* pixbuf_new_from_file_with_mask(const char*)': libs/gtkutil/image.cpp:49:25: warning: 'void gdk_pixbuf_unref(GdkPixbuf*)' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref( rgb ); ^ In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/local/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/local/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/local/include/gtk-2.0/gdk/gdk.h:33, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:34, from /usr/local/include/gtk-2.0/gtk/gtkmisc.h:35, from /usr/local/include/gtk-2.0/gtk/gtkimage.h:36, from libs/gtkutil/image.cpp:24: /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:232:12: note: declared here void gdk_pixbuf_unref (GdkPixbuf *pixbuf); ^~~~~~~~~~~~~~~~ libs/gtkutil/image.cpp:49:25: warning: 'void gdk_pixbuf_unref(GdkPixbuf*)' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref( rgb ); ^ In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/local/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/local/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/local/include/gtk-2.0/gdk/gdk.h:33, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:34, from /usr/local/include/gtk-2.0/gtk/gtkmisc.h:35, from /usr/local/include/gtk-2.0/gtk/gtkimage.h:36, from libs/gtkutil/image.cpp:24: /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:232:12: note: declared here void gdk_pixbuf_unref (GdkPixbuf *pixbuf); ^~~~~~~~~~~~~~~~ libs/gtkutil/image.cpp: In function 'GtkImage* image_new_from_file_with_mask(const char*)': libs/gtkutil/image.cpp:62:26: warning: 'void gdk_pixbuf_unref(GdkPixbuf*)' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref( rgba ); ^ In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/local/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/local/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/local/include/gtk-2.0/gdk/gdk.h:33, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:34, from /usr/local/include/gtk-2.0/gtk/gtkmisc.h:35, from /usr/local/include/gtk-2.0/gtk/gtkimage.h:36, from libs/gtkutil/image.cpp:24: /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:232:12: note: declared here void gdk_pixbuf_unref (GdkPixbuf *pixbuf); ^~~~~~~~~~~~~~~~ libs/gtkutil/image.cpp:62:26: warning: 'void gdk_pixbuf_unref(GdkPixbuf*)' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] gdk_pixbuf_unref( rgba ); ^ In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/local/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/local/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/local/include/gtk-2.0/gdk/gdk.h:33, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:34, from /usr/local/include/gtk-2.0/gtk/gtkmisc.h:35, from /usr/local/include/gtk-2.0/gtk/gtkimage.h:36, from libs/gtkutil/image.cpp:24: /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:232:12: note: declared here void gdk_pixbuf_unref (GdkPixbuf *pixbuf); ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:89, from /usr/local/include/gtk-2.0/gtk/gtkpixmap.h:32, from /usr/local/include/gtk-2.0/gtk/gtktoolbar.h:47, from libs/gtkutil/toolbar.cpp:24: /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ c++ libs/gtkutil/window.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/window.o In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:173, from /usr/local/include/gtk-2.0/gtk/gtkpixmap.h:32, from /usr/local/include/gtk-2.0/gtk/gtktoolbar.h:47, from libs/gtkutil/toolbar.cpp:24: /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/local/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ c++ libs/gtkutil/xorrectangle.cpp -pipe -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -fPIC -Wno-non-virtual-dtor -Wreorder -fno-exceptions -fno-rtti -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -Ilibs -Iinclude -DPOSIX -DXWINDOWS -I/usr/local/include -DRADIANT_VERSION="\"1.5.0n\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"For DragonFly 5.5 (x86_64)\"" -DQ3MAP_VERSION="\"2.5.17n\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -c -o libs/gtkutil/xorrectangle.o ar rc libl_net.a libs/l_net/l_net.o libs/l_net/l_net_berkley.o ranlib libl_net.a ar rc libfilematch.a libs/filematch.o ranlib libfilematch.a ar rc libmathlib.a libs/mathlib/bbox.o libs/mathlib/line.o libs/mathlib/m4x4.o libs/mathlib/mathlib.o libs/mathlib/ray.o ranlib libmathlib.a ar rc libddslib.a libs/ddslib/ddslib.o ranlib libddslib.a ar rc libpicomodel.a libs/picomodel/lwo/clip.o libs/picomodel/lwo/envelope.o libs/picomodel/lwo/list.o libs/picomodel/lwo/lwio.o libs/picomodel/lwo/lwo2.o libs/picomodel/lwo/lwob.o libs/picomodel/lwo/pntspols.o libs/picomodel/lwo/surface.o libs/picomodel/lwo/vecmath.o libs/picomodel/lwo/vmap.o libs/picomodel/picointernal.o libs/picomodel/picomodel.o libs/picomodel/picomodules.o libs/picomodel/pm_3ds.o libs/picomodel/pm_ase.o libs/picomodel/pm_fm.o libs/picomodel/pm_lwo.o libs/picomodel/pm_md2.o libs/picomodel/pm_md3.o libs/picomodel/pm_mdc.o libs/picomodel/pm_ms3d.o libs/picomodel/pm_obj.o libs/picomodel/pm_terrain.o ranlib libpicomodel.a file=install/modules/archivepak.so; mkdir -p ${file%/*} c++ plugins/archivepak/archive.o plugins/archivepak/pak.o plugins/archivepak/plugin.o -L/usr/local/lib -s -fPIC -lpthread -shared -o install/modules/archivepak.so [ -z "ldd " ] || [ -z "`ldd install/modules/archivepak.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/modules/archivepak.so; exit 1; } file=install/modules/archivewad.so; mkdir -p ${file%/*} c++ plugins/archivewad/archive.o plugins/archivewad/plugin.o plugins/archivewad/wad.o -L/usr/local/lib -s -fPIC -lpthread -shared -o install/modules/archivewad.so [ -z "ldd " ] || [ -z "`ldd install/modules/archivewad.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/modules/archivewad.so; exit 1; } file=install/modules/archivezip.so; mkdir -p ${file%/*} c++ plugins/archivezip/archive.o plugins/archivezip/pkzip.o plugins/archivezip/plugin.o plugins/archivezip/zlibstream.o -L/usr/local/lib -s -fPIC -lz -lpthread -shared -o install/modules/archivezip.so [ -z "ldd " ] || [ -z "`ldd install/modules/archivezip.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/modules/archivezip.so; exit 1; } file=install/modules/entity.so; mkdir -p ${file%/*} c++ plugins/entity/angle.o plugins/entity/angles.o plugins/entity/colour.o plugins/entity/doom3group.o plugins/entity/eclassmodel.o plugins/entity/entity.o plugins/entity/filters.o plugins/entity/generic.o plugins/entity/group.o plugins/entity/light.o plugins/entity/miscmodel.o plugins/entity/model.o plugins/entity/modelskinkey.o plugins/entity/namedentity.o plugins/entity/origin.o plugins/entity/plugin.o plugins/entity/rotation.o plugins/entity/scale.o plugins/entity/skincache.o plugins/entity/targetable.o -L/usr/local/lib -s -fPIC -lpthread -shared -o install/modules/entity.so [ -z "ldd " ] || [ -z "`ldd install/modules/entity.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/modules/entity.so; exit 1; } file=install/modules/image.so; mkdir -p ${file%/*} c++ plugins/image/bmp.o plugins/image/dds.o plugins/image/image.o plugins/image/jpeg.o plugins/image/pcx.o plugins/image/tga.o libddslib.a -L/usr/local/lib -s -fPIC -ljpeg -lpthread -shared -o install/modules/image.so [ -z "ldd " ] || [ -z "`ldd install/modules/image.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/modules/image.so; exit 1; } file=install/modules/imagehl.so; mkdir -p ${file%/*} c++ plugins/imagehl/hlw.o plugins/imagehl/imagehl.o plugins/imagehl/mip.o plugins/imagehl/sprite.o -L/usr/local/lib -s -fPIC -lpthread -shared -o install/modules/imagehl.so [ -z "ldd " ] || [ -z "`ldd install/modules/imagehl.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/modules/imagehl.so; exit 1; } file=install/modules/imagepng.so; mkdir -p ${file%/*} c++ plugins/imagepng/plugin.o -L/usr/local/lib -s -fPIC -L/usr/local/lib -lpng16 -lz -lpthread -shared -o install/modules/imagepng.so [ -z "ldd " ] || [ -z "`ldd install/modules/imagepng.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/modules/imagepng.so; exit 1; } file=install/modules/imagewebp.so; mkdir -p ${file%/*} c++ plugins/imagewebp/plugin.o -L/usr/local/lib -s -fPIC -L/usr/local/lib -lwebp -lpthread -shared -o install/modules/imagewebp.so [ -z "ldd " ] || [ -z "`ldd install/modules/imagewebp.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/modules/imagewebp.so; exit 1; } file=install/modules/imageq2.so; mkdir -p ${file%/*} c++ plugins/imageq2/imageq2.o plugins/imageq2/wal32.o plugins/imageq2/wal.o -L/usr/local/lib -s -fPIC -lpthread -shared -o install/modules/imageq2.so [ -z "ldd " ] || [ -z "`ldd install/modules/imageq2.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/modules/imageq2.so; exit 1; } file=install/modules/mapq3.so; mkdir -p ${file%/*} c++ plugins/mapq3/parse.o plugins/mapq3/plugin.o plugins/mapq3/write.o -L/usr/local/lib -s -fPIC -lpthread -shared -o install/modules/mapq3.so [ -z "ldd " ] || [ -z "`ldd install/modules/mapq3.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/modules/mapq3.so; exit 1; } file=install/modules/mapxml.so; mkdir -p ${file%/*} c++ plugins/mapxml/plugin.o plugins/mapxml/xmlparse.o plugins/mapxml/xmlwrite.o -L/usr/local/lib -s -fPIC -L/usr/local/lib -lxml2 -L/usr/local/lib -lglib-2.0 -lintl -lpthread -shared -o install/modules/mapxml.so [ -z "ldd " ] || [ -z "`ldd install/modules/mapxml.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/modules/mapxml.so; exit 1; } file=install/modules/md3model.so; mkdir -p ${file%/*} c++ plugins/md3model/md2.o plugins/md3model/md3.o plugins/md3model/md5.o plugins/md3model/mdc.o plugins/md3model/mdlimage.o plugins/md3model/mdl.o plugins/md3model/plugin.o -L/usr/local/lib -s -fPIC -lpthread -shared -o install/modules/md3model.so file=install/modules/model.so; mkdir -p ${file%/*} c++ plugins/model/model.o plugins/model/plugin.o libpicomodel.a -L/usr/local/lib -s -fPIC -lpthread -shared -o install/modules/model.so [ -z "ldd " ] || [ -z "`ldd install/modules/md3model.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/modules/md3model.so; exit 1; } [ -z "ldd " ] || [ -z "`ldd install/modules/model.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/modules/model.so; exit 1; } file=install/modules/shaders.so; mkdir -p ${file%/*} c++ plugins/shaders/plugin.o plugins/shaders/shaders.o -L/usr/local/lib -s -fPIC -L/usr/local/lib -lglib-2.0 -lintl -lpthread -shared -o install/modules/shaders.so file=install/modules/vfspk3.so; mkdir -p ${file%/*} c++ plugins/vfspk3/archive.o plugins/vfspk3/vfs.o plugins/vfspk3/vfspk3.o libfilematch.a -L/usr/local/lib -s -fPIC -L/usr/local/lib -lglib-2.0 -lintl -lpthread -shared -o install/modules/vfspk3.so [ -z "ldd " ] || [ -z "`ldd install/modules/shaders.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/modules/shaders.so; exit 1; } [ -z "ldd " ] || [ -z "`ldd install/modules/vfspk3.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/modules/vfspk3.so; exit 1; } ar rc libcmdlib.a libs/cmdlib/cmdlib.o ranlib libcmdlib.a ar rc libprofile.a libs/profile/file.o libs/profile/profile.o file=install/plugins/brushexport.so; mkdir -p ${file%/*} ranlib libprofile.a c++ contrib/brushexport/callbacks.o contrib/brushexport/export.o contrib/brushexport/interface.o contrib/brushexport/plugin.o contrib/brushexport/support.o -L/usr/local/lib -s -fPIC -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype -lpthread -shared -o install/plugins/brushexport.so ar rc libxmllib.a libs/xml/ixml.o libs/xml/xmlelement.o libs/xml/xmlparser.o libs/xml/xmltextags.o libs/xml/xmlwriter.o ranlib libxmllib.a file=install/plugins/sunplug.so; mkdir -p ${file%/*} c++ contrib/sunplug/sunplug.o -L/usr/local/lib -s -fPIC -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype -lpthread -shared -o install/plugins/sunplug.so file=install/plugins/ufoaiplug.so; mkdir -p ${file%/*} c++ contrib/ufoaiplug/ufoai_filters.o contrib/ufoaiplug/ufoai_gtk.o contrib/ufoaiplug/ufoai_level.o contrib/ufoaiplug/ufoai.o -L/usr/local/lib -s -fPIC -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype -lpthread -shared -o install/plugins/ufoaiplug.so [ -z "ldd " ] || [ -z "`ldd install/plugins/brushexport.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/plugins/brushexport.so; exit 1; } [ -z "ldd " ] || [ -z "`ldd install/plugins/ufoaiplug.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/plugins/ufoaiplug.so; exit 1; } file=install/q2map.x86_64; mkdir -p ${file%/*} c++ tools/quake2/common/bspfile.o tools/quake2/common/cmdlib.o tools/quake2/common/inout.o tools/quake2/common/l3dslib.o tools/quake2/common/lbmlib.o tools/quake2/common/mathlib.o tools/quake2/common/md4.o tools/quake2/common/path_init.o tools/quake2/common/polylib.o tools/quake2/common/scriplib.o tools/quake2/common/threads.o tools/quake2/common/trilib.o tools/quake2/q2map/brushbsp.o tools/quake2/q2map/csg.o tools/quake2/q2map/faces.o tools/quake2/q2map/flow.o tools/quake2/q2map/glfile.o tools/quake2/q2map/leakfile.o tools/quake2/q2map/lightmap.o tools/quake2/q2map/main.o tools/quake2/q2map/map.o tools/quake2/q2map/nodraw.o tools/quake2/q2map/patches.o tools/quake2/q2map/portals.o tools/quake2/q2map/prtfile.o tools/quake2/q2map/qbsp.o tools/quake2/q2map/qrad.o tools/quake2/q2map/qvis.o tools/quake2/q2map/textures.o tools/quake2/q2map/trace.o tools/quake2/q2map/tree.o tools/quake2/q2map/writebsp.o libl_net.a -L/usr/local/lib -s -L/usr/local/lib -lxml2 -lpthread -o install/q2map.x86_64 [ -z "ldd " ] || [ -z "`ldd install/plugins/sunplug.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/plugins/sunplug.so; exit 1; } file=install/qdata3.x86_64; mkdir -p ${file%/*} c++ tools/quake2/common/bspfile.o tools/quake2/common/cmdlib.o tools/quake2/common/inout.o tools/quake2/common/l3dslib.o tools/quake2/common/lbmlib.o tools/quake2/common/mathlib.o tools/quake2/common/md4.o tools/quake2/common/path_init.o tools/quake2/common/polylib.o tools/quake2/common/scriplib.o tools/quake2/common/threads.o tools/quake2/common/trilib.o tools/quake2/qdata/images.o tools/quake2/qdata/models.o tools/quake2/qdata/qdata.o tools/quake2/qdata/sprites.o tools/quake2/qdata/tables.o tools/quake2/qdata/video.o libl_net.a -L/usr/local/lib -s -L/usr/local/lib -lxml2 -lpthread -o install/qdata3.x86_64 [ -z "ldd " ] || [ -z "`ldd install/q2map.x86_64 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/q2map.x86_64; exit 1; } file=install/heretic2/h2data.x86_64; mkdir -p ${file%/*} c++ tools/quake2/qdata_heretic2/common/bspfile.o tools/quake2/qdata_heretic2/common/cmdlib.o tools/quake2/qdata_heretic2/common/inout.o tools/quake2/qdata_heretic2/common/l3dslib.o tools/quake2/qdata_heretic2/common/lbmlib.o tools/quake2/qdata_heretic2/common/mathlib.o tools/quake2/qdata_heretic2/common/md4.o tools/quake2/qdata_heretic2/common/path_init.o tools/quake2/qdata_heretic2/common/qfiles.o tools/quake2/qdata_heretic2/common/scriplib.o tools/quake2/qdata_heretic2/common/threads.o tools/quake2/qdata_heretic2/common/token.o tools/quake2/qdata_heretic2/common/trilib.o tools/quake2/qdata_heretic2/qcommon/reference.o tools/quake2/qdata_heretic2/qcommon/resourcemanager.o tools/quake2/qdata_heretic2/qcommon/skeletons.o tools/quake2/qdata_heretic2/animcomp.o tools/quake2/qdata_heretic2/book.o tools/quake2/qdata_heretic2/fmodels.o tools/quake2/qdata_heretic2/images.o tools/quake2/qdata_heretic2/jointed.o tools/quake2/qdata_heretic2/models.o tools/quake2/qdata_heretic2/pics.o tools/quake2/qdata_heretic2/qdata.o tools/quake2/qdata_heretic2/qd_skeletons.o tools/quake2/qdata_heretic2/sprites.o tools/quake2/qdata_heretic2/svdcmp.o tools/quake2/qdata_heretic2/tables.o tools/quake2/qdata_heretic2/tmix.o tools/quake2/qdata_heretic2/video.o libl_net.a -L/usr/local/lib -s -L/usr/local/lib -lxml2 -lpthread -o install/heretic2/h2data.x86_64 file=install/q3data.x86_64; mkdir -p ${file%/*} c++ tools/quake3/common/aselib.o tools/quake3/common/bspfile.o tools/quake3/common/cmdlib.o tools/quake3/common/imagelib.o tools/quake3/common/inout.o tools/quake3/common/md4.o tools/quake3/common/scriplib.o tools/quake3/common/trilib.o tools/quake3/common/unzip.o tools/quake3/common/vfs.o tools/quake3/q3data/3dslib.o tools/quake3/q3data/compress.o tools/quake3/q3data/images.o tools/quake3/q3data/md3lib.o tools/quake3/q3data/models.o tools/quake3/q3data/p3dlib.o tools/quake3/q3data/polyset.o tools/quake3/q3data/q3data.o tools/quake3/q3data/stripper.o tools/quake3/q3data/video.o libfilematch.a libl_net.a libmathlib.a -L/usr/local/lib -s -L/usr/local/lib -lxml2 -L/usr/local/lib -lglib-2.0 -lintl -lz -lpthread -o install/q3data.x86_64 [ -z "ldd " ] || [ -z "`ldd install/qdata3.x86_64 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/qdata3.x86_64; exit 1; } [ -z "ldd " ] || [ -z "`ldd install/heretic2/h2data.x86_64 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/heretic2/h2data.x86_64; exit 1; } file=install/q3map2.x86_64; mkdir -p ${file%/*} c++ tools/quake3/common/cmdlib.o tools/quake3/common/imagelib.o tools/quake3/common/inout.o tools/quake3/common/jpeg.o tools/quake3/common/md4.o tools/quake3/common/mutex.o tools/quake3/common/polylib.o tools/quake3/common/scriplib.o tools/quake3/common/threads.o tools/quake3/common/unzip.o tools/quake3/common/vfs.o tools/quake3/q3map2/brush.o tools/quake3/q3map2/brush_primit.o tools/quake3/q3map2/bspfile_abstract.o tools/quake3/q3map2/bspfile_ibsp.o tools/quake3/q3map2/bspfile_rbsp.o tools/quake3/q3map2/bsp.o tools/quake3/q3map2/convert_ase.o tools/quake3/q3map2/convert_obj.o tools/quake3/q3map2/convert_map.o tools/quake3/q3map2/decals.o tools/quake3/q3map2/facebsp.o tools/quake3/q3map2/fog.o tools/quake3/q3map2/image.o tools/quake3/q3map2/leakfile.o tools/quake3/q3map2/light_bounce.o tools/quake3/q3map2/lightmaps_ydnar.o tools/quake3/q3map2/light.o tools/quake3/q3map2/light_trace.o tools/quake3/q3map2/light_ydnar.o tools/quake3/q3map2/main.o tools/quake3/q3map2/map.o tools/quake3/q3map2/mesh.o tools/quake3/q3map2/model.o tools/quake3/q3map2/patch.o tools/quake3/q3map2/path_init.o tools/quake3/q3map2/portals.o tools/quake3/q3map2/prtfile.o tools/quake3/q3map2/shaders.o tools/quake3/q3map2/surface_extra.o tools/quake3/q3map2/surface_foliage.o tools/quake3/q3map2/surface_fur.o tools/quake3/q3map2/surface_meta.o tools/quake3/q3map2/surface.o tools/quake3/q3map2/tjunction.o tools/quake3/q3map2/tree.o tools/quake3/q3map2/visflow.o tools/quake3/q3map2/vis.o tools/quake3/q3map2/writebsp.o libddslib.a libfilematch.a libl_net.a libmathlib.a libpicomodel.a -L/usr/local/lib -s -L/usr/local/lib -lxml2 -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -lpng16 -lz -ljpeg -L/usr/local/lib -lwebp -lz -lpthread -o install/q3map2.x86_64 [ -z "ldd " ] || [ -z "`ldd install/q3data.x86_64 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/q3data.x86_64; exit 1; } file=install/plugins/bobtoolz.so; mkdir -p ${file%/*} c++ contrib/bobtoolz/bobToolz-GTK.o contrib/bobtoolz/bsploader.o contrib/bobtoolz/cportals.o contrib/bobtoolz/DBobView.o contrib/bobtoolz/DBrush.o contrib/bobtoolz/DEntity.o contrib/bobtoolz/DEPair.o contrib/bobtoolz/dialogs/dialogs-gtk.o contrib/bobtoolz/DMap.o contrib/bobtoolz/DPatch.o contrib/bobtoolz/DPlane.o contrib/bobtoolz/DPoint.o contrib/bobtoolz/DShape.o contrib/bobtoolz/DTrainDrawer.o contrib/bobtoolz/DTreePlanter.o contrib/bobtoolz/DVisDrawer.o contrib/bobtoolz/DWinding.o contrib/bobtoolz/funchandlers-GTK.o contrib/bobtoolz/lists.o contrib/bobtoolz/misc.o contrib/bobtoolz/ScriptParser.o contrib/bobtoolz/shapes.o contrib/bobtoolz/visfind.o libcmdlib.a libmathlib.a libprofile.a -L/usr/local/lib -s -fPIC -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype -lpthread -shared -o install/plugins/bobtoolz.so file=install/plugins/prtview.so; mkdir -p ${file%/*} c++ contrib/prtview/AboutDialog.o contrib/prtview/ConfigDialog.o contrib/prtview/LoadPortalFileDialog.o contrib/prtview/portals.o contrib/prtview/prtview.o libprofile.a -L/usr/local/lib -s -fPIC -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype -lpthread -shared -o install/plugins/prtview.so [ -z "ldd " ] || [ -z "`ldd install/q3map2.x86_64 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/q3map2.x86_64; exit 1; } [ -z "ldd " ] || [ -z "`ldd install/plugins/bobtoolz.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/plugins/bobtoolz.so; exit 1; } file=install/plugins/shaderplug.so; mkdir -p ${file%/*} c++ contrib/shaderplug/shaderplug.o libxmllib.a -L/usr/local/lib -s -fPIC -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype -L/usr/local/lib -lxml2 -lpthread -shared -o install/plugins/shaderplug.so [ -z "ldd " ] || [ -z "`ldd install/plugins/prtview.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/plugins/prtview.so; exit 1; } ar rc libgtkutil.a libs/gtkutil/accelerator.o libs/gtkutil/button.o libs/gtkutil/clipboard.o libs/gtkutil/closure.o libs/gtkutil/container.o libs/gtkutil/cursor.o libs/gtkutil/dialog.o libs/gtkutil/entry.o libs/gtkutil/filechooser.o libs/gtkutil/frame.o libs/gtkutil/glfont.o libs/gtkutil/glwidget.o libs/gtkutil/idledraw.o libs/gtkutil/image.o libs/gtkutil/menu.o libs/gtkutil/messagebox.o libs/gtkutil/nonmodal.o libs/gtkutil/paned.o libs/gtkutil/pointer.o libs/gtkutil/toolbar.o libs/gtkutil/widget.o libs/gtkutil/window.o libs/gtkutil/xorrectangle.o [ -z "ldd " ] || [ -z "`ldd install/plugins/shaderplug.so 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/plugins/shaderplug.so; exit 1; } ranlib libgtkutil.a radiant/xywindow.cpp: In member function 'void XYWnd::XY_LoadBackgroundImage(const char*)': radiant/xywindow.cpp:1472:45: warning: 'm_iy' may be used uninitialized in this function [-Wmaybe-uninitialized] g_pParentWnd->ActiveXY()->m_ymin = min[m_iy]; ^ radiant/xywindow.cpp:1471:45: warning: 'm_ix' may be used uninitialized in this function [-Wmaybe-uninitialized] g_pParentWnd->ActiveXY()->m_xmin = min[m_ix]; ^ file=install/radiant.x86_64; mkdir -p ${file%/*} c++ radiant/autosave.o radiant/brushmanip.o radiant/brushmodule.o radiant/brushnode.o radiant/brush.o radiant/brush_primit.o radiant/brushtokens.o radiant/brushxml.o radiant/build.o radiant/camwindow.o radiant/clippertool.o radiant/commands.o radiant/console.o radiant/csg.o radiant/dialog.o radiant/eclass_def.o radiant/eclass_doom3.o radiant/eclass_fgd.o radiant/eclass.o radiant/eclass_xml.o radiant/entityinspector.o radiant/entitylist.o radiant/entity.o radiant/environment.o radiant/error.o radiant/feedback.o radiant/filetypes.o radiant/filters.o radiant/findtexturedialog.o radiant/glwidget.o radiant/grid.o radiant/groupdialog.o radiant/gtkdlgs.o radiant/gtkmisc.o radiant/help.o radiant/image.o radiant/mainframe.o radiant/main.o radiant/map.o radiant/mru.o radiant/nullmodel.o radiant/parse.o radiant/patchdialog.o radiant/patchmanip.o radiant/patchmodule.o radiant/patch.o radiant/pluginapi.o radiant/pluginmanager.o radiant/pluginmenu.o radiant/plugin.o radiant/plugintoolbar.o radiant/points.o radiant/preferencedictionary.o radiant/preferences.o radiant/qe3.o radiant/qgl.o radiant/referencecache.o radiant/renderer.o radiant/renderstate.o radiant/scenegraph.o radiant/selection.o radiant/select.o radiant/server.o radiant/shaders.o radiant/sockets.o radiant/stacktrace.o radiant/surfacedialog.o radiant/texmanip.o radiant/textures.o radiant/texwindow.o radiant/timer.o radiant/treemodel.o radiant/undo.o radiant/url.o radiant/view.o radiant/watchbsp.o radiant/winding.o radiant/windowobservers.o radiant/xmlstuff.o radiant/xywindow.o libcmdlib.a libgtkutil.a libl_net.a libmathlib.a libprofile.a libxmllib.a -L/usr/local/lib -s -lGL -L/usr/local/lib -lxml2 -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype -L/usr/local/lib -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lpangox-1.0 -lX11 -lgmodule-2.0 -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype -lz -L/usr/local/lib -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype -lpthread -o install/radiant.x86_64 [ -z "ldd " ] || [ -z "`ldd install/radiant.x86_64 2>&1 1>/dev/null | tee /dev/stderr`" ] || { rm -f install/radiant.x86_64; exit 1; } mkdir -p install/games find install/ -name .svn -exec rm -f -r {} \; -prune No DLL inclusion implemented for this target. [ "DragonFly" != "Darwin" ] || cp -r setup/data/osx/NetRadiant.app/* install/NetRadiant.app/ DOWNLOAD_GAMEPACKS="no" GIT="git" SVN="svn" WGET="wget" RM_R="rm -f -r" MV="mv" UNZIPPER="unzip" ECHO="echo" SH="/bin/sh" CP="cp" CP_R="cp -r" /bin/sh install-gamepacks.sh "install" + : cp + : cp -r + pack=games/DarkPlacesPack + dest=install + [ -d games/DarkPlacesPack/tools ] + [ xgames/DarkPlacesPack/games/darkplaces.game '!=' 'xgames/DarkPlacesPack/games/*.game' ] + cp games/DarkPlacesPack/games/darkplaces.game install/games/ + [ xgames/DarkPlacesPack/darkplaces.game '!=' 'xgames/DarkPlacesPack/*.game' ] + cp -r games/DarkPlacesPack/darkplaces.game install/ + : cp + : cp -r + pack=games/NexuizPack + dest=install + [ -d games/NexuizPack/tools ] + [ xgames/NexuizPack/games/nexuiz.game '!=' 'xgames/NexuizPack/games/*.game' ] + cp games/NexuizPack/games/nexuiz.game install/games/ + [ xgames/NexuizPack/nexuiz.game '!=' 'xgames/NexuizPack/*.game' ] + cp -r games/NexuizPack/nexuiz.game install/ + : cp + : cp -r + pack=games/OsirionPack + dest=install + [ -d games/OsirionPack/tools ] + [ xgames/OsirionPack/games/osirion.game '!=' 'xgames/OsirionPack/games/*.game' ] + cp games/OsirionPack/games/osirion.game install/games/ + [ xgames/OsirionPack/osirion.game '!=' 'xgames/OsirionPack/*.game' ] + cp -r games/OsirionPack/osirion.game install/ + : cp + : cp -r + pack=games/QuakePack + dest=install + [ -d games/QuakePack/tools ] + [ xgames/QuakePack/games/q1.game '!=' 'xgames/QuakePack/games/*.game' ] + cp games/QuakePack/games/q1.game install/games/ + [ xgames/QuakePack/q1.game '!=' 'xgames/QuakePack/*.game' ] + cp -r games/QuakePack/q1.game install/ + : cp + : cp -r + pack=games/WarsowPack + dest=install + [ -d games/WarsowPack/tools ] + [ xgames/WarsowPack/games/warsow.game '!=' 'xgames/WarsowPack/games/*.game' ] + cp games/WarsowPack/games/warsow.game install/games/ + [ xgames/WarsowPack/warsow.game '!=' 'xgames/WarsowPack/*.game' ] + cp -r games/WarsowPack/warsow.game install/ + : cp + : cp -r + pack=games/XonoticPack + dest=install + [ -d games/XonoticPack/tools ] + [ xgames/XonoticPack/games/xonotic.game '!=' 'xgames/XonoticPack/games/*.game' ] + cp games/XonoticPack/games/xonotic.game install/games/ + [ xgames/XonoticPack/xonotic.game '!=' 'xgames/XonoticPack/*.game' ] + cp -r games/XonoticPack/xonotic.game install/ echo 0 > install/RADIANT_MINOR echo 5 > install/RADIANT_MAJOR cp -r setup/data/tools/* install/ mkdir -p install/docs cp -r docs/* install/docs/ find install/ -name .svn -exec rm -f -r {} \; -prune gmake[2]: Leaving directory '/construction/games/netradiant/netradiant-20130630-src' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for netradiant-20130630_8 ===> Generating temporary packing list /bin/cp -a /construction/games/netradiant/netradiant-20130630-src/install/* /construction/games/netradiant/stage/usr/local/share/netradiant install -m 555 /construction/games/netradiant/netradiant /construction/games/netradiant/stage/usr/local/bin install -m 444 /distfiles/q3map2.6 /construction/games/netradiant/stage/usr/local/man/man6 ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for netradiant-20130630_8 file sizes/checksums [176]: .. done packing files [176]: .. done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 08:45:07 UTC Duration: 00:04:44