=>> Building games/ufoai build started at Sun Sep 8 19:11:19 CEST 2019 port directory: /usr/ports/games/ufoai package name: ufoai-2.5_9 building for: FreeBSD 120amd64-120amd64-job-02 12.0-RELEASE FreeBSD 12.0-RELEASE amd64 maintained by: m.tsatsenko@gmail.com Makefile ident: Poudriere version: 3.3.99.20190803 Host OSVERSION: 1300036 Jail OSVERSION: 1200086 Job Id: 02 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200086 UNAME_v=FreeBSD 12.0-RELEASE UNAME_r=12.0-RELEASE BLOCKSIZE=K MAIL=/var/mail/root WARNING_WAIT=0 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.3.99.20190803 MASTERMNT=/poudriere/data/.m/120amd64-120amd64/ref DEV_WARNING_WAIT=0 POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen-256color GID=0 UID=0 PWD=/poudriere/data/.m/120amd64-120amd64/ref/.p/pool NO_WARNING_PKG_INSTALL_EOL=yes P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=120amd64-120amd64 SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/poudriere/data/.m/120amd64-120amd64/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for ufoai-2.5_9: SERVER=on: Install dedicated server UFO2MAP=on: Install UFO tools UFORADIANT=off: Install UFO map editor ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- m.tsatsenko@gmail.com --End MAINTAINER-- --CONFIGURE_ARGS-- --enable-release --target-os=freebsd --enable-ufoded --enable-ufo2map --disable-uforadiant --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.6" SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/ufoai/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/ufoai/work HOME=/wrkdirs/usr/ports/games/ufoai/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/ufoai/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/ufoai/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/ufoai/work HOME=/wrkdirs/usr/ports/games/ufoai/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/ufoai/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -lpthread -lexecinfo -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 " 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" --End MAKE_ENV-- --PLIST_SUB-- UFOSERVER="" UFO2MAP="" UFORADIANT="@comment " PYTHON_INCLUDEDIR=include/python3.6m PYTHON_LIBDIR=lib/python3.6 PYTHON_PLATFORM=freebsd12 PYTHON_SITELIBDIR=lib/python3.6/site-packages PYTHON_SUFFIX=36 PYTHON_VER=3.6 PYTHON_VERSION=python3.6 PYTHON2="@comment " PYTHON3="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ufoai" EXAMPLESDIR="share/examples/ufoai" DATADIR="share/ufoai" WWWDIR="www/ufoai" ETCDIR="etc/ufoai" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=share/ufoai DOCSDIR=/usr/local/share/doc/ufoai EXAMPLESDIR=/usr/local/share/examples/ufoai WWWDIR=/usr/local/www/ufoai ETCDIR=/usr/local/etc/ufoai --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### /usr/local/etc/poudriere.d/default-make.conf #### BUILD_ALL_PYTHON_FLAVORS= yes LICENSES_ACCEPTED= SDL NONE UNKNOWN AnotherHTMLlint #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=12.0-RELEASE OSREL=12.0 OSVERSION=1200086 PYTHONBASE=/usr/local HAVE_COMPAT_IA32_KERN=YES _SMP_CPUS=3 CONFIGURE_MAX_CMD_LEN=262144 HAVE_PORTS_ENV=1 #### Misc Poudriere #### DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 14029 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== /!\ ufoai-2.5_9: Makefile warnings, please consider fixing /!\ Using USE_GL alone is deprecated, please add USES=gl. Using USE_SDL alone is deprecated, please add USES=sdl. USE_GL=yes is deprecated, please add USE_GL=glu (default) or specify component Using USE_XORG alone is deprecated, please use USES=xorg Please set LICENSE for this port =========================================================================== =================================================== ===> ufoai-2.5_9 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz [120amd64-120amd64-job-02] Installing pkg-1.11.1... [120amd64-120amd64-job-02] Extracting pkg-1.11.1: .......... done ===> ufoai-2.5_9 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ufoai-2.5_9 =========================================================================== =================================================== =========================================================================== =================================================== ===> ufoai-2.5_9 depends on file: /usr/local/sbin/pkg - found => ufoai-2.5-source.tar.bz2 doesn't seem to exist in /portdistfiles/ufoai. => Attempting to fetch https://downloads.sourceforge.net/project/ufoai/UFO_AI%202.x/2.5/ufoai-2.5-source.tar.bz2 ufoai-2.5-source.tar.bz2 23 MB 1883 kBps 13s ===> Fetching all distfiles required by ufoai-2.5_9 for building =========================================================================== =================================================== ===> ufoai-2.5_9 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ufoai-2.5_9 for building => SHA256 Checksum OK for ufoai/ufoai-2.5-source.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> ufoai-2.5_9 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ufoai-2.5_9 for building ===> Extracting for ufoai-2.5_9 => SHA256 Checksum OK for ufoai/ufoai-2.5-source.tar.bz2. /usr/bin/sed -i.bak -e 's|DEFAULT_COMPILER_CC=cc|DEFAULT_COMPILER_CC=cc|' -e 's|DEFAULT_COMPILER_CXX=c++|DEFAULT_COMPILER_CXX=c++|' /wrkdirs/usr/ports/games/ufoai/work/ufoai-2.5-source/configure /usr/bin/sed -i.bak -e 's|-falign-loops=2 -falign-jumps=2 -falign-functions=2||' /wrkdirs/usr/ports/games/ufoai/work/ufoai-2.5-source/build/modes/release.mk =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for ufoai-2.5_9 ===> Applying FreeBSD patches for ufoai-2.5_9 =========================================================================== =================================================== ===> ufoai-2.5_9 depends on executable: zip - not found ===> Installing existing package /packages/All/zip-3.0_1.txz [120amd64-120amd64-job-02] Installing zip-3.0_1... [120amd64-120amd64-job-02] Extracting zip-3.0_1: .......... done ===> ufoai-2.5_9 depends on executable: zip - found ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on executable: msgfmt - not found ===> Installing existing package /packages/All/gettext-tools-0.20.1_1.txz [120amd64-120amd64-job-02] Installing gettext-tools-0.20.1_1... [120amd64-120amd64-job-02] `-- Installing gettext-runtime-0.20.1... [120amd64-120amd64-job-02] | `-- Installing indexinfo-0.3.1... [120amd64-120amd64-job-02] | `-- Extracting indexinfo-0.3.1: .... done [120amd64-120amd64-job-02] `-- Extracting gettext-runtime-0.20.1: .......... done [120amd64-120amd64-job-02] `-- Installing libtextstyle-0.20.1... [120amd64-120amd64-job-02] `-- Extracting libtextstyle-0.20.1: .......... done [120amd64-120amd64-job-02] Extracting gettext-tools-0.20.1_1: .......... done ===> ufoai-2.5_9 depends on executable: msgfmt - found ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz [120amd64-120amd64-job-02] Installing gmake-4.2.1_3... [120amd64-120amd64-job-02] Extracting gmake-4.2.1_3: .......... done ===> ufoai-2.5_9 depends on executable: gmake - found ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-1.6.3,1.txz [120amd64-120amd64-job-02] Installing pkgconf-1.6.3,1... [120amd64-120amd64-job-02] Extracting pkgconf-1.6.3,1: .......... done ===> ufoai-2.5_9 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on file: /usr/local/bin/python3.6 - not found ===> Installing existing package /packages/All/python36-3.6.9.txz [120amd64-120amd64-job-02] Installing python36-3.6.9... [120amd64-120amd64-job-02] `-- Installing libffi-3.2.1_3... [120amd64-120amd64-job-02] `-- Extracting libffi-3.2.1_3: .......... done [120amd64-120amd64-job-02] `-- Installing readline-8.0.0... [120amd64-120amd64-job-02] `-- Extracting readline-8.0.0: .......... done [120amd64-120amd64-job-02] Extracting python36-3.6.9: .......... done Message from python36-3.6.9: 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 ===> ufoai-2.5_9 depends on file: /usr/local/bin/python3.6 - found ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_14,2.txz [120amd64-120amd64-job-02] Installing sdl-1.2.15_14,2... [120amd64-120amd64-job-02] `-- Installing aalib-1.4.r5_13... [120amd64-120amd64-job-02] `-- Extracting aalib-1.4.r5_13: .......... done [120amd64-120amd64-job-02] `-- Installing libGLU-9.0.0_3... [120amd64-120amd64-job-02] | `-- Installing mesa-libs-18.3.2_1... [120amd64-120amd64-job-02] | | `-- Installing expat-2.2.6_1... [120amd64-120amd64-job-02] | | `-- Extracting expat-2.2.6_1: .......... done [120amd64-120amd64-job-02] | | `-- Installing libX11-1.6.8,1... [120amd64-120amd64-job-02] | | `-- Installing libXau-1.0.9... [120amd64-120amd64-job-02] | | `-- Extracting libXau-1.0.9: .......... done [120amd64-120amd64-job-02] | | `-- Installing libXdmcp-1.1.3... [120amd64-120amd64-job-02] | | | `-- Installing xorgproto-2019.1... [120amd64-120amd64-job-02] | | | `-- Extracting xorgproto-2019.1: .......... done [120amd64-120amd64-job-02] | | `-- Extracting libXdmcp-1.1.3: ......... done [120amd64-120amd64-job-02] | | `-- Installing libxcb-1.13.1... [120amd64-120amd64-job-02] | | | `-- Installing libpthread-stubs-0.4... [120amd64-120amd64-job-02] | | | `-- Extracting libpthread-stubs-0.4: .... done [120amd64-120amd64-job-02] | | | `-- Installing libxml2-2.9.9... [120amd64-120amd64-job-02] | | | `-- Extracting libxml2-2.9.9: .......... done [120amd64-120amd64-job-02] | | `-- Extracting libxcb-1.13.1: .......... done [120amd64-120amd64-job-02] | | `-- Extracting libX11-1.6.8,1: .......... done [120amd64-120amd64-job-02] | | `-- Installing libXdamage-1.1.5... [120amd64-120amd64-job-02] | | `-- Installing libXfixes-5.0.3_2... [120amd64-120amd64-job-02] | | `-- Extracting libXfixes-5.0.3_2: .......... done [120amd64-120amd64-job-02] | | `-- Extracting libXdamage-1.1.5: ......... done [120amd64-120amd64-job-02] | | `-- Installing libXext-1.3.4,1... [120amd64-120amd64-job-02] | | `-- Extracting libXext-1.3.4,1: .......... done [120amd64-120amd64-job-02] | | `-- Installing libXxf86vm-1.1.4_3... [120amd64-120amd64-job-02] | | `-- Extracting libXxf86vm-1.1.4_3: .......... done [120amd64-120amd64-job-02] | | `-- Installing libdrm-2.4.99,1... [120amd64-120amd64-job-02] | | `-- Installing libpciaccess-0.16... [120amd64-120amd64-job-02] | | | `-- Installing pciids-20190725... [120amd64-120amd64-job-02] | | | `-- Extracting pciids-20190725: ..... done [120amd64-120amd64-job-02] | | `-- Extracting libpciaccess-0.16: ......... done [120amd64-120amd64-job-02] | | `-- Extracting libdrm-2.4.99,1: .......... done [120amd64-120amd64-job-02] | | `-- Installing libunwind-20170615... [120amd64-120amd64-job-02] | | `-- Extracting libunwind-20170615: .......... done [120amd64-120amd64-job-02] | | `-- Installing libxshmfence-1.3... [120amd64-120amd64-job-02] | | `-- Extracting libxshmfence-1.3: ......... done [120amd64-120amd64-job-02] | | `-- Installing wayland-1.16.0_1... [120amd64-120amd64-job-02] | | `-- Installing libepoll-shim-0.0.20190311... [120amd64-120amd64-job-02] | | `-- Extracting libepoll-shim-0.0.20190311: .......... done [120amd64-120amd64-job-02] | | `-- Extracting wayland-1.16.0_1: .......... done [120amd64-120amd64-job-02] | `-- Extracting mesa-libs-18.3.2_1: .......... done [120amd64-120amd64-job-02] `-- Extracting libGLU-9.0.0_3: ...... done [120amd64-120amd64-job-02] `-- Installing libXrandr-1.5.2... [120amd64-120amd64-job-02] | `-- Installing libXrender-0.9.10_2... [120amd64-120amd64-job-02] | `-- Extracting libXrender-0.9.10_2: .......... done [120amd64-120amd64-job-02] `-- Extracting libXrandr-1.5.2: .......... done [120amd64-120amd64-job-02] Extracting sdl-1.2.15_14,2: .......... done Message from aalib-1.4.r5_13: ===> NOTICE: The aalib 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 Message from sdl-1.2.15_14,2: Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". ===> ufoai-2.5_9 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on package: xorgproto>=0 - found =========================================================================== =================================================== ===> ufoai-2.5_9 depends on shared library: libvorbis.so - not found ===> Installing existing package /packages/All/libvorbis-1.3.6,3.txz [120amd64-120amd64-job-02] Installing libvorbis-1.3.6,3... [120amd64-120amd64-job-02] `-- Installing libogg-1.3.4,4... [120amd64-120amd64-job-02] `-- Extracting libogg-1.3.4,4: .......... done [120amd64-120amd64-job-02] Extracting libvorbis-1.3.6,3: .......... done ===> ufoai-2.5_9 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on shared library: libpng.so - not found ===> Installing existing package /packages/All/png-1.6.37.txz [120amd64-120amd64-job-02] Installing png-1.6.37... [120amd64-120amd64-job-02] Extracting png-1.6.37: .......... done ===> ufoai-2.5_9 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on shared library: libcurl.so - not found ===> Installing existing package /packages/All/curl-7.65.3.txz [120amd64-120amd64-job-02] Installing curl-7.65.3... [120amd64-120amd64-job-02] `-- Installing ca_root_nss-3.46... [120amd64-120amd64-job-02] `-- Extracting ca_root_nss-3.46: ........ done [120amd64-120amd64-job-02] `-- Installing libnghttp2-1.39.2... [120amd64-120amd64-job-02] `-- Extracting libnghttp2-1.39.2: .......... done [120amd64-120amd64-job-02] Extracting curl-7.65.3: .......... done Message from ca_root_nss-3.46: 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. 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 ===> ufoai-2.5_9 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on shared library: libtheora.so - not found ===> Installing existing package /packages/All/libtheora-1.1.1_7.txz [120amd64-120amd64-job-02] Installing libtheora-1.1.1_7... [120amd64-120amd64-job-02] Extracting libtheora-1.1.1_7: .......... done ===> ufoai-2.5_9 depends on shared library: libtheora.so - found (/usr/local/lib/libtheora.so) ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on shared library: libxvidcore.so - not found ===> Installing existing package /packages/All/xvid-1.3.5,1.txz [120amd64-120amd64-job-02] Installing xvid-1.3.5,1... [120amd64-120amd64-job-02] Extracting xvid-1.3.5,1: ........ done ===> ufoai-2.5_9 depends on shared library: libxvidcore.so - found (/usr/local/lib/libxvidcore.so) ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on shared library: libmxml.so - not found ===> Installing existing package /packages/All/mxml-3.1.txz [120amd64-120amd64-job-02] Installing mxml-3.1... [120amd64-120amd64-job-02] Extracting mxml-3.1: .......... done ===> ufoai-2.5_9 depends on shared library: libmxml.so - found (/usr/local/lib/libmxml.so) ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> ufoai-2.5_9 depends on shared library: libjpeg.so - not found ===> Installing existing package /packages/All/jpeg-turbo-2.0.2.txz [120amd64-120amd64-job-02] Installing jpeg-turbo-2.0.2... [120amd64-120amd64-job-02] Extracting jpeg-turbo-2.0.2: .......... done ===> ufoai-2.5_9 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on shared library: libopenal.so.1 - not found ===> Installing existing package /packages/All/openal-soft-1.19.1_3.txz [120amd64-120amd64-job-02] Installing openal-soft-1.19.1_3... [120amd64-120amd64-job-02] Extracting openal-soft-1.19.1_3: .......... done ===> ufoai-2.5_9 depends on shared library: libopenal.so.1 - found (/usr/local/lib/libopenal.so.1) ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> ufoai-2.5_9 depends on shared library: libSDL_image.so - not found ===> Installing existing package /packages/All/sdl_image-1.2.12_12.txz [120amd64-120amd64-job-02] Installing sdl_image-1.2.12_12... [120amd64-120amd64-job-02] `-- Installing tiff-4.0.10_1... [120amd64-120amd64-job-02] | `-- Installing jbigkit-2.1_1... [120amd64-120amd64-job-02] | `-- Extracting jbigkit-2.1_1: .......... done [120amd64-120amd64-job-02] `-- Extracting tiff-4.0.10_1: .......... done [120amd64-120amd64-job-02] `-- Installing webp-1.0.3_1... [120amd64-120amd64-job-02] | `-- Installing giflib-5.1.9... [120amd64-120amd64-job-02] | `-- Extracting giflib-5.1.9: .......... done [120amd64-120amd64-job-02] `-- Extracting webp-1.0.3_1: .......... done [120amd64-120amd64-job-02] Extracting sdl_image-1.2.12_12: .......... done ===> ufoai-2.5_9 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on shared library: libSDL_mixer.so - not found ===> Installing existing package /packages/All/sdl_mixer-1.2.12_12.txz [120amd64-120amd64-job-02] Installing sdl_mixer-1.2.12_12... [120amd64-120amd64-job-02] `-- Installing flac-1.3.3... [120amd64-120amd64-job-02] `-- Extracting flac-1.3.3: .......... done [120amd64-120amd64-job-02] `-- Installing libmikmod-3.3.11.1_1... [120amd64-120amd64-job-02] `-- Extracting libmikmod-3.3.11.1_1: .......... done [120amd64-120amd64-job-02] `-- Installing smpeg-0.4.4_15... [120amd64-120amd64-job-02] `-- Extracting smpeg-0.4.4_15: .......... done [120amd64-120amd64-job-02] `-- Installing timidity-0.2i_1... [120amd64-120amd64-job-02] `-- Extracting timidity-0.2i_1: .......... done [120amd64-120amd64-job-02] Extracting sdl_mixer-1.2.12_12: ......... done Message from timidity-0.2i_1: ===> NOTICE: The timidity 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 ===> ufoai-2.5_9 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of ufoai-2.5_9 ===> ufoai-2.5_9 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> ufoai-2.5_9 depends on shared library: libSDL_ttf.so - not found ===> Installing existing package /packages/All/sdl_ttf-2.0.11_7.txz [120amd64-120amd64-job-02] Installing sdl_ttf-2.0.11_7... [120amd64-120amd64-job-02] `-- Installing freetype2-2.10.1... [120amd64-120amd64-job-02] `-- Extracting freetype2-2.10.1: .......... done [120amd64-120amd64-job-02] Extracting sdl_ttf-2.0.11_7: .......... done Message from freetype2-2.10.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. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed). ===> ufoai-2.5_9 depends on shared library: libSDL_ttf.so - found (/usr/local/lib/libSDL_ttf.so) ===> Returning to build of ufoai-2.5_9 =========================================================================== =>> Recording filesystem state for prebuild... done =================================================== ===> ufoai-2.5_9 depends on executable: zip - found ===> ufoai-2.5_9 depends on executable: msgfmt - found ===> ufoai-2.5_9 depends on executable: gmake - found ===> ufoai-2.5_9 depends on package: pkgconf>=1.3.0_1 - found ===> ufoai-2.5_9 depends on file: /usr/local/bin/python3.6 - found ===> ufoai-2.5_9 depends on file: /usr/local/bin/sdl-config - found ===> ufoai-2.5_9 depends on package: xorgproto>=0 - found ===> ufoai-2.5_9 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so) ===> ufoai-2.5_9 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> ufoai-2.5_9 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) ===> ufoai-2.5_9 depends on shared library: libtheora.so - found (/usr/local/lib/libtheora.so) ===> ufoai-2.5_9 depends on shared library: libxvidcore.so - found (/usr/local/lib/libxvidcore.so) ===> ufoai-2.5_9 depends on shared library: libmxml.so - found (/usr/local/lib/libmxml.so) ===> ufoai-2.5_9 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> ufoai-2.5_9 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> ufoai-2.5_9 depends on shared library: libopenal.so.1 - found (/usr/local/lib/libopenal.so.1) ===> ufoai-2.5_9 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> ufoai-2.5_9 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> ufoai-2.5_9 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> ufoai-2.5_9 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> ufoai-2.5_9 depends on shared library: libSDL_ttf.so - found (/usr/local/lib/libSDL_ttf.so) ===> Configuring for ufoai-2.5_9 use c compiler: cc use c++ compiler: c++ Compile for freebsd Compile for amd64 Compile in release mode Disable ccache Found cc cc Found cxx c++ Using bindir /usr/local/bin/ Using datadir /usr/local/games/ufo/ Using libdir /usr/local/lib/ Using prefix /usr/local Enable hard linked cgame Use signal handler Setting custom data directory Setting custom library directory Found zip from zip Could not find python from python Could not find doxygen from doxygen Could not find xvid.h Found theora/theora.h Found execinfo.h Could not find bfd.h Found sys/utsname.h Found link.h Could not find jpeglib.h Found zlib.h Found png.h Could not find CUnit/Basic.h Found mxml.h Found SDL.h Found SDL_mixer.h Found SDL_ttf.h Could not find SDL.h Could not find SDL_mixer.h Could not find SDL_ttf.h Could not find picomodel.h Could not find gtk/gtk.h Could not find gtksourceview/gtksourceview.h Found libxml/parser.h Found AL/al.h Could not find gtk/gtkglwidget.h Build modules: Build cgame-campaign Build cgame-multiplayer Build cgame-skirmish Build game Build memory Disable testall Build ufo Build ufo2map Build ufoded Build ufomodel Disable uforadiant Build ufoslicer =========================================================================== =================================================== ===> Building for ufoai-2.5_9 gmake[1]: Entering directory '/wrkdirs/usr/ports/games/ufoai/work/ufoai-2.5-source' cd: /wrkdirs/usr/ports/games/ufoai/work/ufoai-2.5-source/contrib/installer/mojosetup/scripts: No such file or directory ls: *.lua: No such file or directory ===> CXX [game] src/game/g_inventory.cpp In file included from src/game/g_inventory.cpp:25: In file included from src/game/g_inventory.h:27: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_inventory.cpp:25: In file included from src/game/g_inventory.h:27: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_inventory.cpp:25: In file included from src/game/g_inventory.h:27: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_inventory.cpp:25: In file included from src/game/g_inventory.h:27: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_mission.cpp In file included from src/game/g_mission.cpp:29: In file included from src/game/g_mission.h:31: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_mission.cpp:29: In file included from src/game/g_mission.h:31: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_mission.cpp:29: In file included from src/game/g_mission.h:31: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_mission.cpp:29: In file included from src/game/g_mission.h:31: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_camera.cpp In file included from src/game/g_camera.cpp:25: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_camera.cpp:25: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_camera.cpp:25: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_camera.cpp:25: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_svcmds.cpp In file included from src/game/g_svcmds.cpp:30: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_svcmds.cpp:30: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_svcmds.cpp:30: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_svcmds.cpp:30: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ src/game/g_svcmds.cpp:101:13: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] f->mask = *(unsigned *) m; ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp:102:16: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] f->compare = *(unsigned *) b; ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp:127:8: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] in = *(unsigned *) m; ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp:201:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] *(unsigned *) b = ipfilters[i].compare; ^~~~~~~~~~~~~~ src/game/g_svcmds.cpp:229:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] *(unsigned *) b = ipfilters[i].compare; ^~~~~~~~~~~~~~ 17 warnings generated. ===> CXX [game] src/game/g_main.cpp In file included from src/game/g_main.cpp:29: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_main.cpp:29: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_main.cpp:29: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_main.cpp:29: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_events.cpp In file included from src/game/g_events.cpp:25: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_events.cpp:25: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_events.cpp:25: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_events.cpp:25: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_cmds.cpp In file included from src/game/g_cmds.cpp:29: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_cmds.cpp:29: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_cmds.cpp:29: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_cmds.cpp:29: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_func.cpp In file included from src/game/g_func.cpp:30: In file included from src/game/g_func.h:31: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_func.cpp:30: In file included from src/game/g_func.h:31: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_func.cpp:30: In file included from src/game/g_func.h:31: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_func.cpp:30: In file included from src/game/g_func.h:31: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_ai_lua.cpp In file included from src/game/g_ai_lua.cpp:35: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_ai_lua.cpp:35: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_ai_lua.cpp:35: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_ai_lua.cpp:35: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_client.cpp In file included from src/game/g_client.cpp:40: In file included from src/game/g_client.h:29: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_client.cpp:40: In file included from src/game/g_client.h:29: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_client.cpp:40: In file included from src/game/g_client.h:29: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_client.cpp:40: In file included from src/game/g_client.h:29: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_vis.cpp In file included from src/game/g_vis.cpp:25: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_vis.cpp:25: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_vis.cpp:25: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_vis.cpp:25: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_match.cpp In file included from src/game/g_match.cpp:27: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_match.cpp:27: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_match.cpp:27: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_match.cpp:27: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_utils.cpp In file included from src/game/g_utils.cpp:29: In file included from src/game/g_utils.h:31: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_utils.cpp:29: In file included from src/game/g_utils.h:31: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_utils.cpp:29: In file included from src/game/g_utils.h:31: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_utils.cpp:29: In file included from src/game/g_utils.h:31: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_combat.cpp In file included from src/game/g_combat.cpp:26: In file included from src/game/g_combat.h:28: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_combat.cpp:26: In file included from src/game/g_combat.h:28: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_combat.cpp:26: In file included from src/game/g_combat.h:28: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_combat.cpp:26: In file included from src/game/g_combat.h:28: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_morale.cpp In file included from src/game/g_morale.cpp:25: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_morale.cpp:25: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_morale.cpp:25: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_morale.cpp:25: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_ai.cpp In file included from src/game/g_ai.cpp:26: In file included from src/game/g_ai.h:28: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_ai.cpp:26: In file included from src/game/g_ai.h:28: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_ai.cpp:26: In file included from src/game/g_ai.h:28: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_ai.cpp:26: In file included from src/game/g_ai.h:28: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_move.cpp In file included from src/game/g_move.cpp:25: In file included from src/game/g_move.h:27: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_move.cpp:25: In file included from src/game/g_move.h:27: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_move.cpp:25: In file included from src/game/g_move.h:27: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_move.cpp:25: In file included from src/game/g_move.h:27: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_health.cpp In file included from src/game/g_health.cpp:25: In file included from src/game/g_health.h:27: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_health.cpp:25: In file included from src/game/g_health.h:27: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_health.cpp:25: In file included from src/game/g_health.h:27: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_health.cpp:25: In file included from src/game/g_health.h:27: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_actor.cpp In file included from src/game/g_actor.cpp:25: In file included from src/game/g_actor.h:27: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_actor.cpp:25: In file included from src/game/g_actor.h:27: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_actor.cpp:25: In file included from src/game/g_actor.h:27: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_actor.cpp:25: In file included from src/game/g_actor.h:27: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_trigger.cpp In file included from src/game/g_trigger.cpp:30: In file included from src/game/g_trigger.h:31: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_trigger.cpp:30: In file included from src/game/g_trigger.h:31: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_trigger.cpp:30: In file included from src/game/g_trigger.h:31: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_trigger.cpp:30: In file included from src/game/g_trigger.h:31: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_round.cpp In file included from src/game/g_round.cpp:25: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_round.cpp:25: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_round.cpp:25: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_round.cpp:25: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_reaction.cpp In file included from src/game/g_reaction.cpp:74: In file included from src/game/g_reaction.h:29: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_reaction.cpp:74: In file included from src/game/g_reaction.h:29: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_reaction.cpp:74: In file included from src/game/g_reaction.h:29: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_reaction.cpp:74: In file included from src/game/g_reaction.h:29: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_stats.cpp In file included from src/game/g_stats.cpp:25: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_stats.cpp:25: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_stats.cpp:25: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_stats.cpp:25: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/g_edicts.cpp In file included from src/game/g_edicts.cpp:29: In file included from src/game/g_edicts.h:31: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_edicts.cpp:29: In file included from src/game/g_edicts.h:31: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_edicts.cpp:29: In file included from src/game/g_edicts.h:31: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_edicts.cpp:29: In file included from src/game/g_edicts.h:31: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ src/game/g_edicts.cpp:134:9: warning: destination for this 'memcpy' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] memcpy(duplicate, edict, sizeof(*edict)); ~~~~~~ ^ src/game/g_edicts.cpp:134:9: note: explicitly cast the pointer to silence this warning memcpy(duplicate, edict, sizeof(*edict)); ^ (void*) 13 warnings generated. ===> CXX [game] src/game/g_spawn.cpp In file included from src/game/g_spawn.cpp:29: In file included from src/game/g_spawn.h:31: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/g_spawn.cpp:29: In file included from src/game/g_spawn.h:31: In file included from src/game/g_local.h:31: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/g_spawn.cpp:29: In file included from src/game/g_spawn.h:31: In file included from src/game/g_local.h:34: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ In file included from src/game/g_spawn.cpp:29: In file included from src/game/g_spawn.h:31: In file included from src/game/g_local.h:317: src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*this); ^~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/game/g_edict.h:176:3: note: explicitly cast the pointer to silence this warning src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [game] src/game/lua/lapi.cpp In file included from src/game/lua/lapi.cpp:16: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lapi.cpp:16: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/lapi.cpp:34:12: warning: unused variable 'lua_ident' [-Wunused-const-variable] const char lua_ident[] = ^ 11 warnings generated. ===> CXX [game] src/game/lua/lauxlib.cpp In file included from src/game/lua/lauxlib.cpp:23: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lauxlib.cpp:23: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/lbaselib.cpp In file included from src/game/lua/lbaselib.cpp:17: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lbaselib.cpp:17: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/lcode.cpp In file included from src/game/lua/lcode.cpp:13: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lcode.cpp:13: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/ldblib.cpp In file included from src/game/lua/ldblib.cpp:15: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/ldblib.cpp:15: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/ldebug.cpp In file included from src/game/lua/ldebug.cpp:16: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/ldebug.cpp:16: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/ldebug.cpp:620:21: warning: cast from 'char *' to 'TValue *' (aka 'lua_TValue *') increases required alignment from 1 to 8 [-Wcast-align] StkId errfunc = restorestack(L, L->errfunc); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.h:25:28: note: expanded from macro 'restorestack' #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 warnings generated. ===> CXX [game] src/game/lua/ldo.cpp In file included from src/game/lua/ldo.cpp:15: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/ldo.cpp:15: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/ldo.cpp:202:18: warning: cast from 'char *' to 'TValue *' (aka 'lua_TValue *') increases required alignment from 1 to 8 [-Wcast-align] L->ci->top = restorestack(L, ci_top); ^~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.h:25:28: note: expanded from macro 'restorestack' #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:203:14: warning: cast from 'char *' to 'TValue *' (aka 'lua_TValue *') increases required alignment from 1 to 8 [-Wcast-align] L->top = restorestack(L, top); ^~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.h:25:28: note: expanded from macro 'restorestack' #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:252:10: warning: cast from 'char *' to 'TValue *' (aka 'lua_TValue *') increases required alignment from 1 to 8 [-Wcast-align] func = restorestack(L, funcr); /* previous call may change stack */ ^~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.h:25:28: note: expanded from macro 'restorestack' #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:277:12: warning: cast from 'char *' to 'TValue *' (aka 'lua_TValue *') increases required alignment from 1 to 8 [-Wcast-align] func = restorestack(L, funcr); ^~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.h:25:28: note: expanded from macro 'restorestack' #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:286:14: warning: cast from 'char *' to 'TValue *' (aka 'lua_TValue *') increases required alignment from 1 to 8 [-Wcast-align] func = restorestack(L, funcr); /* previous call may change the stack */ ^~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.h:25:28: note: expanded from macro 'restorestack' #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:311:16: warning: cast from 'char *' to 'TValue *' (aka 'lua_TValue *') increases required alignment from 1 to 8 [-Wcast-align] ci->func = restorestack(L, funcr); ^~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.h:25:28: note: expanded from macro 'restorestack' #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:338:10: warning: cast from 'char *' to 'TValue *' (aka 'lua_TValue *') increases required alignment from 1 to 8 [-Wcast-align] return restorestack(L, fr); ^~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.h:25:28: note: expanded from macro 'restorestack' #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:465:20: warning: cast from 'char *' to 'TValue *' (aka 'lua_TValue *') increases required alignment from 1 to 8 [-Wcast-align] StkId oldtop = restorestack(L, old_top); ^~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.h:25:28: note: expanded from macro 'restorestack' #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.cpp:469:13: warning: cast from 'char *' to 'CallInfo *' increases required alignment from 1 to 8 [-Wcast-align] L->ci = restoreci(L, old_ci); ^~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.h:28:26: note: expanded from macro 'restoreci' #define restoreci(L,n) ((CallInfo *)((char*)L->base_ci + (n))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 warnings generated. ===> CXX [game] src/game/lua/ldump.cpp In file included from src/game/lua/ldump.cpp:12: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/ldump.cpp:12: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/lfunc.cpp In file included from src/game/lua/lfunc.cpp:13: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lfunc.cpp:13: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/lgc.cpp In file included from src/game/lua/lgc.cpp:12: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lgc.cpp:12: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/linit.cpp In file included from src/game/lua/linit.cpp:11: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/linit.cpp:11: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/liolib.cpp In file included from src/game/lua/liolib.cpp:16: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/liolib.cpp:16: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/llex.cpp In file included from src/game/lua/llex.cpp:15: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/llex.cpp:15: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/lmathlib.cpp In file included from src/game/lua/lmathlib.cpp:14: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lmathlib.cpp:14: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/lmem.cpp In file included from src/game/lua/lmem.cpp:13: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lmem.cpp:13: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/loadlib.cpp In file included from src/game/lua/loadlib.cpp:19: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/loadlib.cpp:19: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/lobject.cpp In file included from src/game/lua/lobject.cpp:16: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lobject.cpp:16: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/lopcodes.cpp In file included from src/game/lua/lopcodes.cpp:11: In file included from src/game/lua/lopcodes.h:10: In file included from src/game/lua/llimits.h:15: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lopcodes.cpp:11: In file included from src/game/lua/lopcodes.h:10: In file included from src/game/lua/llimits.h:15: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/loslib.cpp In file included from src/game/lua/loslib.cpp:17: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/loslib.cpp:17: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/lparser.cpp In file included from src/game/lua/lparser.cpp:13: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lparser.cpp:13: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/lstate.cpp In file included from src/game/lua/lstate.cpp:13: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lstate.cpp:13: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/lstate.cpp:120:19: warning: cast from 'lu_byte *' (aka 'unsigned char *') to 'lua_State *' increases required alignment from 1 to 8 [-Wcast-align] lua_State *L1 = tostate(luaM_malloc(L, state_size(lua_State))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/lstate.cpp:29:23: note: expanded from macro 'tostate' #define tostate(l) (cast(lua_State *, cast(lu_byte* , l) + LUAI_EXTRASPACE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/llimits.h:75:23: note: expanded from macro 'cast' #define cast(t, exp) ((t)(exp)) ^~~~~~~~ src/game/lua/lstate.cpp:149:7: warning: cast from 'lu_byte *' (aka 'unsigned char *') to 'lua_State *' increases required alignment from 1 to 8 [-Wcast-align] L = tostate(l); ^~~~~~~~~~ src/game/lua/lstate.cpp:29:23: note: expanded from macro 'tostate' #define tostate(l) (cast(lua_State *, cast(lu_byte* , l) + LUAI_EXTRASPACE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/llimits.h:75:23: note: expanded from macro 'cast' #define cast(t, exp) ((t)(exp)) ^~~~~~~~ 12 warnings generated. ===> CXX [game] src/game/lua/lstring.cpp In file included from src/game/lua/lstring.cpp:13: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lstring.cpp:13: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/lstrlib.cpp In file included from src/game/lua/lstrlib.cpp:17: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lstrlib.cpp:17: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/ltable.cpp In file included from src/game/lua/ltable.cpp:27: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/ltable.cpp:27: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/ltablib.cpp In file included from src/game/lua/ltablib.cpp:13: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/ltablib.cpp:13: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/ltm.cpp In file included from src/game/lua/ltm.cpp:13: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/ltm.cpp:13: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/lundump.cpp In file included from src/game/lua/lundump.cpp:12: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lundump.cpp:12: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/lvm.cpp In file included from src/game/lua/lvm.cpp:15: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lvm.cpp:15: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/lvm.cpp:89:9: warning: cast from 'char *' to 'TValue *' (aka 'lua_TValue *') increases required alignment from 1 to 8 [-Wcast-align] res = restorestack(L, result); ^~~~~~~~~~~~~~~~~~~~~~~ src/game/lua/ldo.h:25:28: note: expanded from macro 'restorestack' #define restorestack(L,n) ((TValue *)((char*)L->stack + (n))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 warnings generated. ===> CXX [game] src/game/lua/lzio.cpp In file included from src/game/lua/lzio.cpp:13: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/lzio.cpp:13: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/game/lua/print.cpp In file included from src/game/lua/print.cpp:13: In file included from src/game/lua/ldebug.h:11: In file included from src/game/lua/lstate.h:10: In file included from src/game/lua/lua.h:16: In file included from src/game/lua/luaconf.h:14: src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/lua/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/lua/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/lua/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/game/lua/print.cpp:13: In file included from src/game/lua/ldebug.h:11: In file included from src/game/lua/lstate.h:10: In file included from src/game/lua/lua.h:16: src/game/lua/luaconf.h:187:7: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #elif GCC_ATLEAST(3, 2) && defined __ELF__ ^ src/game/lua/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ 10 warnings generated. ===> CXX [game] src/shared/mathlib.cpp In file included from src/shared/mathlib.cpp:27: In file included from src/shared/../common/common.h:30: In file included from src/shared/../common/../shared/shared.h:52: src/shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/shared/mathlib.cpp:27: In file included from src/shared/../common/common.h:30: In file included from src/shared/../common/../shared/shared.h:54: src/shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/shared/mathlib.cpp:202:6: warning: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value] if (EQUAL(max, 0.0)) { ^ src/shared/vector.h:37:21: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ src/shared/mathlib.cpp:202:6: note: use function 'std::abs' instead src/shared/vector.h:37:21: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ src/shared/mathlib.cpp:244:7: warning: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value] if (!EQUAL(length, 0.0)) { ^ src/shared/vector.h:37:21: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ src/shared/mathlib.cpp:244:7: note: use function 'std::abs' instead src/shared/vector.h:37:21: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ src/shared/mathlib.cpp:975:8: warning: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value] if (!EQUAL(value1[0], 0.0)) ^ src/shared/vector.h:37:21: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ src/shared/mathlib.cpp:975:8: note: use function 'std::abs' instead src/shared/vector.h:37:21: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ 13 warnings generated. ===> CXX [game] src/shared/aabb.cpp ===> CXX [game] src/shared/shared.cpp In file included from src/shared/shared.cpp:28: In file included from src/shared/shared.h:52: src/shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/shared/shared.cpp:28: In file included from src/shared/shared.h:54: src/shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/shared/shared.cpp:108:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const char* p = pattern, *t = text; ^~~~~~~~~ src/shared/shared.cpp:108:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const char* p = pattern, *t = text; ^~~~~~~~~ src/shared/shared.cpp:109:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char c, c1; ^~~~~~~~~ src/shared/shared.cpp:109:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char c, c1; ^~~~~~~~~ src/shared/shared.cpp:147:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const char* p = pattern, *t = text; ^~~~~~~~~ src/shared/shared.cpp:147:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register const char* p = pattern, *t = text; ^~~~~~~~~ src/shared/shared.cpp:148:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char c; ^~~~~~~~~ src/shared/shared.cpp:169:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char c1 = *t++; ^~~~~~~~~ src/shared/shared.cpp:181:6: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char cstart = c, cend = c; ^~~~~~~~~ src/shared/shared.cpp:181:6: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char cstart = c, cend = c; ^~~~~~~~~ 20 warnings generated. ===> CXX [game] src/shared/utf8.cpp ===> CXX [game] src/shared/parse.cpp In file included from src/shared/parse.cpp:28: In file included from src/shared/parse.h:31: src/shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 9 warnings generated. ===> CXX [game] src/shared/infostring.cpp In file included from src/shared/infostring.cpp:29: In file included from src/shared/../common/common.h:30: In file included from src/shared/../common/../shared/shared.h:52: src/shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/shared/infostring.cpp:29: In file included from src/shared/../common/common.h:30: In file included from src/shared/../common/../shared/shared.h:54: src/shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [game] src/game/q_shared.cpp In file included from src/game/q_shared.cpp:29: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/q_shared.cpp:29: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [game] src/game/chr_shared.cpp In file included from src/game/chr_shared.cpp:26: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/chr_shared.cpp:26: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/chr_shared.cpp:208:69: warning: address of array 'chrTemplate->id' will always evaluate to 'true' [-Wpointer-bool-conversion] for (chrTemplate = teamDef->characterTemplates[0]; chrTemplate->id; chrTemplate++) { ~~~ ~~~~~~~~~~~~~^~ 11 warnings generated. ===> CXX [game] src/game/inv_shared.cpp In file included from src/game/inv_shared.cpp:28: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/inv_shared.cpp:28: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/inv_shared.cpp:551:6: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare] if (this == nullptr || other == nullptr) ^~~~ ~~~~~~~ src/game/inv_shared.cpp:636:7: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] if (!this) ~^~~~ 12 warnings generated. ===> CXX [game] src/game/inventory.cpp In file included from src/game/inventory.cpp:25: In file included from src/game/inventory.h:30: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:52: src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/game/inventory.cpp:25: In file included from src/game/inventory.h:30: In file included from src/game/q_shared.h:34: In file included from src/game/../shared/shared.h:54: src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/game/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/game/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/game/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/game/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> LD [base/game.so] ===> CXX [memory] src/tools/memory.cpp In file included from src/tools/memory.cpp:9: In file included from src/tools/../common/common.h:30: In file included from src/tools/../common/../shared/shared.h:52: src/tools/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/tools/memory.cpp:9: In file included from src/tools/../common/common.h:30: In file included from src/tools/../common/../shared/shared.h:54: src/tools/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/tools/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/tools/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/tools/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/tools/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/tools/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/tools/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/tools/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/tools/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/tools/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/tools/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/tools/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/tools/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/tools/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/tools/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/tools/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> LD [memory] ===> CXX [ufo] src/client/cl_video.cpp In file included from src/client/cl_video.cpp:26: In file included from src/client/cl_video.h:33: In file included from src/client/../common/cvar.h:37: In file included from src/client/../common/../shared/shared.h:52: src/client/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cl_video.cpp:26: In file included from src/client/cl_video.h:33: In file included from src/client/../common/cvar.h:37: In file included from src/client/../common/../shared/shared.h:54: src/client/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/cl_tip.cpp In file included from src/client/cl_tip.cpp:29: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:52: src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cl_tip.cpp:29: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:54: src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/cl_main.cpp In file included from src/client/cl_main.cpp:29: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:52: src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cl_main.cpp:29: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:54: src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/cl_main.cpp:59: In file included from src/client/ui/ui_popup.h:27: src/client/cgame/../ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/cgame/../ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ src/client/cl_main.cpp:240:2: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(cl); ^~~~~~~~~~~ src/client/cgame/../ui/../../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/client/cgame/../ui/../../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/client/cl_main.cpp:240:2: note: explicitly cast the pointer to silence this warning src/client/cgame/../ui/../../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/client/cgame/../ui/../../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ src/client/cl_main.cpp:674:29: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const int result = sscanf(OPTIONEXTRADATA(option).label, "%i x %i", &width, &height); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/cgame/../ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. ===> CXX [ufo] src/client/cl_inventory.cpp In file included from src/client/cl_inventory.cpp:27: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:52: src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cl_inventory.cpp:27: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:54: src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/cl_inventory.cpp:31: In file included from src/client/ui/ui_popup.h:27: src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ src/client/cl_inventory.cpp:370:6: warning: comparison of nonnull parameter 'inv' equal to a null pointer is 'false' on first encounter [-Wtautological-pointer-compare] if (inv == nullptr) ^~~ ~~~~~~~ src/client/cl_inventory.h:69:166: note: declared 'nonnull' here Item *INV_SearchInInventoryWithFilter(const Inventory* const i, const invDef_t* container, const objDef_t* item, const itemFilterTypes_t filterType) __attribute__((nonnull(1))); ^ 12 warnings generated. ===> CXX [ufo] src/client/cl_menu.cpp In file included from src/client/cl_menu.cpp:27: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:52: src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cl_menu.cpp:27: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:54: src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/cl_menu.cpp:32: In file included from src/client/ui/ui_popup.h:27: src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ 11 warnings generated. ===> CXX [ufo] src/client/cl_console.cpp In file included from src/client/cl_console.cpp:30: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:52: src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cl_console.cpp:30: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:54: src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/cl_inventory_callbacks.cpp In file included from src/client/cl_inventory_callbacks.cpp:26: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:52: src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cl_inventory_callbacks.cpp:26: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:54: src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/cl_inventory_callbacks.cpp:31: In file included from src/client/ui/ui_popup.h:27: src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ 11 warnings generated. ===> CXX [ufo] src/client/cl_screen.cpp In file included from src/client/cl_screen.cpp:36: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:52: src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cl_screen.cpp:36: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:54: src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/cl_language.cpp In file included from src/client/cl_language.cpp:26: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:52: src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cl_language.cpp:26: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:54: src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/cl_tutorials.cpp In file included from src/client/cl_tutorials.cpp:26: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:52: src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cl_tutorials.cpp:26: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:54: src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/cl_http.cpp In file included from src/client/cl_http.cpp:34: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:52: src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cl_http.cpp:34: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:54: src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/cl_team.cpp In file included from src/client/cl_team.cpp:26: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:52: src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cl_team.cpp:26: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:54: src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/cl_irc.cpp In file included from src/client/cl_irc.cpp:29: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:52: src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cl_irc.cpp:29: In file included from src/client/client.h:31: In file included from src/client/cl_shared.h:28: In file included from src/client/../common/common.h:30: In file included from src/client/../common/../shared/shared.h:54: src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/cl_irc.cpp:33: In file included from src/client/ui/ui_popup.h:27: src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ 11 warnings generated. ===> CXX [ufo] src/client/input/cl_keys.cpp In file included from src/client/input/cl_keys.cpp:31: In file included from src/client/input/../client.h:31: In file included from src/client/input/../cl_shared.h:28: In file included from src/client/input/../../common/common.h:30: In file included from src/client/input/../../common/../shared/shared.h:52: src/client/input/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/input/cl_keys.cpp:31: In file included from src/client/input/../client.h:31: In file included from src/client/input/../cl_shared.h:28: In file included from src/client/input/../../common/common.h:30: In file included from src/client/input/../../common/../shared/shared.h:54: src/client/input/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/input/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/input/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/input/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/input/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/input/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/input/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/input/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/input/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/input/cl_input.cpp In file included from src/client/input/cl_input.cpp:41: In file included from src/client/input/../client.h:31: In file included from src/client/input/../cl_shared.h:28: In file included from src/client/input/../../common/common.h:30: In file included from src/client/input/../../common/../shared/shared.h:52: src/client/input/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/input/cl_input.cpp:41: In file included from src/client/input/../client.h:31: In file included from src/client/input/../cl_shared.h:28: In file included from src/client/input/../../common/common.h:30: In file included from src/client/input/../../common/../shared/shared.h:54: src/client/input/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/input/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/input/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/input/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/input/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/input/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/input/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/input/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/input/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/input/cl_joystick.cpp In file included from src/client/input/cl_joystick.cpp:27: In file included from src/client/input/../client.h:31: In file included from src/client/input/../cl_shared.h:28: In file included from src/client/input/../../common/common.h:30: In file included from src/client/input/../../common/../shared/shared.h:52: src/client/input/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/input/cl_joystick.cpp:27: In file included from src/client/input/../client.h:31: In file included from src/client/input/../cl_shared.h:28: In file included from src/client/input/../../common/common.h:30: In file included from src/client/input/../../common/../shared/shared.h:54: src/client/input/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/input/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/input/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/input/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/input/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/input/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/input/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/input/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/input/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/input/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/input/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/cinematic/cl_cinematic_ogm.cpp In file included from src/client/cinematic/cl_cinematic_ogm.cpp:13: In file included from src/client/cinematic/../client.h:31: In file included from src/client/cinematic/../cl_shared.h:28: In file included from src/client/cinematic/../../common/common.h:30: In file included from src/client/cinematic/../../common/../shared/shared.h:52: src/client/cinematic/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cinematic/cl_cinematic_ogm.cpp:13: In file included from src/client/cinematic/../client.h:31: In file included from src/client/cinematic/../cl_shared.h:28: In file included from src/client/cinematic/../../common/common.h:30: In file included from src/client/cinematic/../../common/../shared/shared.h:54: src/client/cinematic/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/cinematic/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cinematic/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/cinematic/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/cinematic/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cinematic/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/cinematic/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/cinematic/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cinematic/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/cinematic/cl_cinematic.cpp In file included from src/client/cinematic/cl_cinematic.cpp:34: In file included from src/client/cinematic/../cl_video.h:33: In file included from src/client/cinematic/../../common/cvar.h:37: In file included from src/client/cinematic/../../common/../shared/shared.h:52: src/client/cinematic/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cinematic/cl_cinematic.cpp:34: In file included from src/client/cinematic/../cl_video.h:33: In file included from src/client/cinematic/../../common/cvar.h:37: In file included from src/client/cinematic/../../common/../shared/shared.h:54: src/client/cinematic/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/cinematic/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cinematic/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/cinematic/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/cinematic/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cinematic/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/cinematic/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/cinematic/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cinematic/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/cinematic/cl_sequence.cpp In file included from src/client/cinematic/cl_sequence.cpp:30: In file included from src/client/cinematic/../client.h:31: In file included from src/client/cinematic/../cl_shared.h:28: In file included from src/client/cinematic/../../common/common.h:30: In file included from src/client/cinematic/../../common/../shared/shared.h:52: src/client/cinematic/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cinematic/cl_sequence.cpp:30: In file included from src/client/cinematic/../client.h:31: In file included from src/client/cinematic/../cl_shared.h:28: In file included from src/client/cinematic/../../common/common.h:30: In file included from src/client/cinematic/../../common/../shared/shared.h:54: src/client/cinematic/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/cinematic/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cinematic/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/cinematic/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/cinematic/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cinematic/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/cinematic/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/cinematic/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cinematic/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/cinematic/cl_sequence.cpp:317:11: warning: address of array 'se->parent' will always evaluate to 'true' [-Wpointer-bool-conversion] if (se->parent && se->tag) { ~~~~^~~~~~ ~~ src/client/cinematic/cl_sequence.cpp:317:25: warning: address of array 'se->tag' will always evaluate to 'true' [-Wpointer-bool-conversion] if (se->parent && se->tag) { ~~ ~~~~^~~ 12 warnings generated. ===> CXX [ufo] src/client/cinematic/cl_cinematic_roq.cpp In file included from src/client/cinematic/cl_cinematic_roq.cpp:29: In file included from src/client/cinematic/../client.h:31: In file included from src/client/cinematic/../cl_shared.h:28: In file included from src/client/cinematic/../../common/common.h:30: In file included from src/client/cinematic/../../common/../shared/shared.h:52: src/client/cinematic/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cinematic/cl_cinematic_roq.cpp:29: In file included from src/client/cinematic/../client.h:31: In file included from src/client/cinematic/../cl_shared.h:28: In file included from src/client/cinematic/../../common/common.h:30: In file included from src/client/cinematic/../../common/../shared/shared.h:54: src/client/cinematic/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/cinematic/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cinematic/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/cinematic/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/cinematic/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cinematic/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/cinematic/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/cinematic/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cinematic/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cinematic/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cinematic/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/cinematic/cl_cinematic_roq.cpp:471:34: warning: cast from 'byte *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] ROQCIN.chunk.id = LittleShort(*(short*)&ROQCIN.header[0]); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cinematic/../../common/../shared/byte.h:35:44: note: expanded from macro 'LittleShort' #define LittleShort(X) (short)SDL_SwapLE16(X) ~~~~~~~~~~~~~^~ /usr/local/include/SDL/SDL_endian.h:192:26: note: expanded from macro 'SDL_SwapLE16' #define SDL_SwapLE16(X) (X) ^ src/client/cinematic/cl_cinematic_roq.cpp:472:35: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] ROQCIN.chunk.size = LittleLong(*(int*)&ROQCIN.header[2]); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/client/cinematic/../../common/../shared/byte.h:37:41: note: expanded from macro 'LittleLong' #define LittleLong(X) (int)SDL_SwapLE32(X) ~~~~~~~~~~~~~^~ /usr/local/include/SDL/SDL_endian.h:193:26: note: expanded from macro 'SDL_SwapLE32' #define SDL_SwapLE32(X) (X) ^ src/client/cinematic/cl_cinematic_roq.cpp:473:37: warning: cast from 'byte *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] ROQCIN.chunk.flags = LittleShort(*(short*)&ROQCIN.header[6]); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cinematic/../../common/../shared/byte.h:35:44: note: expanded from macro 'LittleShort' #define LittleShort(X) (short)SDL_SwapLE16(X) ~~~~~~~~~~~~~^~ /usr/local/include/SDL/SDL_endian.h:192:26: note: expanded from macro 'SDL_SwapLE16' #define SDL_SwapLE16(X) (X) ^ src/client/cinematic/cl_cinematic_roq.cpp:584:26: warning: cast from 'byte *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] chunk.id = LittleShort(*(short*)&header[0]); ^~~~~~~~~~~~~~~~~~ src/client/cinematic/../../common/../shared/byte.h:35:44: note: expanded from macro 'LittleShort' #define LittleShort(X) (short)SDL_SwapLE16(X) ^ /usr/local/include/SDL/SDL_endian.h:192:26: note: expanded from macro 'SDL_SwapLE16' #define SDL_SwapLE16(X) (X) ^ src/client/cinematic/cl_cinematic_roq.cpp:585:27: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] chunk.size = LittleLong(*(int*)&header[2]); ^~~~~~~~~~~~~~~~ src/client/cinematic/../../common/../shared/byte.h:37:41: note: expanded from macro 'LittleLong' #define LittleLong(X) (int)SDL_SwapLE32(X) ^ /usr/local/include/SDL/SDL_endian.h:193:26: note: expanded from macro 'SDL_SwapLE32' #define SDL_SwapLE32(X) (X) ^ src/client/cinematic/cl_cinematic_roq.cpp:586:29: warning: cast from 'byte *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] chunk.flags = LittleShort(*(short*)&header[6]); ^~~~~~~~~~~~~~~~~~ src/client/cinematic/../../common/../shared/byte.h:35:44: note: expanded from macro 'LittleShort' #define LittleShort(X) (short)SDL_SwapLE16(X) ^ /usr/local/include/SDL/SDL_endian.h:192:26: note: expanded from macro 'SDL_SwapLE16' #define SDL_SwapLE16(X) (X) ^ 16 warnings generated. ===> CXX [ufo] src/client/battlescape/cl_hud.cpp In file included from src/client/battlescape/cl_hud.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:52: src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/cl_hud.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:54: src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/battlescape/cl_hud.cpp:34: In file included from src/client/battlescape/../ui/ui_popup.h:27: src/client/battlescape/../cgame/../ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/battlescape/../cgame/../ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ 11 warnings generated. ===> CXX [ufo] src/client/battlescape/cl_camera.cpp In file included from src/client/battlescape/cl_camera.cpp:28: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:52: src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/cl_camera.cpp:28: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:54: src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/cl_view.cpp In file included from src/client/battlescape/cl_view.cpp:29: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:52: src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/cl_view.cpp:29: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:54: src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/cl_hud_callbacks.cpp In file included from src/client/battlescape/cl_hud_callbacks.cpp:25: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:52: src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/cl_hud_callbacks.cpp:25: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:54: src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/cl_battlescape.cpp In file included from src/client/battlescape/cl_battlescape.cpp:25: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:52: src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/cl_battlescape.cpp:25: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:54: src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/cl_ugv.cpp In file included from src/client/battlescape/cl_ugv.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:52: src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/cl_ugv.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:54: src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/cl_particle.cpp In file included from src/client/battlescape/cl_particle.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:52: src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/cl_particle.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:54: src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/cl_particle.cpp:1431:10: warning: cast from 'byte *' (aka 'unsigned char *') to 'ptlCmd_t **' (aka 'ptlCmd_s **') increases required alignment from 1 to 8 [-Wcast-align] pc = (ptlCmd_t**) ((byte*) pd + pf_values[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 warnings generated. ===> CXX [ufo] src/client/battlescape/cl_localentity.cpp In file included from src/client/battlescape/cl_localentity.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:52: src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/cl_localentity.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:54: src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/cl_localentity.cpp:1217:2: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(*le); ^~~~~~~~~~~~ src/client/battlescape/../sound/../../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/client/battlescape/../sound/../../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/client/battlescape/cl_localentity.cpp:1217:2: note: explicitly cast the pointer to silence this warning src/client/battlescape/../sound/../../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/client/battlescape/../sound/../../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 11 warnings generated. ===> CXX [ufo] src/client/battlescape/cl_actor.cpp In file included from src/client/battlescape/cl_actor.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:52: src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/cl_actor.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:54: src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/battlescape/cl_actor.cpp:35: In file included from src/client/battlescape/../ui/ui_popup.h:27: src/client/battlescape/../cgame/../ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/battlescape/../cgame/../ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ 11 warnings generated. ===> CXX [ufo] src/client/battlescape/cl_parse.cpp In file included from src/client/battlescape/cl_parse.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:52: src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/cl_parse.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:54: src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/cl_radar.cpp In file included from src/client/battlescape/cl_radar.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:52: src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/cl_radar.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:54: src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/cl_spawn.cpp In file included from src/client/battlescape/cl_spawn.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:52: src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/cl_spawn.cpp:26: In file included from src/client/battlescape/../client.h:31: In file included from src/client/battlescape/../cl_shared.h:28: In file included from src/client/battlescape/../../common/common.h:30: In file included from src/client/battlescape/../../common/../shared/shared.h:54: src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/e_main.cpp In file included from src/client/battlescape/events/e_main.cpp:25: In file included from src/client/battlescape/events/../../client.h:31: In file included from src/client/battlescape/events/../../cl_shared.h:28: In file included from src/client/battlescape/events/../../../common/common.h:30: In file included from src/client/battlescape/events/../../../common/../shared/shared.h:52: src/client/battlescape/events/../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/e_main.cpp:25: In file included from src/client/battlescape/events/../../client.h:31: In file included from src/client/battlescape/events/../../cl_shared.h:28: In file included from src/client/battlescape/events/../../../common/common.h:30: In file included from src/client/battlescape/events/../../../common/../shared/shared.h:54: src/client/battlescape/events/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/e_main.cpp:224:7: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!FS_CheckFile("sounds/%s%02i", sound, i) == -1) ^ ~~ src/client/battlescape/events/e_main.cpp:224:7: note: add parentheses after the '!' to evaluate the comparison first if (!FS_CheckFile("sounds/%s%02i", sound, i) == -1) ^ ( ) src/client/battlescape/events/e_main.cpp:224:7: note: add parentheses around left hand side expression to silence this warning if (!FS_CheckFile("sounds/%s%02i", sound, i) == -1) ^ ( ) src/client/battlescape/events/e_main.cpp:224:48: warning: result of comparison of constant -1 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare] if (!FS_CheckFile("sounds/%s%02i", sound, i) == -1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~ 12 warnings generated. ===> CXX [ufo] src/client/battlescape/events/e_parse.cpp In file included from src/client/battlescape/events/e_parse.cpp:40: In file included from src/client/battlescape/events/../../client.h:31: In file included from src/client/battlescape/events/../../cl_shared.h:28: In file included from src/client/battlescape/events/../../../common/common.h:30: In file included from src/client/battlescape/events/../../../common/../shared/shared.h:52: src/client/battlescape/events/../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/e_parse.cpp:40: In file included from src/client/battlescape/events/../../client.h:31: In file included from src/client/battlescape/events/../../cl_shared.h:28: In file included from src/client/battlescape/events/../../../common/common.h:30: In file included from src/client/battlescape/events/../../../common/../shared/shared.h:54: src/client/battlescape/events/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/e_server.cpp In file included from src/client/battlescape/events/e_server.cpp:27: In file included from src/client/battlescape/events/../../client.h:31: In file included from src/client/battlescape/events/../../cl_shared.h:28: In file included from src/client/battlescape/events/../../../common/common.h:30: In file included from src/client/battlescape/events/../../../common/../shared/shared.h:52: src/client/battlescape/events/../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/e_server.cpp:27: In file included from src/client/battlescape/events/../../client.h:31: In file included from src/client/battlescape/events/../../cl_shared.h:28: In file included from src/client/battlescape/events/../../../common/common.h:30: In file included from src/client/battlescape/events/../../../common/../shared/shared.h:54: src/client/battlescape/events/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actordie.cpp In file included from src/client/battlescape/events/event/actor/e_event_actordie.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actordie.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorturn.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorturn.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorturn.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorshoot.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorshoot.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorshoot.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorappear.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorappear.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorappear.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorstatechange.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorstatechange.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorstatechange.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorthrow.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorthrow.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorthrow.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorwound.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorwound.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorwound.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorendshot.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorendshot.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorendshot.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actoradd.cpp In file included from src/client/battlescape/events/event/actor/e_event_actoradd.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actoradd.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorclientaction.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorclientaction.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorclientaction.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actormove.cpp In file included from src/client/battlescape/events/event/actor/e_event_actormove.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actormove.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/actor/e_event_actorstats.cpp In file included from src/client/battlescape/events/event/actor/e_event_actorstats.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/actor/e_event_actorstats.cpp:25: In file included from src/client/battlescape/events/event/actor/../../../../client.h:31: In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/actor/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/inventory/e_event_invadd.cpp In file included from src/client/battlescape/events/event/inventory/e_event_invadd.cpp:25: In file included from src/client/battlescape/events/event/inventory/../../../../client.h:31: In file included from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/inventory/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/inventory/e_event_invadd.cpp:25: In file included from src/client/battlescape/events/event/inventory/../../../../client.h:31: In file included from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/inventory/e_event_invdel.cpp In file included from src/client/battlescape/events/event/inventory/e_event_invdel.cpp:25: In file included from src/client/battlescape/events/event/inventory/../../../../client.h:31: In file included from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/inventory/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/inventory/e_event_invdel.cpp:25: In file included from src/client/battlescape/events/event/inventory/../../../../client.h:31: In file included from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/inventory/e_event_invammo.cpp In file included from src/client/battlescape/events/event/inventory/e_event_invammo.cpp:25: In file included from src/client/battlescape/events/event/inventory/../../../../client.h:31: In file included from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/inventory/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/inventory/e_event_invammo.cpp:25: In file included from src/client/battlescape/events/event/inventory/../../../../client.h:31: In file included from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/inventory/e_event_invreload.cpp In file included from src/client/battlescape/events/event/inventory/e_event_invreload.cpp:25: In file included from src/client/battlescape/events/event/inventory/../../../../client.h:31: In file included from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/inventory/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/inventory/e_event_invreload.cpp:25: In file included from src/client/battlescape/events/event/inventory/../../../../client.h:31: In file included from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/inventory/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/player/e_event_reset.cpp In file included from src/client/battlescape/events/event/player/e_event_reset.cpp:25: In file included from src/client/battlescape/events/event/player/../../../../client.h:31: In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/player/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/player/e_event_reset.cpp:25: In file included from src/client/battlescape/events/event/player/../../../../client.h:31: In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/player/e_event_startgame.cpp In file included from src/client/battlescape/events/event/player/e_event_startgame.cpp:26: In file included from src/client/battlescape/events/event/player/../../../../client.h:31: In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/player/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/player/e_event_startgame.cpp:26: In file included from src/client/battlescape/events/event/player/../../../../client.h:31: In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/player/e_event_results.cpp In file included from src/client/battlescape/events/event/player/e_event_results.cpp:25: In file included from src/client/battlescape/events/event/player/../../../../client.h:31: In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/player/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/player/e_event_results.cpp:25: In file included from src/client/battlescape/events/event/player/../../../../client.h:31: In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/player/e_event_centerview.cpp In file included from src/client/battlescape/events/event/player/e_event_centerview.cpp:25: In file included from src/client/battlescape/events/event/player/../../../../client.h:31: In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/player/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/player/e_event_centerview.cpp:25: In file included from src/client/battlescape/events/event/player/../../../../client.h:31: In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/player/e_event_doendround.cpp In file included from src/client/battlescape/events/event/player/e_event_doendround.cpp:25: In file included from src/client/battlescape/events/event/player/../../../../client.h:31: In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/player/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/player/e_event_doendround.cpp:25: In file included from src/client/battlescape/events/event/player/../../../../client.h:31: In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/player/e_event_endroundannounce.cpp In file included from src/client/battlescape/events/event/player/e_event_endroundannounce.cpp:25: In file included from src/client/battlescape/events/event/player/../../../../client.h:31: In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/player/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/player/e_event_endroundannounce.cpp:25: In file included from src/client/battlescape/events/event/player/../../../../client.h:31: In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/player/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_entperish.cpp In file included from src/client/battlescape/events/event/world/e_event_entperish.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/world/e_event_entperish.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_particleappear.cpp In file included from src/client/battlescape/events/event/world/e_event_particleappear.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/world/e_event_particleappear.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_dooropen.cpp In file included from src/client/battlescape/events/event/world/e_event_dooropen.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/world/e_event_dooropen.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_particlespawn.cpp In file included from src/client/battlescape/events/event/world/e_event_particlespawn.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/world/e_event_particlespawn.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_entdestroy.cpp In file included from src/client/battlescape/events/event/world/e_event_entdestroy.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/world/e_event_entdestroy.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_cameraappear.cpp In file included from src/client/battlescape/events/event/world/e_event_cameraappear.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/world/e_event_cameraappear.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_sound.cpp In file included from src/client/battlescape/events/event/world/e_event_sound.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/world/e_event_sound.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_entappear.cpp In file included from src/client/battlescape/events/event/world/e_event_entappear.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/world/e_event_entappear.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_explode.cpp In file included from src/client/battlescape/events/event/world/e_event_explode.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/world/e_event_explode.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_doorclose.cpp In file included from src/client/battlescape/events/event/world/e_event_doorclose.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/world/e_event_doorclose.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_addedict.cpp In file included from src/client/battlescape/events/event/world/e_event_addedict.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/world/e_event_addedict.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/battlescape/events/event/world/e_event_addbrushmodel.cpp In file included from src/client/battlescape/events/event/world/e_event_addbrushmodel.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52: src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/battlescape/events/event/world/e_event_addbrushmodel.cpp:25: In file included from src/client/battlescape/events/event/world/../../../../client.h:31: In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28: In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30: In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:54: src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/battlescape/events/event/world/../../../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/sound/s_mumble.cpp In file included from src/client/sound/s_mumble.cpp:7: In file included from src/client/sound/../client.h:31: In file included from src/client/sound/../cl_shared.h:28: In file included from src/client/sound/../../common/common.h:30: In file included from src/client/sound/../../common/../shared/shared.h:52: src/client/sound/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/sound/s_mumble.cpp:7: In file included from src/client/sound/../client.h:31: In file included from src/client/sound/../cl_shared.h:28: In file included from src/client/sound/../../common/common.h:30: In file included from src/client/sound/../../common/../shared/shared.h:54: src/client/sound/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/sound/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/sound/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/sound/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/sound/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/sound/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/sound/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/sound/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/sound/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/sound/s_main.cpp In file included from src/client/sound/s_main.cpp:26: In file included from src/client/sound/../client.h:31: In file included from src/client/sound/../cl_shared.h:28: In file included from src/client/sound/../../common/common.h:30: In file included from src/client/sound/../../common/../shared/shared.h:52: src/client/sound/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/sound/s_main.cpp:26: In file included from src/client/sound/../client.h:31: In file included from src/client/sound/../cl_shared.h:28: In file included from src/client/sound/../../common/common.h:30: In file included from src/client/sound/../../common/../shared/shared.h:54: src/client/sound/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/sound/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/sound/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/sound/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/sound/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/sound/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/sound/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/sound/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/sound/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/sound/s_mix.cpp In file included from src/client/sound/s_mix.cpp:26: In file included from src/client/sound/../cl_shared.h:28: In file included from src/client/sound/../../common/common.h:30: In file included from src/client/sound/../../common/../shared/shared.h:52: src/client/sound/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/sound/s_mix.cpp:26: In file included from src/client/sound/../cl_shared.h:28: In file included from src/client/sound/../../common/common.h:30: In file included from src/client/sound/../../common/../shared/shared.h:54: src/client/sound/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/sound/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/sound/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/sound/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/sound/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/sound/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/sound/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/sound/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/sound/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/sound/s_music.cpp In file included from src/client/sound/s_music.cpp:26: In file included from src/client/sound/s_local.h:31: In file included from src/client/sound/../../shared/shared.h:52: src/client/sound/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/sound/s_music.cpp:26: In file included from src/client/sound/s_local.h:31: In file included from src/client/sound/../../shared/shared.h:54: src/client/sound/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/sound/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/sound/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/sound/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/sound/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/sound/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/sound/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/sound/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/sound/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/sound/s_music.cpp:442:17: warning: cast from 'byte *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] short* ptr = (short*)&userdata->sampleBuf[userdata->samplePos]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/sound/s_music.cpp:445:24: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const short *' increases required alignment from 1 to 2 [-Wcast-align] *ptr = LittleShort(((const short*) data)[src * 2]); ^~~~~~~~~~~~~~~~~~~ src/client/sound/../../common/../shared/byte.h:35:44: note: expanded from macro 'LittleShort' #define LittleShort(X) (short)SDL_SwapLE16(X) ^ /usr/local/include/SDL/SDL_endian.h:192:26: note: expanded from macro 'SDL_SwapLE16' #define SDL_SwapLE16(X) (X) ^ src/client/sound/s_music.cpp:447:24: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const short *' increases required alignment from 1 to 2 [-Wcast-align] *ptr = LittleShort(((const short*) data)[src * 2 + 1]); ^~~~~~~~~~~~~~~~~~~ src/client/sound/../../common/../shared/byte.h:35:44: note: expanded from macro 'LittleShort' #define LittleShort(X) (short)SDL_SwapLE16(X) ^ /usr/local/include/SDL/SDL_endian.h:192:26: note: expanded from macro 'SDL_SwapLE16' #define SDL_SwapLE16(X) (X) ^ src/client/sound/s_music.cpp:454:17: warning: cast from 'byte *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align] short* ptr = (short*)&userdata->sampleBuf[userdata->samplePos]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/sound/s_music.cpp:455:24: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const short *' increases required alignment from 1 to 2 [-Wcast-align] *ptr = LittleShort(((const short*) data)[i * 2]); ^~~~~~~~~~~~~~~~~~~ src/client/sound/../../common/../shared/byte.h:35:44: note: expanded from macro 'LittleShort' #define LittleShort(X) (short)SDL_SwapLE16(X) ^ /usr/local/include/SDL/SDL_endian.h:192:26: note: expanded from macro 'SDL_SwapLE16' #define SDL_SwapLE16(X) (X) ^ src/client/sound/s_music.cpp:457:24: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const short *' increases required alignment from 1 to 2 [-Wcast-align] *ptr = LittleShort(((const short*) data)[i * 2 + 1]); ^~~~~~~~~~~~~~~~~~~ src/client/sound/../../common/../shared/byte.h:35:44: note: expanded from macro 'LittleShort' #define LittleShort(X) (short)SDL_SwapLE16(X) ^ /usr/local/include/SDL/SDL_endian.h:192:26: note: expanded from macro 'SDL_SwapLE16' #define SDL_SwapLE16(X) (X) ^ 16 warnings generated. ===> CXX [ufo] src/client/sound/s_sample.cpp In file included from src/client/sound/s_sample.cpp:26: In file included from src/client/sound/s_sample.h:30: In file included from src/client/sound/s_local.h:31: In file included from src/client/sound/../../shared/shared.h:52: src/client/sound/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/sound/s_sample.cpp:26: In file included from src/client/sound/s_sample.h:30: In file included from src/client/sound/s_local.h:31: In file included from src/client/sound/../../shared/shared.h:54: src/client/sound/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/sound/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/sound/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/sound/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/sound/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/sound/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/sound/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/sound/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/sound/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/sound/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/sound/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/cgame/cl_game.cpp In file included from src/client/cgame/cl_game.cpp:26: In file included from src/client/cgame/cl_game.h:28: In file included from src/client/cgame/../cl_shared.h:28: In file included from src/client/cgame/../../common/common.h:30: In file included from src/client/cgame/../../common/../shared/shared.h:52: src/client/cgame/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cgame/cl_game.cpp:26: In file included from src/client/cgame/cl_game.h:28: In file included from src/client/cgame/../cl_shared.h:28: In file included from src/client/cgame/../../common/common.h:30: In file included from src/client/cgame/../../common/../shared/shared.h:54: src/client/cgame/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/cgame/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cgame/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cgame/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cgame/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/cgame/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/cgame/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cgame/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cgame/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cgame/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/cgame/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/cgame/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cgame/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cgame/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cgame/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/cgame/cl_game.cpp:36: In file included from src/client/cgame/../ui/ui_popup.h:27: src/client/cgame/../ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/cgame/../ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ src/client/cgame/cl_game.cpp:1826:2: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess] OBJZERO(characters); ^~~~~~~~~~~~~~~~~~~ src/client/cgame/../ui/../../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^~~~~~~~~~~~~~~~ src/client/cgame/../ui/../../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ~~~~~~ ^ src/client/cgame/cl_game.cpp:1826:2: note: explicitly cast the pointer to silence this warning src/client/cgame/../ui/../../shared/shared.h:177:26: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ^ src/client/cgame/../ui/../../shared/shared.h:176:34: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^ 12 warnings generated. ===> CXX [ufo] src/client/cgame/cl_game_team.cpp In file included from src/client/cgame/cl_game_team.cpp:26: In file included from src/client/cgame/../client.h:31: In file included from src/client/cgame/../cl_shared.h:28: In file included from src/client/cgame/../../common/common.h:30: In file included from src/client/cgame/../../common/../shared/shared.h:52: src/client/cgame/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/cgame/cl_game_team.cpp:26: In file included from src/client/cgame/../client.h:31: In file included from src/client/cgame/../cl_shared.h:28: In file included from src/client/cgame/../../common/common.h:30: In file included from src/client/cgame/../../common/../shared/shared.h:54: src/client/cgame/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/cgame/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cgame/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cgame/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cgame/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/cgame/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/cgame/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cgame/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cgame/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cgame/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/cgame/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/cgame/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cgame/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/cgame/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/cgame/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/cgame/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/cgame/cl_game_team.cpp:33: In file included from src/client/cgame/../ui/ui_popup.h:27: src/client/cgame/../ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/cgame/../ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ 11 warnings generated. ===> CXX [ufo] src/client/web/web_main.cpp In file included from src/client/web/web_main.cpp:27: In file included from src/client/web/web_main.h:29: In file included from src/client/web/../../common/common.h:30: In file included from src/client/web/../../common/../shared/shared.h:52: src/client/web/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/web/web_main.cpp:27: In file included from src/client/web/web_main.h:29: In file included from src/client/web/../../common/common.h:30: In file included from src/client/web/../../common/../shared/shared.h:54: src/client/web/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/web/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/web/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/web/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/web/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/web/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/web/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/web/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/web/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/web/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/web/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/web/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/web/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/web/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/web/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/web/web_cgame.cpp In file included from src/client/web/web_cgame.cpp:27: In file included from src/client/web/web_main.h:29: In file included from src/client/web/../../common/common.h:30: In file included from src/client/web/../../common/../shared/shared.h:52: src/client/web/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/web/web_cgame.cpp:27: In file included from src/client/web/web_main.h:29: In file included from src/client/web/../../common/common.h:30: In file included from src/client/web/../../common/../shared/shared.h:54: src/client/web/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/web/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/web/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/web/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/web/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/web/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/web/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/web/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/web/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/web/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/web/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/web/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/web/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/web/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/web/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/web/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_main.cpp In file included from src/client/ui/ui_main.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:52: src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_main.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:54: src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_draw.cpp In file included from src/client/ui/ui_draw.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:52: src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_draw.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:54: src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_actions.cpp In file included from src/client/ui/ui_actions.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:52: src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_actions.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:54: src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_node.cpp In file included from src/client/ui/ui_node.cpp:27: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:52: src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_node.cpp:27: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:54: src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_behaviour.cpp In file included from src/client/ui/ui_behaviour.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:52: src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_behaviour.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:54: src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_nodes.cpp In file included from src/client/ui/ui_nodes.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:52: src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_nodes.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:54: src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/ui/ui_nodes.cpp:68: src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ In file included from src/client/ui/ui_nodes.cpp:73: src/client/ui/node/ui_node_timer.h:36:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ 12 warnings generated. ===> CXX [ufo] src/client/ui/ui_dragndrop.cpp In file included from src/client/ui/ui_dragndrop.cpp:25: In file included from src/client/ui/ui_internal.h:35: In file included from src/client/ui/node/ui_node_window.h:28: In file included from src/client/ui/node/ui_node_abstractnode.h:27: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/ui/ui_dragndrop.cpp:25: In file included from src/client/ui/ui_internal.h:35: In file included from src/client/ui/node/ui_node_window.h:28: In file included from src/client/ui/node/ui_node_abstractnode.h:28: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/../../common/scripts.h:28: In file included from src/client/ui/../../common/common.h:30: In file included from src/client/ui/../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_windows.cpp In file included from src/client/ui/ui_windows.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:52: src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_windows.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:54: src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/ui/ui_windows.cpp:29: In file included from src/client/ui/ui_popup.h:27: src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ src/client/ui/ui_windows.cpp:91:7: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (WINDOWEXTRADATA(window).parent != WINDOWEXTRADATA(ui_global.windowStack[j]).parent) ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: expanded from macro 'WINDOWEXTRADATA' #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:91:41: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (WINDOWEXTRADATA(window).parent != WINDOWEXTRADATA(ui_global.windowStack[j]).parent) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: expanded from macro 'WINDOWEXTRADATA' #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:190:4: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] WINDOWEXTRADATA(window).parent = ui_global.windowStack[parentPos]; ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: expanded from macro 'WINDOWEXTRADATA' #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:340:3: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] WINDOWEXTRADATA(window).parent = nullptr; ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: expanded from macro 'WINDOWEXTRADATA' #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:396:7: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (WINDOWEXTRADATA(m).parent != window) { ^~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: expanded from macro 'WINDOWEXTRADATA' #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:401:3: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] WINDOWEXTRADATA(m).parent = nullptr; ^~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: expanded from macro 'WINDOWEXTRADATA' #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:407:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] WINDOWEXTRADATA(window).parent = nullptr; ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: expanded from macro 'WINDOWEXTRADATA' #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:440:7: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (WINDOWEXTRADATA(mainWindow).parent) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: expanded from macro 'WINDOWEXTRADATA' #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:441:17: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] mainWindow = WINDOWEXTRADATA(mainWindow).parent; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: expanded from macro 'WINDOWEXTRADATA' #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:491:6: warning: cast from 'const char *' to 'const windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (WINDOWEXTRADATACONST(window).preventTypingEscape) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:39:37: note: expanded from macro 'WINDOWEXTRADATACONST' #define WINDOWEXTRADATACONST(node) UI_EXTRADATACONST(node, windowExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:544:7: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (WINDOWEXTRADATA(ui_global.windowStack[ui_global.windowStackPos - 1]).dropdown) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: expanded from macro 'WINDOWEXTRADATA' #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:647:7: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (WINDOWEXTRADATA(window).onScriptLoaded) ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: expanded from macro 'WINDOWEXTRADATA' #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:648:35: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(window, WINDOWEXTRADATA(window).onScriptLoaded); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_windows.cpp:38:31: note: expanded from macro 'WINDOWEXTRADATA' #define WINDOWEXTRADATA(node) UI_EXTRADATA(node, windowExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 warnings generated. ===> CXX [ufo] src/client/ui/ui_expression.cpp In file included from src/client/ui/ui_expression.cpp:25: In file included from src/client/ui/ui_expression.h:27: In file included from src/client/ui/../../common/common.h:30: In file included from src/client/ui/../../common/../shared/shared.h:52: src/client/ui/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_expression.cpp:25: In file included from src/client/ui/ui_expression.h:27: In file included from src/client/ui/../../common/common.h:30: In file included from src/client/ui/../../common/../shared/shared.h:54: src/client/ui/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_font.cpp In file included from src/client/ui/ui_font.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:52: src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_font.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:54: src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_timer.cpp In file included from src/client/ui/ui_timer.cpp:25: In file included from src/client/ui/../cl_shared.h:28: In file included from src/client/ui/../../common/common.h:30: In file included from src/client/ui/../../common/../shared/shared.h:52: src/client/ui/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_timer.cpp:25: In file included from src/client/ui/../cl_shared.h:28: In file included from src/client/ui/../../common/common.h:30: In file included from src/client/ui/../../common/../shared/shared.h:54: src/client/ui/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_components.cpp In file included from src/client/ui/ui_components.cpp:25: In file included from src/client/ui/ui_internal.h:35: In file included from src/client/ui/node/ui_node_window.h:28: In file included from src/client/ui/node/ui_node_abstractnode.h:27: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/ui/ui_components.cpp:25: In file included from src/client/ui/ui_internal.h:35: In file included from src/client/ui/node/ui_node_window.h:28: In file included from src/client/ui/node/ui_node_abstractnode.h:28: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/../../common/scripts.h:28: In file included from src/client/ui/../../common/common.h:30: In file included from src/client/ui/../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_tooltip.cpp In file included from src/client/ui/ui_tooltip.cpp:25: In file included from src/client/ui/../cl_shared.h:28: In file included from src/client/ui/../../common/common.h:30: In file included from src/client/ui/../../common/../shared/shared.h:52: src/client/ui/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_tooltip.cpp:25: In file included from src/client/ui/../cl_shared.h:28: In file included from src/client/ui/../../common/common.h:30: In file included from src/client/ui/../../common/../shared/shared.h:54: src/client/ui/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_data.cpp In file included from src/client/ui/ui_data.cpp:25: In file included from src/client/ui/../cl_shared.h:28: In file included from src/client/ui/../../common/common.h:30: In file included from src/client/ui/../../common/../shared/shared.h:52: src/client/ui/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_data.cpp:25: In file included from src/client/ui/../cl_shared.h:28: In file included from src/client/ui/../../common/common.h:30: In file included from src/client/ui/../../common/../shared/shared.h:54: src/client/ui/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/ui_data.cpp:270:35: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* label = CL_Translate(OPTIONEXTRADATA(*option).label); ^~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_data.cpp:274:42: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* searchlabel = CL_Translate(OPTIONEXTRADATA(search).label); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_data.cpp:389:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (OPTIONEXTRADATA(option).collapsed) { ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_data.cpp:395:15: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (index < OPTIONEXTRADATA(option).childCount) { ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_data.cpp:402:12: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] index -= OPTIONEXTRADATA(option).childCount; ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_data.cpp:449:6: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (OPTIONEXTRADATA(option).collapsed && iterator->skipCollapsed) ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/ui_data.cpp:482:15: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (Q_streq(OPTIONEXTRADATA(iterator->option).value, value)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/../../shared/shared.h:136:31: note: expanded from macro 'Q_streq' #define Q_streq(a, b) (strcmp(a, b) == 0) ^ 17 warnings generated. ===> CXX [ufo] src/client/ui/ui_parse.cpp In file included from src/client/ui/ui_parse.cpp:28: In file included from src/client/ui/../client.h:31: In file included from src/client/ui/../cl_shared.h:28: In file included from src/client/ui/../../common/common.h:30: In file included from src/client/ui/../../common/../shared/shared.h:52: src/client/ui/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_parse.cpp:28: In file included from src/client/ui/../client.h:31: In file included from src/client/ui/../cl_shared.h:28: In file included from src/client/ui/../../common/common.h:30: In file included from src/client/ui/../../common/../shared/shared.h:54: src/client/ui/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_sprite.cpp In file included from src/client/ui/ui_sprite.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:52: src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_sprite.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:54: src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_sound.cpp In file included from src/client/ui/ui_sound.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:52: src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_sound.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:54: src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_render.cpp In file included from src/client/ui/ui_render.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:52: src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_render.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:54: src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_input.cpp In file included from src/client/ui/ui_input.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:52: src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_input.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:54: src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/ui_popup.cpp In file included from src/client/ui/ui_popup.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:52: src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/ui_popup.cpp:25: In file included from src/client/ui/ui_main.h:27: In file included from src/client/ui/ui_data.h:30: In file included from src/client/ui/../../shared/shared.h:54: src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/ui/ui_popup.cpp:28: In file included from src/client/ui/ui_popup.h:27: src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ 11 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_abstractoption.cpp In file included from src/client/ui/node/ui_node_abstractoption.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_abstractoption.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_abstractoption.cpp:57:7: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (!EXTRADATA(node).cvar || !*EXTRADATA(node).cvar) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:57:33: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (!EXTRADATA(node).cvar || !*EXTRADATA(node).cvar) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:63:18: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (!Q_strstart(EXTRADATA(node).cvar, "*cvar:")) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:66:37: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] return UI_GetReferenceString(node, EXTRADATA(node).cvar); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:71:26: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] const char* cvarName = &EXTRADATA(node).cvar[6]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:81:6: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).dataId == 0) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:90:3: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).count = count; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:105:35: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] const int v = UI_GetDataVersion(EXTRADATA(node).dataId); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:106:12: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (v != EXTRADATA(node).versionId) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:108:36: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] uiNode_t* option = UI_GetOption(EXTRADATA(node).dataId); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:114:4: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).count = count; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:115:4: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).versionId = v; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:117:23: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] return UI_GetOption(EXTRADATA(node).dataId); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:150:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "dataid", V_UI_DATAID, EXTRADATA_TYPE, dataId); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractoption.cpp:150:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "dataid", V_UI_DATAID, EXTRADATA_TYPE, dataId); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:152:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "lineheight", V_INT, EXTRADATA_TYPE, lineHeight); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractoption.cpp:152:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "lineheight", V_INT, EXTRADATA_TYPE, lineHeight); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:155:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "viewpos", V_INT, EXTRADATA_TYPE, scrollY.viewPos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractoption.cpp:155:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "viewpos", V_INT, EXTRADATA_TYPE, scrollY.viewPos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:157:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, EXTRADATA_TYPE, scrollY.viewSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractoption.cpp:157:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, EXTRADATA_TYPE, scrollY.viewSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:159:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, EXTRADATA_TYPE, scrollY.fullSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractoption.cpp:159:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, EXTRADATA_TYPE, scrollY.fullSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:162:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "count", V_INT, EXTRADATA_TYPE, count); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractoption.cpp:162:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "count", V_INT, EXTRADATA_TYPE, count); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:165:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "cvar", V_UI_CVAR, EXTRADATA_TYPE, cvar); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractoption.cpp:165:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "cvar", V_UI_CVAR, EXTRADATA_TYPE, cvar); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractoption.cpp:168:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "onviewchange", V_UI_ACTION, EXTRADATA_TYPE, onViewChange); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractoption.cpp:168:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "onviewchange", V_UI_ACTION, EXTRADATA_TYPE, onViewChange); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_abstractnode.cpp In file included from src/client/ui/node/ui_node_abstractnode.cpp:26: In file included from src/client/ui/node/ui_node_abstractnode.h:27: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/ui/node/ui_node_abstractnode.cpp:26: In file included from src/client/ui/node/ui_node_abstractnode.h:28: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ 10 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_image.cpp In file included from src/client/ui/node/ui_node_image.cpp:39: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_image.cpp:39: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_image.cpp:59:7: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).texl[0] != 0 || EXTRADATA(node).texh[0]) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:59:39: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).texl[0] != 0 || EXTRADATA(node).texh[0]) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:60:24: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] node->box.size[0] = EXTRADATA(node).texh[0] - EXTRADATA(node).texl[0]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:60:50: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] node->box.size[0] = EXTRADATA(node).texh[0] - EXTRADATA(node).texl[0]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:61:24: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] node->box.size[1] = EXTRADATA(node).texh[1] - EXTRADATA(node).texl[1]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:61:50: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] node->box.size[1] = EXTRADATA(node).texh[1] - EXTRADATA(node).texl[1]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:62:14: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] } else if (EXTRADATA(node).source) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:63:40: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const image_t* image = UI_LoadImage(EXTRADATA(node).source); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:129:54: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* imageName = UI_GetReferenceString(node, EXTRADATA(node).source); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:169:7: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).preventRatio) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:182:4: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).texh[0], EXTRADATA(node).texh[1], ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:182:29: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).texh[0], EXTRADATA(node).texh[1], ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:183:4: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], image); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:183:29: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], image); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:203:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "preventratio", V_BOOL, EXTRADATA_TYPE, preventRatio); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_image.cpp:203:2: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "preventratio", V_BOOL, EXTRADATA_TYPE, preventRatio); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:207:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "mousefx", V_BOOL, EXTRADATA_TYPE, mousefx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_image.cpp:207:2: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "mousefx", V_BOOL, EXTRADATA_TYPE, mousefx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:210:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "texh", V_POS, EXTRADATA_TYPE, texh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_image.cpp:210:2: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "texh", V_POS, EXTRADATA_TYPE, texh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:212:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "texl", V_POS, EXTRADATA_TYPE, texl); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_image.cpp:212:2: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "texl", V_POS, EXTRADATA_TYPE, texl); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_image.cpp:215:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, EXTRADATA_TYPE, source); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_image.cpp:215:2: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, EXTRADATA_TYPE, source); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 34 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_window.cpp In file included from src/client/ui/node/ui_node_window.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_window.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_window.cpp:61:11: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] for (a = EXTRADATA(node).index_hash[hash]; a; a = a->hash_next) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:78:11: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] for (a = EXTRADATA(node).index_hash[hash]; a; a = a->hash_next) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:87:13: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] a->next = EXTRADATA(node).index; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:88:18: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] a->hash_next = EXTRADATA(node).index_hash[hash]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:89:3: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).index_hash[hash] = a; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:90:3: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).index = a; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:111:9: warning: cast from 'const char *' to 'const windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] return EXTRADATACONST(node).isFullScreen; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:41:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:144:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).modal && ui_global.windowStack[ui_global.windowStackPos - 1] == node) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:147:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).background) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:148:29: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(false, EXTRADATA(node).background, SPRITE_STATUS_NORMAL, pos[0], pos[1], node->box.size[0], node->box.size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:163:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).fill) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:180:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).starLayout) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:196:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).onWindowOpened) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:197:34: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActionsEx(node, EXTRADATA(node).onWindowOpened, params); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:210:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).onWindowClosed) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:211:32: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onWindowClosed); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:222:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).onWindowActivate) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:223:32: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onWindowActivate); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:243:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).dragButton) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:255:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).closeButton) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:272:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).isFullScreen = node->box.size[0] == VID_NORM_WIDTH ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:275:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).starLayout) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:282:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(clone).index = nullptr; ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:283:10: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] OBJZERO(EXTRADATA(clone).index_hash); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/../game/../shared/shared.h:177:34: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ~~~~~~~~^~~~~~~~ src/client/ui/node/../../../common/../game/../shared/shared.h:176:36: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^~~ src/client/ui/node/ui_node_window.cpp:283:10: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] OBJZERO(EXTRADATA(clone).index_hash); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/../game/../shared/shared.h:177:34: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ~~~~~~~~^~~~~~~~ src/client/ui/node/../../../common/../game/../shared/shared.h:176:56: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^~~ src/client/ui/node/ui_node_window.cpp:293:19: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (Vector2Empty(EXTRADATA(node).noticePos)) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:74:43: note: expanded from macro 'Vector2Empty' #define Vector2Empty(a) (Vector2Equal((a), vec2_origin)) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/vector.h:67:40: note: expanded from macro 'Vector2Equal' #define Vector2Equal(a,b) (EQUAL((a)[0],(b)[0])?EQUAL((a)[1],(b)[1])?true:false:false) ~~~~~~~^~~~~~~~~~~~~ src/client/ui/node/../../../shared/vector.h:37:28: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ src/client/ui/node/ui_node_window.cpp:293:19: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (Vector2Empty(EXTRADATA(node).noticePos)) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:74:43: note: expanded from macro 'Vector2Empty' #define Vector2Empty(a) (Vector2Equal((a), vec2_origin)) ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ src/client/ui/node/../../../shared/vector.h:67:61: note: expanded from macro 'Vector2Equal' #define Vector2Equal(a,b) (EQUAL((a)[0],(b)[0])?EQUAL((a)[1],(b)[1])?true:false:false) ~~~~~~~^~~~~~~~~~~~~ src/client/ui/node/../../../shared/vector.h:37:28: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ src/client/ui/node/ui_node_window.cpp:295:9: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] return EXTRADATA(node).noticePos; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:305:9: warning: cast from 'const char *' to 'const windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] return EXTRADATACONST(node).dropdown; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:41:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:315:9: warning: cast from 'const char *' to 'const windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] return EXTRADATACONST(node).modal; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:41:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:328:18: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] binding->next = EXTRADATA(node).keyList; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:329:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).keyList = binding; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:342:28: warning: cast from 'const char *' to 'const windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] uiKeyBinding_t* binding = EXTRADATACONST(node).keyList; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:41:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:360:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "noticepos", V_POS, windowExtraData_t, noticePos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_window.cpp:360:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "noticepos", V_POS, windowExtraData_t, noticePos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:362:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "dragbutton", V_BOOL, windowExtraData_t, dragButton); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_window.cpp:362:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "dragbutton", V_BOOL, windowExtraData_t, dragButton); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:364:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "closebutton", V_BOOL, windowExtraData_t, closeButton); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_window.cpp:364:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "closebutton", V_BOOL, windowExtraData_t, closeButton); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:366:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "modal", V_BOOL, windowExtraData_t, modal); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_window.cpp:366:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "modal", V_BOOL, windowExtraData_t, modal); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:368:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "dropdown", V_BOOL, windowExtraData_t, dropdown); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_window.cpp:368:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "dropdown", V_BOOL, windowExtraData_t, dropdown); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:370:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "preventtypingescape", V_BOOL, windowExtraData_t, preventTypingEscape); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_window.cpp:370:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "preventtypingescape", V_BOOL, windowExtraData_t, preventTypingEscape); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:372:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "fill", V_BOOL, windowExtraData_t, fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_window.cpp:372:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "fill", V_BOOL, windowExtraData_t, fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:376:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "starlayout", V_BOOL, windowExtraData_t, starLayout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_window.cpp:376:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "starlayout", V_BOOL, windowExtraData_t, starLayout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:379:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "onWindowOpened", V_UI_ACTION, windowExtraData_t, onWindowOpened); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_window.cpp:379:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "onWindowOpened", V_UI_ACTION, windowExtraData_t, onWindowOpened); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:381:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "onWindowClosed", V_UI_ACTION, windowExtraData_t, onWindowClosed); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_window.cpp:381:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "onWindowClosed", V_UI_ACTION, windowExtraData_t, onWindowClosed); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:383:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "onWindowActivate", V_UI_ACTION, windowExtraData_t, onWindowActivate); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_window.cpp:383:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "onWindowActivate", V_UI_ACTION, windowExtraData_t, onWindowActivate); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:385:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "onScriptLoaded", V_UI_ACTION, windowExtraData_t, onScriptLoaded); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_window.cpp:385:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "onScriptLoaded", V_UI_ACTION, windowExtraData_t, onScriptLoaded); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_window.cpp:388:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_window.cpp:388:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_textlist.cpp In file included from src/client/ui/node/ui_node_textlist.cpp:25: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_textlist.cpp:25: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/ui/node/ui_node_textlist.cpp:32: src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/ui/node/../node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ src/client/ui/node/ui_node_textlist.cpp:51:19: warning: cast from 'const char *' to 'const textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] int lineHeight = EXTRADATACONST(node).lineHeight; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:40:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:59:34: warning: cast from 'const char *' to 'const textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] return (int) (y / lineHeight) + EXTRADATACONST(node).super.scrollY.viewPos; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:40:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:64:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).lineUnderMouse = UI_TextListNodeGetLine(node, x, y); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:84:15: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] lineHeight = EXTRADATA(node).lineHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:91:15: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] viewSizeY = EXTRADATA(node).super.scrollY.viewSize; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:106:25: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] while (list && count < EXTRADATA(node).super.scrollY.viewPos) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:120:16: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:120:52: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:126:31: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (node->state && count == EXTRADATA(node).lineUnderMouse) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:127:17: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:127:53: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:161:33: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] shared = &ui_global.sharedData[EXTRADATA(node).dataID]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:167:84: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] Com_Printf("UI_TextListNodeDraw: Only linkedlist text supported (dataid %d).\n", EXTRADATA(node).dataID); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:168:16: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ResetData(EXTRADATA(node).dataID); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:183:26: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (line < 0 || line >= EXTRADATA(node).super.scrollY.fullSize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:186:14: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (line != EXTRADATA(node).textLineSelected) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:187:3: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).textLineSelected = line; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:188:3: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).textSelected = UI_TextNodeGetSelectedText(node, line); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:205:26: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (line < 0 || line >= EXTRADATA(node).super.scrollY.fullSize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:208:14: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (line != EXTRADATA(node).textLineSelected) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:209:3: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).textLineSelected = line; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:210:3: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).textSelected = UI_TextNodeGetSelectedText(node, line); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:221:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).textLineSelected = -1; /**< Invalid/no line selected per default. */ ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:222:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).textSelected = ""; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, textExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_special.cpp In file included from src/client/ui/node/ui_node_special.cpp:25: In file included from src/client/ui/node/../../cl_shared.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_special.cpp:25: In file included from src/client/ui/node/../../cl_shared.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_model.cpp In file included from src/client/ui/node/ui_node_model.cpp:30: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_model.cpp:30: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_model.cpp:86:48: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* ref = UI_GetReferenceString(node, EXTRADATA(node).model); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:105:43: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] nodeorigin[0] += node->box.size[0] / 2 + EXTRADATA(node).origin[0]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:106:43: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] nodeorigin[1] += node->box.size[1] / 2 + EXTRADATA(node).origin[1]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:107:18: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] nodeorigin[2] = EXTRADATA(node).origin[2]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:109:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(EXTRADATA(node).scale, mi->scale); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:49: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~ src/client/ui/node/ui_node_model.cpp:109:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(EXTRADATA(node).scale, mi->scale); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:68: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~ src/client/ui/node/ui_node_model.cpp:109:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(EXTRADATA(node).scale, mi->scale); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:87: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~ src/client/ui/node/ui_node_model.cpp:110:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(EXTRADATA(node).angles, mi->angles); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:49: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~ src/client/ui/node/ui_node_model.cpp:110:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(EXTRADATA(node).angles, mi->angles); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:68: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~ src/client/ui/node/ui_node_model.cpp:110:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(EXTRADATA(node).angles, mi->angles); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:87: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~ src/client/ui/node/ui_node_model.cpp:182:8: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).autoscale) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:205:8: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).autoscale) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:219:8: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).animation && *EXTRADATA(node).animation) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:219:38: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).animation && *EXTRADATA(node).animation) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:220:39: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] ref = UI_GetReferenceString(node, EXTRADATA(node).animation); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:278:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).clipOverflow) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:281:43: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] nodeorigin[0] += node->box.size[0] / 2 + EXTRADATA(node).origin[0]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:282:43: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] nodeorigin[1] += node->box.size[1] / 2 + EXTRADATA(node).origin[1]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:283:18: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] nodeorigin[2] = EXTRADATA(node).origin[2]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:285:11: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorMA(EXTRADATA(node).angles, cls.frametime, EXTRADATA(node).omega, EXTRADATA(node).angles); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:285:50: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorMA(EXTRADATA(node).angles, cls.frametime, EXTRADATA(node).omega, EXTRADATA(node).angles); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:285:73: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorMA(EXTRADATA(node).angles, cls.frametime, EXTRADATA(node).omega, EXTRADATA(node).angles); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:287:14: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] mi.angles = EXTRADATA(node).angles; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:288:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] mi.scale = EXTRADATA(node).scale; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:296:7: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).clipOverflow) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:302:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).tag) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:303:7: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).clipOverflow) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:309:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).autoscale) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:322:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).skin && *EXTRADATA(node).skin) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:322:31: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).skin && *EXTRADATA(node).skin) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:323:46: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] mi.skin = atoi(UI_GetReferenceString(node, EXTRADATA(node).skin)); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:328:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).animation && *EXTRADATA(node).animation) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:328:36: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).animation && *EXTRADATA(node).animation) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:330:37: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] ref = UI_GetReferenceString(node, EXTRADATA(node).animation); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:333:15: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (strncmp(EXTRADATA(node).oldRefValue, source, MAX_OLDREFVALUE)) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:334:15: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Q_strncpyz(EXTRADATA(node).oldRefValue, source, MAX_OLDREFVALUE); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:336:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Mem_Free(EXTRADATA(node).animationState); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/mem.h:34:42: note: expanded from macro 'Mem_Free' #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) ^~~ src/client/ui/node/ui_node_model.cpp:337:4: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).animationState = nullptr; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:339:21: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] animState_t* as = EXTRADATA(node).animationState; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:345:4: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).animationState = as; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:381:16: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] mi.angles = EXTRADATA(child).angles; ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:382:15: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] mi.scale = EXTRADATA(child).scale; ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:384:16: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] mi.origin = EXTRADATA(child).origin; ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:388:10: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] tag = EXTRADATA(child).tag; ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:391:44: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] childRef = UI_GetReferenceString(child, EXTRADATA(child).model); ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:400:8: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(child).skin && *EXTRADATA(child).skin) ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:400:34: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(child).skin && *EXTRADATA(child).skin) ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:401:49: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] mi.skin = atoi(UI_GetReferenceString(child, EXTRADATA(child).skin)); ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:409:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).clipOverflow) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:418:24: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] float* rotateAngles = EXTRADATA(node).angles; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:440:7: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (!EXTRADATA(node).rotateWithMouse) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:462:12: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSet(EXTRADATA(node).scale, 1, 1, 1); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:59:35: note: expanded from macro 'VectorSet' #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) ^ src/client/ui/node/ui_node_model.cpp:462:12: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSet(EXTRADATA(node).scale, 1, 1, 1); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:59:47: note: expanded from macro 'VectorSet' #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) ^ src/client/ui/node/ui_node_model.cpp:462:12: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSet(EXTRADATA(node).scale, 1, 1, 1); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:59:59: note: expanded from macro 'VectorSet' #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) ^ src/client/ui/node/ui_node_model.cpp:463:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).clipOverflow = true; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:473:3: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(clone).oldRefValue = UI_AllocStaticString("", MAX_OLDREFVALUE); ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:478:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).oldRefValue = Mem_PoolAllocTypeN(char, MAX_OLDREFVALUE, ui_dynPool); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:479:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).oldRefValue[0] = '\0'; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:484:11: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Mem_Free(EXTRADATA(node).oldRefValue); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/mem.h:34:42: note: expanded from macro 'Mem_Free' #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) ^~~ src/client/ui/node/ui_node_model.cpp:485:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).oldRefValue = nullptr; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:491:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).tag != nullptr && node->behaviour != node->parent->behaviour) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:493:3: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).tag = nullptr; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:496:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).oldRefValue == nullptr) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:497:3: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).oldRefValue = UI_AllocStaticString("", MAX_OLDREFVALUE); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:500:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).tag == nullptr && (node->box.size[0] == 0 || node->box.size[1] == 0)) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:514:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "anim", V_CVAR_OR_STRING, modelExtraData_t, animation); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_model.cpp:514:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "anim", V_CVAR_OR_STRING, modelExtraData_t, animation); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:516:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "angles", V_VECTOR, modelExtraData_t, angles); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_model.cpp:516:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "angles", V_VECTOR, modelExtraData_t, angles); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:518:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "origin", V_VECTOR, modelExtraData_t, origin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_model.cpp:518:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "origin", V_VECTOR, modelExtraData_t, origin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:520:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "omega", V_VECTOR, modelExtraData_t, omega); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_model.cpp:520:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "omega", V_VECTOR, modelExtraData_t, omega); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:522:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "scale", V_VECTOR, modelExtraData_t, scale); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_model.cpp:522:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "scale", V_VECTOR, modelExtraData_t, scale); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:524:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "tag", V_CVAR_OR_STRING, modelExtraData_t, tag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_model.cpp:524:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "tag", V_CVAR_OR_STRING, modelExtraData_t, tag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:528:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "autoscale", V_BOOL, modelExtraData_t, autoscale); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_model.cpp:528:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "autoscale", V_BOOL, modelExtraData_t, autoscale); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:530:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "rotatewithmouse", V_BOOL, modelExtraData_t, rotateWithMouse); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_model.cpp:530:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "rotatewithmouse", V_BOOL, modelExtraData_t, rotateWithMouse); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:532:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "clipoverflow", V_BOOL, modelExtraData_t, clipOverflow); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_model.cpp:532:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "clipoverflow", V_BOOL, modelExtraData_t, clipOverflow); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:534:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, modelExtraData_t, model); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_model.cpp:534:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, modelExtraData_t, model); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_model.cpp:536:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "skin", V_CVAR_OR_STRING, modelExtraData_t, skin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_model.cpp:536:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "skin", V_CVAR_OR_STRING, modelExtraData_t, skin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_linechart.cpp In file included from src/client/ui/node/ui_node_linechart.cpp:25: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_linechart.cpp:25: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_linechart.cpp:40:21: warning: cast from 'char *' to 'lineChartExtraData_t *' (aka 'lineChartExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] const int dataId = EXTRADATA(node).dataId; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:48:3: warning: cast from 'char *' to 'lineChartExtraData_t *' (aka 'lineChartExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] EXTRADATA(node).dataId = 0; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:58:6: warning: cast from 'char *' to 'lineChartExtraData_t *' (aka 'lineChartExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).displayAxes) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:66:11: warning: cast from 'char *' to 'lineChartExtraData_t *' (aka 'lineChartExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] R_Color(EXTRADATA(node).axesColor); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:35:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:91:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "dataid", V_UI_DATAID, lineChartExtraData_t, dataId); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_linechart.cpp:91:2: warning: cast from 'char *' to 'lineChartExtraData_t *' (aka 'lineChartExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "dataid", V_UI_DATAID, lineChartExtraData_t, dataId); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:93:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "displayaxes", V_BOOL, lineChartExtraData_t, displayAxes); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_linechart.cpp:93:2: warning: cast from 'char *' to 'lineChartExtraData_t *' (aka 'lineChartExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "displayaxes", V_BOOL, lineChartExtraData_t, displayAxes); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_linechart.cpp:95:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "axescolor", V_COLOR, lineChartExtraData_t, axesColor); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_linechart.cpp:95:2: warning: cast from 'char *' to 'lineChartExtraData_t *' (aka 'lineChartExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "axescolor", V_COLOR, lineChartExtraData_t, axesColor); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 20 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_battlescape.cpp In file included from src/client/ui/node/ui_node_battlescape.cpp:28: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_battlescape.cpp:28: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_string.cpp In file included from src/client/ui/node/ui_node_string.cpp:47: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_string.cpp:47: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_string.cpp:81:234: warning: cast from 'char *' to 'stringExtraData_t *' increases required alignment from 1 to 4 [-Wcast-align] UI_DrawStringInBox(font, (align_t)node->contentAlign, nodepos[0] + node->padding, nodepos[1] + node->padding, node->box.size[0] - node->padding - node->padding, node->box.size[1] - node->padding - node->padding, ref, (longlines_t) EXTRADATA(node).longlines); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:104:45: warning: cast from 'const char *' to 'const stringExtraData_t *' increases required alignment from 1 to 4 [-Wcast-align] const longlines_t longLines = (longlines_t)EXTRADATACONST(node).longlines; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:58:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:120:2: warning: cast from 'char *' to 'stringExtraData_t *' increases required alignment from 1 to 4 [-Wcast-align] EXTRADATA(node).longlines = LONGLINES_PRETTYCHOP; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_string.cpp:132:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "longlines", V_INT, EXTRADATA_TYPE, longlines); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_string.cpp:132:2: warning: cast from 'char *' to 'stringExtraData_t *' increases required alignment from 1 to 4 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "longlines", V_INT, EXTRADATA_TYPE, longlines); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_abstractvalue.cpp In file included from src/client/ui/node/ui_node_abstractvalue.cpp:27: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_abstractvalue.cpp:27: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_abstractvalue.cpp:49:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).shiftIncreaseFactor = 2.0F; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:54:31: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_InitCvarOrFloat((float**)&EXTRADATA(node).value, 0); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:55:31: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_InitCvarOrFloat((float**)&EXTRADATA(node).delta, 1); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:56:31: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_InitCvarOrFloat((float**)&EXTRADATA(node).max, 0); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:57:31: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_InitCvarOrFloat((float**)&EXTRADATA(node).min, 0); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:62:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).value = Mem_PoolAllocType(float, ui_dynPool); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:63:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).delta = Mem_PoolAllocType(float, ui_dynPool); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:64:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).max = Mem_PoolAllocType(float, ui_dynPool); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:65:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).min = Mem_PoolAllocType(float, ui_dynPool); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:70:11: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Mem_Free(EXTRADATA(node).value); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/mem.h:34:42: note: expanded from macro 'Mem_Free' #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) ^~~ src/client/ui/node/ui_node_abstractvalue.cpp:71:11: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Mem_Free(EXTRADATA(node).delta); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/mem.h:34:42: note: expanded from macro 'Mem_Free' #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) ^~~ src/client/ui/node/ui_node_abstractvalue.cpp:72:11: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Mem_Free(EXTRADATA(node).max); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/mem.h:34:42: note: expanded from macro 'Mem_Free' #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) ^~~ src/client/ui/node/ui_node_abstractvalue.cpp:73:11: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Mem_Free(EXTRADATA(node).min); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/mem.h:34:42: note: expanded from macro 'Mem_Free' #define Mem_Free(ptr) _Mem_Free((ptr),__FILE__,__LINE__) ^~~ src/client/ui/node/ui_node_abstractvalue.cpp:74:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).value = nullptr; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:75:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).delta = nullptr; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:76:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).max = nullptr; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:77:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).min = nullptr; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:88:18: warning: cast from 'float **' to 'const char **' must have all intermediate pointers const qualified to be safe [-Wcast-qual] *(const char**)cloneData = *(const char*const*)sourceData; ^ src/client/ui/node/ui_node_abstractvalue.cpp:102:9: warning: cast from 'const char *' to 'const abstractValueExtraData_t *' (aka 'const abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] return EXTRADATACONST(node).shiftIncreaseFactor; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:107:6: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).min == nullptr) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:108:32: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_InitCvarOrFloat((float**)&EXTRADATA(node).min, min); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:110:6: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).max == nullptr) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:111:32: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_InitCvarOrFloat((float**)&EXTRADATA(node).max, max); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:117:48: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float last = UI_GetReferenceFloat(node, EXTRADATA(node).value); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:118:47: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float max = UI_GetReferenceFloat(node, EXTRADATA(node).max); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:119:47: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float min = UI_GetReferenceFloat(node, EXTRADATA(node).min); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:133:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).lastdiff = value - last; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:134:39: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* cvar = Q_strstart((char*)EXTRADATA(node).value, "*cvar:"); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:138:13: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] *(float*) EXTRADATA(node).value = value; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:149:43: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] float value = UI_GetReferenceFloat(node, EXTRADATA(node).value); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:150:72: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float delta = getFactorFloat(node) * UI_GetReferenceFloat(node, EXTRADATA(node).delta); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:156:43: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] float value = UI_GetReferenceFloat(node, EXTRADATA(node).value); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:157:72: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float delta = getFactorFloat(node) * UI_GetReferenceFloat(node, EXTRADATA(node).delta); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:163:36: warning: cast from 'const char *' to 'const abstractValueExtraData_t *' (aka 'const abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] return UI_GetReferenceFloat(node, EXTRADATACONST(node).min); ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:168:36: warning: cast from 'const char *' to 'const abstractValueExtraData_t *' (aka 'const abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] return UI_GetReferenceFloat(node, EXTRADATACONST(node).max); ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:173:36: warning: cast from 'const char *' to 'const abstractValueExtraData_t *' (aka 'const abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] return UI_GetReferenceFloat(node, EXTRADATACONST(node).delta); ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:178:36: warning: cast from 'const char *' to 'const abstractValueExtraData_t *' (aka 'const abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] return UI_GetReferenceFloat(node, EXTRADATACONST(node).value); ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:187:58: warning: cast from 'const char *' to 'const abstractValueExtraData_t *' (aka 'const abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).value, (float**)&EXTRADATA(clone).value); ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:187:98: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).value, (float**)&EXTRADATA(clone).value); ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:188:58: warning: cast from 'const char *' to 'const abstractValueExtraData_t *' (aka 'const abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).delta, (float**)&EXTRADATA(clone).delta); ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:188:98: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).delta, (float**)&EXTRADATA(clone).delta); ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:189:58: warning: cast from 'const char *' to 'const abstractValueExtraData_t *' (aka 'const abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).max, (float**)&EXTRADATA(clone).max); ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:189:96: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).max, (float**)&EXTRADATA(clone).max); ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:190:58: warning: cast from 'const char *' to 'const abstractValueExtraData_t *' (aka 'const abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).min, (float**)&EXTRADATA(clone).min); ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:37:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:190:96: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_CloneCvarOrFloat(source, clone, (const float*const*)&EXTRADATACONST(source).min, (float**)&EXTRADATA(clone).min); ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:201:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "current", V_CVAR_OR_FLOAT, abstractValueExtraData_t, value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractvalue.cpp:201:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "current", V_CVAR_OR_FLOAT, abstractValueExtraData_t, value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:203:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "delta", V_CVAR_OR_FLOAT, abstractValueExtraData_t, delta); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractvalue.cpp:203:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "delta", V_CVAR_OR_FLOAT, abstractValueExtraData_t, delta); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:205:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "max", V_CVAR_OR_FLOAT, abstractValueExtraData_t, max); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractvalue.cpp:205:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "max", V_CVAR_OR_FLOAT, abstractValueExtraData_t, max); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:207:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "min", V_CVAR_OR_FLOAT, abstractValueExtraData_t, min); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractvalue.cpp:207:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "min", V_CVAR_OR_FLOAT, abstractValueExtraData_t, min); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:209:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "shiftincreasefactor", V_FLOAT, abstractValueExtraData_t, shiftIncreaseFactor); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractvalue.cpp:209:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "shiftincreasefactor", V_FLOAT, abstractValueExtraData_t, shiftIncreaseFactor); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractvalue.cpp:214:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "lastdiff", V_FLOAT, abstractValueExtraData_t, lastdiff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractvalue.cpp:214:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "lastdiff", V_FLOAT, abstractValueExtraData_t, lastdiff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 67 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_texture.cpp In file included from src/client/ui/node/ui_node_texture.cpp:34: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_texture.cpp:34: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_editor.cpp In file included from src/client/ui/node/ui_node_editor.cpp:28: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_editor.cpp:28: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_panel.cpp In file included from src/client/ui/node/ui_node_panel.cpp:25: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_panel.cpp:25: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_panel.cpp:56:6: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).background) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:57:29: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(false, EXTRADATA(node).background, SPRITE_STATUS_NORMAL, pos[0], pos[1], node->box.size[0], node->box.size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:93:13: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).super.scrollX.set(-1, node->box.size[0], node->box.size[0]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:94:13: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).super.scrollY.set(-1, node->box.size[1], positionY + node->padding) || updated; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:95:18: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (updated && EXTRADATA(node).super.onViewChange) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:96:33: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).super.onViewChange); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:343:12: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).super.scrollX.set(-1, node->box.size[0], width); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:344:12: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).super.scrollY.set(-1, node->box.size[1], height) || updated; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:345:17: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (updated && EXTRADATA(node).super.onViewChange) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:346:32: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).super.onViewChange); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:363:6: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).layoutColumns <= 0) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:368:39: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] int* columnPos = Mem_AllocTypeN(int, EXTRADATA(node).layoutColumns); ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/mem.h:37:84: note: expanded from macro 'Mem_AllocTypeN' #define Mem_AllocTypeN(type, n) static_cast(Mem_Alloc(sizeof(type) * (n))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/client/ui/node/../../../common/mem.h:39:48: note: expanded from macro 'Mem_Alloc' #define Mem_Alloc(size) Mem_PoolAlloc((size), com_genericPool, 0) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:40:57: note: expanded from macro 'Mem_PoolAlloc' #define Mem_PoolAlloc(size,pool,tagNum) _Mem_Alloc((size),true,(pool),(tagNum),__FILE__,__LINE__) ^~~~ src/client/ui/node/ui_node_panel.cpp:369:40: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] int* columnSize = Mem_AllocTypeN(int, EXTRADATA(node).layoutColumns); ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/mem.h:37:84: note: expanded from macro 'Mem_AllocTypeN' #define Mem_AllocTypeN(type, n) static_cast(Mem_Alloc(sizeof(type) * (n))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ src/client/ui/node/../../../common/mem.h:39:48: note: expanded from macro 'Mem_Alloc' #define Mem_Alloc(size) Mem_PoolAlloc((size), com_genericPool, 0) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../../common/mem.h:40:57: note: expanded from macro 'Mem_PoolAlloc' #define Mem_PoolAlloc(size,pool,tagNum) _Mem_Alloc((size),true,(pool),(tagNum),__FILE__,__LINE__) ^~~~ src/client/ui/node/ui_node_panel.cpp:373:18: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] for (i = 0; i < EXTRADATA(node).layoutColumns; i++) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:385:18: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] for (i = 1; i < EXTRADATA(node).layoutColumns; i++) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:386:57: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] columnPos[i] = columnPos[i - 1] + columnSize[i - 1] + EXTRADATA(node).layoutMargin; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:393:26: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] const int column = i % EXTRADATA(node).layoutColumns; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:398:22: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] y += rowHeight + EXTRADATA(node).layoutMargin; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:410:22: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] const int column = EXTRADATA(node).layoutColumns; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:415:13: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).super.scrollX.set(-1, node->box.size[0], width); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:416:13: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).super.scrollY.set(-1, node->box.size[1], height) || updated; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:417:18: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (updated && EXTRADATA(node).super.onViewChange) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:418:33: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).super.onViewChange); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:430:10: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] switch (EXTRADATA(node).layout) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:434:30: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_TopDownFlowLayout(node, EXTRADATA(node).layoutMargin); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:437:32: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_LeftRightFlowLayout(node, EXTRADATA(node).layoutMargin); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:440:25: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_BorderLayout(node, EXTRADATA(node).layoutMargin); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:443:23: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_PackLayout(node, EXTRADATA(node).layoutMargin); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:455:64: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] Com_Printf("UI_PanelNodeDoLayout: layout '%d' unsupported.", EXTRADATA(node).layout); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:468:2: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).wheelScrollable = true; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:477:30: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] bool hasSomethingToScroll = EXTRADATA(node).super.scrollX.fullSize > EXTRADATA(node).super.scrollX.viewSize ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:477:71: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] bool hasSomethingToScroll = EXTRADATA(node).super.scrollX.fullSize > EXTRADATA(node).super.scrollX.viewSize ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:478:7: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] || EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:478:48: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] || EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:514:6: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).layout != LAYOUT_NONE) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:520:17: warning: cast from 'const char *' to 'const panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] position[0] = -EXTRADATACONST(node).super.scrollX.viewPos; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:39:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:521:17: warning: cast from 'const char *' to 'const panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] position[1] = -EXTRADATACONST(node).super.scrollY.viewPos; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:39:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:549:7: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (!EXTRADATA(node).wheelScrollable || deltaY == 0) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:552:12: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).super.scrollX.moveDelta(deltaX * 50); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:553:13: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated |= EXTRADATA(node).super.scrollY.moveDelta(deltaY * 50); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:554:6: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).super.onViewChange && updated) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:555:32: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).super.onViewChange); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:594:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "layout", V_INT, panelExtraData_t, layout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_panel.cpp:594:2: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "layout", V_INT, panelExtraData_t, layout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:598:25: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] propertyLayoutMargin = UI_RegisterExtradataNodeProperty(behaviour, "layoutMargin", V_INT, panelExtraData_t, layoutMargin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_panel.cpp:598:25: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] propertyLayoutMargin = UI_RegisterExtradataNodeProperty(behaviour, "layoutMargin", V_INT, panelExtraData_t, layoutMargin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:602:26: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] propertyLayoutColumns = UI_RegisterExtradataNodeProperty(behaviour, "layoutColumns", V_INT, panelExtraData_t, layoutColumns); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_panel.cpp:602:26: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] propertyLayoutColumns = UI_RegisterExtradataNodeProperty(behaviour, "layoutColumns", V_INT, panelExtraData_t, layoutColumns); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:606:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "wheelscrollable", V_BOOL, panelExtraData_t, wheelScrollable); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_panel.cpp:606:2: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "wheelscrollable", V_BOOL, panelExtraData_t, wheelScrollable); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_panel.cpp:609:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_panel.cpp:609:2: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 62 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_selectbox.cpp In file included from src/client/ui/node/ui_node_selectbox.cpp:46: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_selectbox.cpp:46: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_selectbox.cpp:82:74: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (x < 0 || y < 0 || x > node->box.size[0] || y > node->box.size[1] * (EXTRADATA(node).count + 1)) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:90:3: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] OPTIONEXTRADATA(option).hovered = (posy <= y && y < posy + node->box.size[1]); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:133:16: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (!Q_streq(OPTIONEXTRADATA(option).value, ref)) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/../game/../shared/shared.h:136:31: note: expanded from macro 'Q_streq' #define Q_streq(a, b) (strcmp(a, b) == 0) ^ src/client/ui/node/ui_node_selectbox.cpp:139:36: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* label = CL_Translate(OPTIONEXTRADATA(option).label); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:184:112: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawNormImage(false, nodepos[0], nodepos[1] + node->box.size[1], SELECTBOX_SIDE_WIDTH, node->box.size[1] * EXTRADATA(node).count, ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:188:176: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawNormImage(false, nodepos[0] + SELECTBOX_SIDE_WIDTH, nodepos[1] + node->box.size[1], node->box.size[0] -SELECTBOX_SIDE_WIDTH-SELECTBOX_RIGHT_WIDTH, node->box.size[1] * EXTRADATA(node).count, ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:192:176: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawNormImage(false, nodepos[0] + node->box.size[0] -SELECTBOX_SIDE_WIDTH-SELECTBOX_RIGHT_WIDTH, nodepos[1] + node->box.size[1], SELECTBOX_SIDE_WIDTH, node->box.size[1] * EXTRADATA(node).count, ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:201:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (OPTIONEXTRADATA(option).hovered) ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:205:36: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* label = CL_Translate(OPTIONEXTRADATA(option).label); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:215:15: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (check != EXTRADATA(node).count) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:218:3: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).versionId = 0; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:255:104: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (x < pos[0] || y < pos[1] || x >= pos[0] + node->box.size[0] || y >= pos[1] + node->box.size[1] * (EXTRADATA(node).count + 1)) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:267:48: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (clickedAtOption < 0 || clickedAtOption >= EXTRADATA(node).count) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:60:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractOptionExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_selectbox.cpp:285:42: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_AbstractOptionSetCurrentValue(node, OPTIONEXTRADATA(option).value); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_baseinventory.cpp In file included from src/client/ui/node/ui_node_baseinventory.cpp:28: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_baseinventory.cpp:28: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_baseinventory.cpp:80:55: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] return INV_SearchInInventoryWithFilter(ui_inventory, EXTRADATACONST(node).super.container, item, filterType); ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:172:50: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] iterator->filterEquipType = (itemFilterTypes_t) EXTRADATACONST(node).filterEquipType; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:174:6: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATACONST(node).displayAvailableOnTop) { ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:176:7: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATACONST(node).displayWeapon) ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:178:7: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATACONST(node).displayAmmo) ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:180:7: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATACONST(node).displayImplant) ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:183:7: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATACONST(node).displayUnavailableItem) { ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:184:8: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATACONST(node).displayWeapon) ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:186:8: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATACONST(node).displayAmmo) ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:188:8: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATACONST(node).displayImplant) ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:192:23: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const int filter = (EXTRADATACONST(node).displayUnavailableItem) ? 0 : CII_AVAILABLEONLY; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:193:7: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATACONST(node).displayWeapon) ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:195:7: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATACONST(node).displayAmmo) ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:197:7: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATACONST(node).displayImplant) ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:212:6: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).onViewChange) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:213:32: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:224:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.container = INVSH_GetInventoryDefinitionByID("equip"); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:244:44: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const int cellWidth = node->box.size[0] / EXTRADATA(node).columns; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:259:27: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const int col = items % EXTRADATA(node).columns; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:264:36: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (outOfNode || currentHeight < EXTRADATA(node).scrollY.viewPos) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:272:49: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (outOfNode || currentHeight + rowHeight < EXTRADATA(node).scrollY.viewPos) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:273:16: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (col == EXTRADATA(node).columns - 1) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:284:29: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] pos[1] += currentHeight - EXTRADATA(node).scrollY.viewPos; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:335:22: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (obj->weapon && EXTRADATA(node).displayAmmoOfWeapon) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:349:88: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] icItem = UI_ContainerNodeGetExistingItem(node, tempItem.def(), (itemFilterTypes_t) EXTRADATA(node).filterEquipType); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:372:14: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (col == EXTRADATA(node).columns - 1) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:375:24: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (currentHeight - EXTRADATA(node).scrollY.viewPos >= node->box.size[1]) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:415:23: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (visibleHeight != EXTRADATA(node).scrollY.viewSize || needHeight != EXTRADATA(node).scrollY.fullSize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:415:73: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (visibleHeight != EXTRADATA(node).scrollY.viewSize || needHeight != EXTRADATA(node).scrollY.fullSize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:416:3: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).scrollY.fullSize = needHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:417:3: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).scrollY.viewSize = visibleHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:420:6: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).scrollY.viewPos > needHeight - visibleHeight) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:421:3: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).scrollY.viewPos = needHeight - visibleHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:424:6: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).scrollY.viewPos < 0) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:425:3: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).scrollY.viewPos = 0; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:440:7: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (!EXTRADATA(node).super.container) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:465:44: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const int cellWidth = node->box.size[0] / EXTRADATACONST(node).columns; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:483:27: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const int col = items % EXTRADATACONST(node).columns; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:489:36: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (outOfNode || currentHeight < EXTRADATACONST(node).scrollY.viewPos) { ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:497:49: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (outOfNode || currentHeight + rowHeight < EXTRADATACONST(node).scrollY.viewPos) { ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:498:16: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (col == EXTRADATACONST(node).columns - 1) { ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:509:29: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] pos[1] += currentHeight - EXTRADATACONST(node).scrollY.viewPos; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:536:22: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (obj->weapon && EXTRADATACONST(node).displayAmmoOfWeapon) { ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:546:81: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] icItem = UI_ContainerNodeGetExistingItem(node, objammo, (itemFilterTypes_t) EXTRADATACONST(node).filterEquipType); ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:569:14: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (col == EXTRADATACONST(node).columns - 1) { ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:572:24: warning: cast from 'const char *' to 'const baseInventoryExtraData_t *' (aka 'const baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (currentHeight - EXTRADATACONST(node).scrollY.viewPos >= node->box.size[1]) ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:50:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:669:4: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.lastSelectedId = dragInfoIC->def()->idx; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:670:8: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).super.onSelect) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:671:34: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).super.onSelect); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:706:6: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).scrollY.moveDelta(deltaY * 20)) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:715:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.container = nullptr; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:716:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).columns = 1; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:726:6: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(target).super.container == nullptr) ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:763:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "displayweapon", V_BOOL, baseInventoryExtraData_t, displayWeapon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_baseinventory.cpp:763:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "displayweapon", V_BOOL, baseInventoryExtraData_t, displayWeapon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:765:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "displayammo", V_BOOL, baseInventoryExtraData_t, displayAmmo); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_baseinventory.cpp:765:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "displayammo", V_BOOL, baseInventoryExtraData_t, displayAmmo); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:767:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "displayimplant", V_BOOL, baseInventoryExtraData_t, displayImplant); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_baseinventory.cpp:767:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "displayimplant", V_BOOL, baseInventoryExtraData_t, displayImplant); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:769:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "displayunavailableitem", V_BOOL, baseInventoryExtraData_t, displayUnavailableItem); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_baseinventory.cpp:769:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "displayunavailableitem", V_BOOL, baseInventoryExtraData_t, displayUnavailableItem); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:771:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "displayavailableontop", V_BOOL, baseInventoryExtraData_t, displayAvailableOnTop); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_baseinventory.cpp:771:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "displayavailableontop", V_BOOL, baseInventoryExtraData_t, displayAvailableOnTop); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:773:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "displayammoofweapon", V_BOOL, baseInventoryExtraData_t, displayAmmoOfWeapon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_baseinventory.cpp:773:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "displayammoofweapon", V_BOOL, baseInventoryExtraData_t, displayAmmoOfWeapon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:775:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "displayunavailableammoofweapon", V_BOOL, baseInventoryExtraData_t, displayUnavailableAmmoOfWeapon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_baseinventory.cpp:775:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "displayunavailableammoofweapon", V_BOOL, baseInventoryExtraData_t, displayUnavailableAmmoOfWeapon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:777:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "columns", V_INT, baseInventoryExtraData_t, columns); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_baseinventory.cpp:777:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "columns", V_INT, baseInventoryExtraData_t, columns); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:779:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "filter", V_INT, baseInventoryExtraData_t, filterEquipType); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_baseinventory.cpp:779:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "filter", V_INT, baseInventoryExtraData_t, filterEquipType); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:782:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "viewpos", V_INT, baseInventoryExtraData_t, scrollY.viewPos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_baseinventory.cpp:782:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "viewpos", V_INT, baseInventoryExtraData_t, scrollY.viewPos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:784:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, baseInventoryExtraData_t, scrollY.viewSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_baseinventory.cpp:784:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, baseInventoryExtraData_t, scrollY.viewSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:786:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, baseInventoryExtraData_t, scrollY.fullSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_baseinventory.cpp:786:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, baseInventoryExtraData_t, scrollY.fullSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_baseinventory.cpp:788:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "onviewchange", V_UI_ACTION, baseInventoryExtraData_t, onViewChange); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_baseinventory.cpp:788:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "onviewchange", V_UI_ACTION, baseInventoryExtraData_t, onViewChange); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_controls.cpp In file included from src/client/ui/node/ui_node_controls.cpp:28: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_controls.cpp:28: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_ekg.cpp In file included from src/client/ui/node/ui_node_ekg.cpp:26: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_ekg.cpp:26: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_ekg.cpp:43:54: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* imageName = UI_GetReferenceString(node, EXTRADATA(node).super.source); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:68:43: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] current = Cvar_GetValue("mn_morale") / EXTRADATA(node).scaleCvarValue; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:70:39: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] current = Cvar_GetValue("mn_hp") / EXTRADATA(node).scaleCvarValue; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:74:3: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.texl[1] = (ekgMaxIndex - (int)(ekgValue / ekgDivide)) * ekgHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:75:3: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.texh[1] = EXTRADATA(node).super.texl[1] + ekgHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:75:35: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.texh[1] = EXTRADATA(node).super.texl[1] + ekgHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:76:3: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.texl[0] = -(int) (EXTRADATA(node).scrollSpeed * CL_Milliseconds()) % ekgWidth; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:76:43: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.texl[0] = -(int) (EXTRADATA(node).scrollSpeed * CL_Milliseconds()) % ekgWidth; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:77:3: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.texh[0] = EXTRADATA(node).super.texl[0] + node->box.size[0]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:77:35: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.texh[0] = EXTRADATA(node).super.texl[0] + node->box.size[0]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:86:8: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).super.preventRatio) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:99:5: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.texh[0], EXTRADATA(node).super.texh[1], EXTRADATA(node).super.texl[0], EXTRADATA(node).super.texl[1], image); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:99:36: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.texh[0], EXTRADATA(node).super.texh[1], EXTRADATA(node).super.texl[0], EXTRADATA(node).super.texl[1], image); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:99:67: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.texh[0], EXTRADATA(node).super.texh[1], EXTRADATA(node).super.texl[0], EXTRADATA(node).super.texl[1], image); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:99:98: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.texh[0], EXTRADATA(node).super.texh[1], EXTRADATA(node).super.texl[0], EXTRADATA(node).super.texl[1], image); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:108:2: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).scaleCvarValue = 1.0f; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:109:2: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).scrollSpeed = 0.07f; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:120:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "scrollspeed", V_FLOAT, ekgExtraData_t, scrollSpeed); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_ekg.cpp:120:2: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "scrollspeed", V_FLOAT, ekgExtraData_t, scrollSpeed); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_ekg.cpp:122:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "scale", V_FLOAT, ekgExtraData_t, scaleCvarValue); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_ekg.cpp:122:2: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "scale", V_FLOAT, ekgExtraData_t, scaleCvarValue); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_vscrollbar.cpp In file included from src/client/ui/node/ui_node_vscrollbar.cpp:27: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_vscrollbar.cpp:27: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_vscrollbar.cpp:59:42: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] const int low = cuttableSize * ((float)(EXTRADATA(node).pos + 0) / (float)EXTRADATA(node).fullsize); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:59:76: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] const int low = cuttableSize * ((float)(EXTRADATA(node).pos + 0) / (float)EXTRADATA(node).fullsize); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:60:45: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] const int middle = cuttableSize * ((float)(EXTRADATA(node).viewsize) / (float)EXTRADATA(node).fullsize); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:60:80: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] const int middle = cuttableSize * ((float)(EXTRADATA(node).viewsize) / (float)EXTRADATA(node).fullsize); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:97:19: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] } else if (pos > EXTRADATA(node).fullsize - EXTRADATA(node).viewsize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:97:46: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] } else if (pos > EXTRADATA(node).fullsize - EXTRADATA(node).viewsize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:98:9: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] pos = EXTRADATA(node).fullsize - EXTRADATA(node).viewsize; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:98:36: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] pos = EXTRADATA(node).fullsize - EXTRADATA(node).viewsize; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:104:6: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).pos == pos) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:108:2: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] EXTRADATA(node).pos = pos; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:121:29: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] UI_VScrollbarNodeSet(node, EXTRADATA(node).pos + value); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:163:13: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] oldPos = EXTRADATA(node).pos; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:193:6: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:193:39: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:193:66: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:206:6: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:206:39: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:206:66: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:235:6: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:235:39: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:235:66: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:237:29: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] UI_VScrollbarNodeSet(node, EXTRADATA(node).pos + deltaY); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:249:22: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] const int posSize = EXTRADATA(node).fullsize; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:279:6: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize <= EXTRADATA(node).viewsize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:279:39: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize <= EXTRADATA(node).viewsize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:279:67: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize <= EXTRADATA(node).viewsize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:281:7: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).hideWhenUnused) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollbarExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_abstractscrollable.cpp In file included from src/client/ui/node/ui_node_abstractscrollable.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_abstractscrollable.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_abstractscrollable.cpp:47:36: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (!Vector2Equal(node->box.size, EXTRADATA(node).cacheSize)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:67:47: note: expanded from macro 'Vector2Equal' #define Vector2Equal(a,b) (EQUAL((a)[0],(b)[0])?EQUAL((a)[1],(b)[1])?true:false:false) ~~~~~~~~~~~~~~^~~~~~ src/client/ui/node/../../../shared/vector.h:37:32: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ src/client/ui/node/ui_node_abstractscrollable.cpp:47:36: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (!Vector2Equal(node->box.size, EXTRADATA(node).cacheSize)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:67:68: note: expanded from macro 'Vector2Equal' #define Vector2Equal(a,b) (EQUAL((a)[0],(b)[0])?EQUAL((a)[1],(b)[1])?true:false:false) ~~~~~~~~~~~~~~^~~~~~ src/client/ui/node/../../../shared/vector.h:37:32: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ src/client/ui/node/ui_node_abstractscrollable.cpp:48:31: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] Vector2Copy(node->box.size, EXTRADATA(node).cacheSize); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:52:39: note: expanded from macro 'Vector2Copy' #define Vector2Copy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1]) ^~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:48:31: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] Vector2Copy(node->box.size, EXTRADATA(node).cacheSize); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:52:58: note: expanded from macro 'Vector2Copy' #define Vector2Copy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1]) ^~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:139:12: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).scrollY.set(viewPos, viewSize, fullSize); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:141:17: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (updated && EXTRADATA(node).onViewChange) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:142:32: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:152:18: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] const int pos = EXTRADATA(node).scrollY.viewPos - 10; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:160:22: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] b->setScrollY(node, EXTRADATA(node).scrollY.viewPos + 10, -1, -1); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:166:22: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] b->setScrollY(node, EXTRADATA(node).scrollY.viewPos - 1, -1, -1); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:172:22: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] b->setScrollY(node, EXTRADATA(node).scrollY.viewPos + 1, -1, -1); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:187:22: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] b->setScrollY(node, EXTRADATA(node).scrollY.fullSize, -1, -1); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:197:26: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] return setScrollY(node, EXTRADATA(node).scrollY.viewPos + offset, -1, -1); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:208:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "viewpos", V_INT, EXTRADATA_TYPE, scrollY.viewPos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractscrollable.cpp:208:2: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "viewpos", V_INT, EXTRADATA_TYPE, scrollY.viewPos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:210:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, EXTRADATA_TYPE, scrollY.viewSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractscrollable.cpp:210:2: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, EXTRADATA_TYPE, scrollY.viewSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:212:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, EXTRADATA_TYPE, scrollY.fullSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractscrollable.cpp:212:2: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, EXTRADATA_TYPE, scrollY.fullSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollable.cpp:214:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "onviewchange", V_UI_ACTION, EXTRADATA_TYPE, onViewChange); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractscrollable.cpp:214:2: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "onviewchange", V_UI_ACTION, EXTRADATA_TYPE, onViewChange); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_item.cpp In file included from src/client/ui/node/ui_node_item.cpp:27: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_item.cpp:27: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_item.cpp:46:48: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* ref = UI_GetReferenceString(node, EXTRADATA(node).model); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, modelExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:60:7: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).containerLike || Q_strnull(model)) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, modelExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:70:50: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawItem(node, itemNodePos, &item, -1, -1, EXTRADATA(node).scale, color); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:38:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, modelExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_item.cpp:86:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "containerlike", V_BOOL, modelExtraData_t, containerLike); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_item.cpp:86:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "containerlike", V_BOOL, modelExtraData_t, containerLike); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_timer.cpp In file included from src/client/ui/node/ui_node_timer.cpp:26: In file included from src/client/ui/node/../ui_parse.h:27: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_timer.cpp:26: In file included from src/client/ui/node/../ui_parse.h:27: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/ui/node/ui_node_timer.cpp:29: src/client/ui/node/ui_node_timer.h:36:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ src/client/ui/node/ui_node_timer.cpp:40:2: warning: cast from 'char *' to 'timerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).lastTime = CL_Milliseconds(); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:32:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:53:27: warning: cast from 'char *' to 'timerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] timerExtraData_t& data = EXTRADATA(node); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:32:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:77:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "timeout", V_INT, EXTRADATA_TYPE, timeOut); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_timer.cpp:77:2: warning: cast from 'char *' to 'timerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "timeout", V_INT, EXTRADATA_TYPE, timeOut); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_timer.cpp:80:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "onEvent", V_UI_ACTION, EXTRADATA_TYPE, onTimeOut); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_timer.cpp:80:2: warning: cast from 'char *' to 'timerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "onEvent", V_UI_ACTION, EXTRADATA_TYPE, onTimeOut); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_geoscape.cpp In file included from src/client/ui/node/ui_node_geoscape.cpp:25: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_geoscape.cpp:25: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_geoscape.cpp:111:25: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float diffZoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:111:70: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float diffZoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:113:17: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:45:48: note: expanded from macro 'VectorSubtract' #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) ^ src/client/ui/node/ui_node_geoscape.cpp:113:67: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:45:55: note: expanded from macro 'VectorSubtract' #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) ^ src/client/ui/node/ui_node_geoscape.cpp:113:17: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:45:72: note: expanded from macro 'VectorSubtract' #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) ^ src/client/ui/node/ui_node_geoscape.cpp:113:67: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:45:79: note: expanded from macro 'VectorSubtract' #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) ^ src/client/ui/node/ui_node_geoscape.cpp:113:17: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:45:96: note: expanded from macro 'VectorSubtract' #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) ^ src/client/ui/node/ui_node_geoscape.cpp:113:67: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:45:103: note: expanded from macro 'VectorSubtract' #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) ^ src/client/ui/node/ui_node_geoscape.cpp:115:6: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).smoothDeltaLength > UI_MAPEXTRADATACONST(node).smoothDeltaZoom) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:115:53: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).smoothDeltaLength > UI_MAPEXTRADATACONST(node).smoothDeltaZoom) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:123:44: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] rotationSpeed = sin(3.05f * diffAngle / UI_MAPEXTRADATACONST(node).smoothDeltaLength) * diffAngle; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:124:20: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (diffAngle / UI_MAPEXTRADATACONST(node).smoothDeltaLength > 0.5) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:125:41: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] rotationSpeed = std::min(diffAngle, UI_MAPEXTRADATACONST(node).curRotationSpeed + rotationSpeed * 0.5f); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:127:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).curRotationSpeed = rotationSpeed; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:129:55: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:47:38: note: expanded from macro 'VectorAdd' #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) ^~~~ src/client/ui/node/ui_node_geoscape.cpp:129:14: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:47:48: note: expanded from macro 'VectorAdd' #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) ^ src/client/ui/node/ui_node_geoscape.cpp:129:55: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:47:62: note: expanded from macro 'VectorAdd' #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) ^~~~ src/client/ui/node/ui_node_geoscape.cpp:129:14: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:47:72: note: expanded from macro 'VectorAdd' #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) ^ src/client/ui/node/ui_node_geoscape.cpp:129:55: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:47:86: note: expanded from macro 'VectorAdd' #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) ^~~~ src/client/ui/node/ui_node_geoscape.cpp:129:14: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorAdd(UI_MAPEXTRADATACONST(node).angles, diff, UI_MAPEXTRADATA(node).angles); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:47:96: note: expanded from macro 'VectorAdd' #define VectorAdd(a,b,dest) ((dest)[0]=(a)[0]+(b)[0],(dest)[1]=(a)[1]+(b)[1],(dest)[2]=(a)[2]+(b)[2]) ^ src/client/ui/node/ui_node_geoscape.cpp:130:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + SMOOTHACCELERATION * diffZoom / diffAngle * rotationSpeed; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:130:33: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + SMOOTHACCELERATION * diffZoom / diffAngle * rotationSpeed; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:140:26: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (fabsf(diffZoom) / UI_MAPEXTRADATACONST(node).smoothDeltaZoom > 0.5f) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:142:28: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float newSpeed = UI_MAPEXTRADATACONST(node).curZoomSpeed + sin(3.05 * (fabs(diffZoom) / UI_MAPEXTRADATACONST(node).smoothDeltaZoom)) * SMOOTHACCELERATION; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:142:99: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float newSpeed = UI_MAPEXTRADATACONST(node).curZoomSpeed + sin(3.05 * (fabs(diffZoom) / UI_MAPEXTRADATACONST(node).smoothDeltaZoom)) * SMOOTHACCELERATION; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:145:42: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] speed = sin(3.05 * (fabs(diffZoom) / UI_MAPEXTRADATACONST(node).smoothDeltaZoom)) * SMOOTHACCELERATION * 2.0; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:147:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).curZoomSpeed = speed; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:148:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + diffZoom * speed; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:148:33: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + diffZoom * speed; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:154:63: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:39: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~~ src/client/ui/node/ui_node_geoscape.cpp:154:13: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:49: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~ src/client/ui/node/ui_node_geoscape.cpp:154:63: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:58: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~~ src/client/ui/node/ui_node_geoscape.cpp:154:13: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:68: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~ src/client/ui/node/ui_node_geoscape.cpp:154:63: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:77: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~~ src/client/ui/node/ui_node_geoscape.cpp:154:13: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATA(node).angles); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:87: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~ src/client/ui/node/ui_node_geoscape.cpp:155:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothRotation = false; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:156:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:156:31: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:166:22: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float dist1 = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[0] - UI_MAPEXTRADATACONST(node).center[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:166:82: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float dist1 = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[0] - UI_MAPEXTRADATACONST(node).center[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:167:22: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float dist2 = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[1] - UI_MAPEXTRADATACONST(node).center[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:167:82: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float dist2 = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[1] - UI_MAPEXTRADATACONST(node).center[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:171:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[0] = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[0]; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:171:37: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[0] = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[0]; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:172:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[1]; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:172:37: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = UI_MAPEXTRADATACONST(node).smoothFinal2DGeoscapeCenter[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:173:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:173:32: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:174:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothRotation = false; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:176:26: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float diffZoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:176:71: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float diffZoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:177:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[0] = UI_MAPEXTRADATACONST(node).center[0] + SMOOTHING_STEP_2D * dist1 / length; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:177:37: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[0] = UI_MAPEXTRADATACONST(node).center[0] + SMOOTHING_STEP_2D * dist1 / length; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:178:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = UI_MAPEXTRADATACONST(node).center[1] + SMOOTHING_STEP_2D * dist2 / length; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:178:37: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = UI_MAPEXTRADATACONST(node).center[1] + SMOOTHING_STEP_2D * dist2 / length; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:179:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + SMOOTHING_STEP_2D * diffZoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:179:32: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).zoom + SMOOTHING_STEP_2D * diffZoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:205:7: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] px = UI_MAPEXTRADATA(node).r_dayandnightAlpha; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:222:38: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] R_UploadAlpha(r_dayandnightTexture, UI_MAPEXTRADATA(node).r_dayandnightAlpha); ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:230:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).flatgeoscape = cl_3dmap->integer == 0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:231:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).overlayMask = cl_geoscape_overlay->integer; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:232:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).ambientLightFactor = cl_3dmapAmbient->value; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:233:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).mapzoommin = cl_mapzoommin->value; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:234:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).mapzoommax = cl_mapzoommax->value; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:236:25: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_GetNodeAbsPos(node, UI_MAPEXTRADATA(node).mapPos); ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:237:30: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Vector2Copy(node->box.size, UI_MAPEXTRADATA(node).mapSize); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:52:39: note: expanded from macro 'Vector2Copy' #define Vector2Copy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1]) ^~~~ src/client/ui/node/ui_node_geoscape.cpp:237:30: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Vector2Copy(node->box.size, UI_MAPEXTRADATA(node).mapSize); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:52:58: note: expanded from macro 'Vector2Copy' #define Vector2Copy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1]) ^~~~ src/client/ui/node/ui_node_geoscape.cpp:238:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (!UI_MAPEXTRADATACONST(node).flatgeoscape) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:240:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).mapSize[0] -= UI_MAPEXTRADATACONST(node).paddingRight; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:240:39: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).mapSize[0] -= UI_MAPEXTRADATACONST(node).paddingRight; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:247:6: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).smoothRotation) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:248:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).flatgeoscape) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:254:26: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] geoscapeData_t& data = *UI_MAPEXTRADATA(node).geoscapeData; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:264:6: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).flatgeoscape) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:274:22: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] R_DrawFlatGeoscape(UI_MAPEXTRADATACONST(node).mapPos, UI_MAPEXTRADATACONST(node).mapSize, (float) date.sec / SECONDS_PER_DAY, ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:274:57: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] R_DrawFlatGeoscape(UI_MAPEXTRADATACONST(node).mapPos, UI_MAPEXTRADATACONST(node).mapSize, (float) date.sec / SECONDS_PER_DAY, ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:275:5: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATACONST(node).center[0], UI_MAPEXTRADATACONST(node).center[1], 0.5 / UI_MAPEXTRADATACONST(node).zoom, map, ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:275:43: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATACONST(node).center[0], UI_MAPEXTRADATACONST(node).center[1], 0.5 / UI_MAPEXTRADATACONST(node).zoom, map, ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:275:87: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATACONST(node).center[0], UI_MAPEXTRADATACONST(node).center[1], 0.5 / UI_MAPEXTRADATACONST(node).zoom, map, ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:281:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).zoom > 3.3) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:286:17: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] R_Draw3DGlobe(UI_MAPEXTRADATACONST(node).mapPos, UI_MAPEXTRADATACONST(node).mapSize, date.day, date.sec, ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:286:52: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] R_Draw3DGlobe(UI_MAPEXTRADATACONST(node).mapPos, UI_MAPEXTRADATACONST(node).mapSize, date.day, date.sec, ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:287:5: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATACONST(node).zoom, map, disableSolarRender, ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:287:40: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATACONST(node).zoom, map, disableSolarRender, ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:288:5: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATACONST(node).ambientLightFactor, UI_MAPEXTRADATA(node).overlayMask & OVERLAY_NATION, ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:288:52: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATACONST(node).ambientLightFactor, UI_MAPEXTRADATA(node).overlayMask & OVERLAY_NATION, ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:289:5: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).overlayMask & OVERLAY_XVI, UI_MAPEXTRADATA(node).overlayMask & OVERLAY_RADAR, r_xviTexture, r_radarTexture, ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:289:54: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).overlayMask & OVERLAY_XVI, UI_MAPEXTRADATA(node).overlayMask & OVERLAY_RADAR, r_xviTexture, r_radarTexture, ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:307:28: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float zoom = 0.5 / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:309:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[0] -= (float) (mousePosX - oldMousePosX) / (node->box.size[0] * UI_MAPEXTRADATACONST(node).zoom); ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:309:96: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[0] -= (float) (mousePosX - oldMousePosX) / (node->box.size[0] * UI_MAPEXTRADATACONST(node).zoom); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:310:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] -= (float) (mousePosY - oldMousePosY) / (node->box.size[1] * UI_MAPEXTRADATACONST(node).zoom); ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:310:96: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] -= (float) (mousePosY - oldMousePosY) / (node->box.size[1] * UI_MAPEXTRADATACONST(node).zoom); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:313:11: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] while (UI_MAPEXTRADATACONST(node).center[i] < 0.0) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:314:5: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[i] += 1.0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:315:11: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] while (UI_MAPEXTRADATACONST(node).center[i] > 1.0) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:316:5: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[i] -= 1.0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:318:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] < zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:319:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = zoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:320:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:321:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = 1.0 - zoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:327:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).angles[PITCH] += ROTATE_SPEED * (mousePosX - oldMousePosX) / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:327:86: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).angles[PITCH] += ROTATE_SPEED * (mousePosX - oldMousePosX) / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:328:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).angles[YAW] -= ROTATE_SPEED * (mousePosY - oldMousePosY) / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:328:84: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).angles[YAW] -= ROTATE_SPEED * (mousePosY - oldMousePosY) / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:331:10: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] while (UI_MAPEXTRADATACONST(node).angles[YAW] > 0.0) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:332:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).angles[YAW] = 0.0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:333:10: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] while (UI_MAPEXTRADATACONST(node).angles[YAW] < -180.0) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:334:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).angles[YAW] = -180.0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:336:10: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] while (UI_MAPEXTRADATACONST(node).angles[PITCH] > 180.0) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:337:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).angles[PITCH] -= 360.0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:338:10: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] while (UI_MAPEXTRADATACONST(node).angles[PITCH] < -180.0) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:339:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).angles[PITCH] += 360.0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:343:28: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float zoom = 0.5 / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:345:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom *= pow(0.995, mousePosY - oldMousePosY); ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:346:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).zoom < UI_MAPEXTRADATACONST(node).mapzoommin) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:346:41: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).zoom < UI_MAPEXTRADATACONST(node).mapzoommin) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:347:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommin; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:347:33: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommin; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:348:12: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] else if (UI_MAPEXTRADATACONST(node).zoom > UI_MAPEXTRADATACONST(node).mapzoommax) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:348:46: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] else if (UI_MAPEXTRADATACONST(node).zoom > UI_MAPEXTRADATACONST(node).mapzoommax) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:349:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommax; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:349:33: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommax; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:351:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] < zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:352:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = zoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:353:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:354:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = 1.0 - zoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:368:6: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).flatgeoscape) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:372:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothRotation = false; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:386:14: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] pos[0] = (((UI_MAPEXTRADATACONST(node).mapPos[0] - x) / UI_MAPEXTRADATACONST(node).mapSize[0] + 0.5) / UI_MAPEXTRADATACONST(node).zoom ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:386:58: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] pos[0] = (((UI_MAPEXTRADATACONST(node).mapPos[0] - x) / UI_MAPEXTRADATACONST(node).mapSize[0] + 0.5) / UI_MAPEXTRADATACONST(node).zoom ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:386:105: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] pos[0] = (((UI_MAPEXTRADATACONST(node).mapPos[0] - x) / UI_MAPEXTRADATACONST(node).mapSize[0] + 0.5) / UI_MAPEXTRADATACONST(node).zoom ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:387:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] - (UI_MAPEXTRADATACONST(node).center[0] - 0.5)) * 360.0; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:388:14: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] pos[1] = (((UI_MAPEXTRADATACONST(node).mapPos[1] - y) / UI_MAPEXTRADATACONST(node).mapSize[1] + 0.5) / UI_MAPEXTRADATACONST(node).zoom ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:388:58: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] pos[1] = (((UI_MAPEXTRADATACONST(node).mapPos[1] - y) / UI_MAPEXTRADATACONST(node).mapSize[1] + 0.5) / UI_MAPEXTRADATACONST(node).zoom ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:388:105: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] pos[1] = (((UI_MAPEXTRADATACONST(node).mapPos[1] - y) / UI_MAPEXTRADATACONST(node).mapSize[1] + 0.5) / UI_MAPEXTRADATACONST(node).zoom ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:389:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] - (UI_MAPEXTRADATACONST(node).center[1] - 0.5)) * 180.0; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:410:23: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float radius = GLOBE_RADIUS; ^~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:69:38: note: expanded from macro 'GLOBE_RADIUS' #define GLOBE_RADIUS EARTH_RADIUS * (UI_MAPEXTRADATACONST(node).zoom / STANDARD_3D_ZOOM) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:413:18: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Vector2Set(mid, UI_MAPEXTRADATACONST(node).mapPos[0] + UI_MAPEXTRADATACONST(node).mapSize[0] / 2.0f, ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:61:42: note: expanded from macro 'Vector2Set' #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) ^ src/client/ui/node/ui_node_geoscape.cpp:413:57: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Vector2Set(mid, UI_MAPEXTRADATACONST(node).mapPos[0] + UI_MAPEXTRADATACONST(node).mapSize[0] / 2.0f, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:61:42: note: expanded from macro 'Vector2Set' #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) ^ src/client/ui/node/ui_node_geoscape.cpp:414:4: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATACONST(node).mapPos[1] + UI_MAPEXTRADATACONST(node).mapSize[1] / 2.0f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:61:54: note: expanded from macro 'Vector2Set' #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) ^ src/client/ui/node/ui_node_geoscape.cpp:414:43: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATACONST(node).mapPos[1] + UI_MAPEXTRADATACONST(node).mapSize[1] / 2.0f); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:61:54: note: expanded from macro 'Vector2Set' #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) ^ src/client/ui/node/ui_node_geoscape.cpp:440:47: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] RotatePointAroundVector(v1, rotationAxis, v, UI_MAPEXTRADATACONST(node).angles[YAW]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:445:47: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] RotatePointAroundVector(v, rotationAxis, v1, UI_MAPEXTRADATACONST(node).angles[PITCH]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:460:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (!UI_MAPEXTRADATACONST(node).flatgeoscape) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:508:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom *= pow(0.995, (out ? 10: -10)); ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:509:6: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).zoom < UI_MAPEXTRADATACONST(node).mapzoommin) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:509:40: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).zoom < UI_MAPEXTRADATACONST(node).mapzoommin) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:510:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommin; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:510:32: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommin; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:511:11: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] else if (UI_MAPEXTRADATACONST(node).zoom > UI_MAPEXTRADATACONST(node).mapzoommax) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:511:45: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] else if (UI_MAPEXTRADATACONST(node).zoom > UI_MAPEXTRADATACONST(node).mapzoommax) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:512:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommax; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:512:32: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).mapzoommax; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:514:6: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).flatgeoscape) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:515:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:515:52: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:516:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:516:44: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:517:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:517:58: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:518:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:518:50: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:520:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothRotation = false; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:539:10: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] OBJZERO(EXTRADATA(node)); ~~~~~~~~^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/../game/../shared/shared.h:177:34: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ~~~~~~~~^~~~~~~~ src/client/ui/node/../../../common/../game/../shared/shared.h:176:36: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^~~ src/client/ui/node/ui_node_geoscape.cpp:539:10: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] OBJZERO(EXTRADATA(node)); ~~~~~~~~^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/../game/../shared/shared.h:177:34: note: expanded from macro 'OBJZERO' #define OBJZERO(obj) OBJSET((obj), 0) ~~~~~~~~^~~~~~~~ src/client/ui/node/../../../common/../game/../shared/shared.h:176:56: note: expanded from macro 'OBJSET' #define OBJSET(obj, val) (memset(&(obj), (val), sizeof(obj))) ^~~ src/client/ui/node/ui_node_geoscape.cpp:540:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).angles[YAW] = GLOBE_ROTATE; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:541:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).center[0] = EXTRADATA(node).center[1] = 0.5; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:541:30: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).center[0] = EXTRADATA(node).center[1] = 0.5; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:542:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).zoom = 1.0; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:543:13: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Vector2Set(EXTRADATA(node).smoothFinal2DGeoscapeCenter, 0.5, 0.5); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:61:35: note: expanded from macro 'Vector2Set' #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) ^ src/client/ui/node/ui_node_geoscape.cpp:543:13: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Vector2Set(EXTRADATA(node).smoothFinal2DGeoscapeCenter, 0.5, 0.5); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:61:47: note: expanded from macro 'Vector2Set' #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) ^ src/client/ui/node/ui_node_geoscape.cpp:544:12: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSet(EXTRADATA(node).smoothFinalGlobeAngle, 0, GLOBE_ROTATE, 0); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:59:35: note: expanded from macro 'VectorSet' #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) ^ src/client/ui/node/ui_node_geoscape.cpp:544:12: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSet(EXTRADATA(node).smoothFinalGlobeAngle, 0, GLOBE_ROTATE, 0); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:59:47: note: expanded from macro 'VectorSet' #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) ^ src/client/ui/node/ui_node_geoscape.cpp:544:12: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSet(EXTRADATA(node).smoothFinalGlobeAngle, 0, GLOBE_ROTATE, 0); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:59:59: note: expanded from macro 'VectorSet' #define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z)) ^ src/client/ui/node/ui_node_geoscape.cpp:547:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).geoscapeData = &geoscapeData; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:551:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).r_dayandnightAlpha = Mem_AllocTypeN(byte, DAN_WIDTH * DAN_HEIGHT); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:591:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom * powf(0.995, -zoomAmount); ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:591:43: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom * powf(0.995, -zoomAmount); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:594:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom * powf(0.995, zoomAmount); ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:594:43: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom * powf(0.995, zoomAmount); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:601:6: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).smoothFinalZoom < UI_MAPEXTRADATACONST(node).mapzoommin) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:601:51: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).smoothFinalZoom < UI_MAPEXTRADATACONST(node).mapzoommin) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:602:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).mapzoommin; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:602:43: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).mapzoommin; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:603:11: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] else if (UI_MAPEXTRADATACONST(node).smoothFinalZoom > UI_MAPEXTRADATACONST(node).mapzoommax) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:603:56: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] else if (UI_MAPEXTRADATACONST(node).smoothFinalZoom > UI_MAPEXTRADATACONST(node).mapzoommax) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:604:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).mapzoommax; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:604:43: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).mapzoommax; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:606:6: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).flatgeoscape) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:607:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:607:32: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).zoom = UI_MAPEXTRADATACONST(node).smoothFinalZoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:608:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:608:52: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:609:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:609:44: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:610:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:610:58: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:611:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:611:50: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:613:49: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:39: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~~ src/client/ui/node/ui_node_geoscape.cpp:613:14: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:49: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~ src/client/ui/node/ui_node_geoscape.cpp:613:49: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:58: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~~ src/client/ui/node/ui_node_geoscape.cpp:613:14: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:68: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~ src/client/ui/node/ui_node_geoscape.cpp:613:49: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:77: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~~ src/client/ui/node/ui_node_geoscape.cpp:613:14: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:87: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~ src/client/ui/node/ui_node_geoscape.cpp:614:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothDeltaLength = 0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:615:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothRotation = true; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:616:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothDeltaZoom = fabs(UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom); ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:616:48: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothDeltaZoom = fabs(UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:616:93: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothDeltaZoom = fabs(UI_MAPEXTRADATACONST(node).smoothFinalZoom - UI_MAPEXTRADATACONST(node).zoom); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:659:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (!UI_MAPEXTRADATACONST(node).flatgeoscape) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:663:49: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:39: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~~ src/client/ui/node/ui_node_geoscape.cpp:663:14: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:49: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~ src/client/ui/node/ui_node_geoscape.cpp:663:49: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:58: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~~ src/client/ui/node/ui_node_geoscape.cpp:663:14: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:68: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~ src/client/ui/node/ui_node_geoscape.cpp:663:49: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:77: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~~ src/client/ui/node/ui_node_geoscape.cpp:663:14: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorCopy(UI_MAPEXTRADATACONST(node).angles, UI_MAPEXTRADATA(node).smoothFinalGlobeAngle); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:51:87: note: expanded from macro 'VectorCopy' #define VectorCopy(src,dest) ((dest)[0]=(src)[0],(dest)[1]=(src)[1],(dest)[2]=(src)[2]) ^~~ src/client/ui/node/ui_node_geoscape.cpp:666:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[PITCH] += ROTATE_SPEED * (scrollX) / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:666:84: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[PITCH] += ROTATE_SPEED * (scrollX) / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:667:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[YAW] -= ROTATE_SPEED * (scrollY) / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:667:82: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[YAW] -= ROTATE_SPEED * (scrollY) / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:669:10: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] while (UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle[YAW] < -180.0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:670:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[YAW] = -180.0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:672:10: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] while (UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle[YAW] > 0.0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:673:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[YAW] = 0.0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:676:10: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] while (UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle[PITCH] > 180.0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:677:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[PITCH] -= 360.0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:678:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).angles[PITCH] -= 360.0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:680:10: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] while (UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle[PITCH] < -180.0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:681:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalGlobeAngle[PITCH] += 360.0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:682:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).angles[PITCH] += 360.0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:684:18: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:45:48: note: expanded from macro 'VectorSubtract' #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) ^ src/client/ui/node/ui_node_geoscape.cpp:684:68: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:45:55: note: expanded from macro 'VectorSubtract' #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) ^ src/client/ui/node/ui_node_geoscape.cpp:684:18: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:45:72: note: expanded from macro 'VectorSubtract' #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) ^ src/client/ui/node/ui_node_geoscape.cpp:684:68: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:45:79: note: expanded from macro 'VectorSubtract' #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) ^ src/client/ui/node/ui_node_geoscape.cpp:684:18: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:45:96: note: expanded from macro 'VectorSubtract' #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) ^ src/client/ui/node/ui_node_geoscape.cpp:684:68: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] VectorSubtract(UI_MAPEXTRADATACONST(node).smoothFinalGlobeAngle, UI_MAPEXTRADATACONST(node).angles, diff); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../shared/vector.h:45:103: note: expanded from macro 'VectorSubtract' #define VectorSubtract(a,b,dest) ((dest)[0]=(a)[0]-(b)[0],(dest)[1]=(a)[1]-(b)[1],(dest)[2]=(a)[2]-(b)[2]) ^ src/client/ui/node/ui_node_geoscape.cpp:685:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothDeltaLength = VectorLength(diff); ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:687:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:687:43: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothFinalZoom = UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:688:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothDeltaZoom = 0.0f; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:689:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).smoothRotation = true; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:693:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[0] -= (float) (scrollX) / (UI_MAPEXTRADATACONST(node).mapSize[0] * UI_MAPEXTRADATACONST(node).zoom); ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:693:59: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[0] -= (float) (scrollX) / (UI_MAPEXTRADATACONST(node).mapSize[0] * UI_MAPEXTRADATACONST(node).zoom); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:693:99: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[0] -= (float) (scrollX) / (UI_MAPEXTRADATACONST(node).mapSize[0] * UI_MAPEXTRADATACONST(node).zoom); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:694:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] -= (float) (scrollY) / (UI_MAPEXTRADATACONST(node).mapSize[1] * UI_MAPEXTRADATACONST(node).zoom); ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:694:59: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] -= (float) (scrollY) / (UI_MAPEXTRADATACONST(node).mapSize[1] * UI_MAPEXTRADATACONST(node).zoom); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:694:99: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] -= (float) (scrollY) / (UI_MAPEXTRADATACONST(node).mapSize[1] * UI_MAPEXTRADATACONST(node).zoom); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:696:11: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] while (UI_MAPEXTRADATACONST(node).center[i] < 0.0) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:697:5: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[i] += 1.0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:698:11: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] while (UI_MAPEXTRADATACONST(node).center[i] > 1.0) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:699:5: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[i] -= 1.0; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:701:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:701:52: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] < 0.5 / UI_MAPEXTRADATACONST(node).zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:702:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:702:44: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = 0.5 / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:703:7: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:703:58: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_MAPEXTRADATACONST(node).center[1] > 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom) ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:704:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA' #define UI_MAPEXTRADATA(node) UI_EXTRADATA(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:704:50: warning: cast from 'const char *' to 'const mapExtraData_t *' (aka 'const mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_MAPEXTRADATA(node).center[1] = 1.0 - 0.5 / UI_MAPEXTRADATACONST(node).zoom; ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.h:53:36: note: expanded from macro 'UI_MAPEXTRADATACONST' #define UI_MAPEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_MAPEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_geoscape.cpp:715:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "padding-right", V_FLOAT, EXTRADATA_TYPE, paddingRight); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_geoscape.cpp:715:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "padding-right", V_FLOAT, EXTRADATA_TYPE, paddingRight); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_optiontree.cpp In file included from src/client/ui/node/ui_node_optiontree.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_optiontree.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_optiontree.cpp:69:15: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] fontHeight = EXTRADATA(node).lineHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:74:12: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).scrollY.set(-1, elements, EXTRADATA(node).count); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:74:54: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).scrollY.set(-1, elements, EXTRADATA(node).count); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:75:17: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (updated && EXTRADATA(node).onViewChange) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:76:32: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:86:3: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).count = UI_OptionUpdateCache(option); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:100:35: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] const int v = UI_GetDataVersion(EXTRADATA(node).dataId); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:101:35: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] uiNode_t* option = UI_GetOption(EXTRADATA(node).dataId); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:102:12: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (v != EXTRADATA(node).versionId) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:103:4: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).versionId = v; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:135:6: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).background) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:136:29: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(false, EXTRADATA(node).background, SPRITE_STATUS_NORMAL, pos[0], pos[1], node->box.size[0], node->box.size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:140:15: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] fontHeight = EXTRADATA(node).lineHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:152:40: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] option = UI_InitOptionIteratorAtIndex(EXTRADATA(node).scrollY.viewPos, option, &iterator); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:165:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (OPTIONEXTRADATA(option).hovered) ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:169:15: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (Q_streq(OPTIONEXTRADATA(option).value, ref)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/../game/../shared/shared.h:136:31: note: expanded from macro 'Q_streq' #define Q_streq(a, b) (strcmp(a, b) == 0) ^ src/client/ui/node/ui_node_optiontree.cpp:184:23: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] uiSprite_t* icon = OPTIONEXTRADATA(option).collapsed ? systemExpand : systemCollapse; ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:185:23: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, icon, SPRITE_STATUS_NORMAL, decX, currentY, icon->size[0], fontHeight); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:190:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (OPTIONEXTRADATA(option).icon) { ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:194:23: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, decX, currentY, ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:194:57: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, decX, currentY, ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:195:6: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] OPTIONEXTRADATA(option).icon->size[0], fontHeight); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:196:12: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] decX += OPTIONEXTRADATA(option).icon->size[0] + fontHeight / 4; ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:199:36: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* label = CL_Translate(OPTIONEXTRADATA(option).label); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:224:15: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] fontHeight = EXTRADATA(node).lineHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:229:10: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] count = EXTRADATA(node).scrollY.viewPos + (y - node->padding) / fontHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:255:4: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] OPTIONEXTRADATA(option).collapsed = !OPTIONEXTRADATA(option).collapsed; ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:255:41: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] OPTIONEXTRADATA(option).collapsed = !OPTIONEXTRADATA(option).collapsed; ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:263:42: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_AbstractOptionSetCurrentValue(node, OPTIONEXTRADATA(option).value); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:275:12: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).scrollY.move(down ? 1 : -1); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:276:6: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).onViewChange && updated) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:277:32: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:301:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).versionId = -1; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:333:42: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_AbstractOptionSetCurrentValue(node, OPTIONEXTRADATA(option).value); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:341:3: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] OPTIONEXTRADATA(iterator.depthCache[i]).collapsed = false; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:353:12: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).scrollY.move(pos); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:354:17: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (updated && EXTRADATA(node).onViewChange) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:355:32: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:371:3: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:371:38: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:391:13: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).scrollY.moveDelta(deltaY); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:392:7: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).onViewChange && updated) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:393:33: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:408:19: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] int lineHeight = EXTRADATA(node).lineHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optiontree.cpp:424:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_optiontree.cpp:424:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_textentry.cpp In file included from src/client/ui/node/ui_node_textentry.cpp:32: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_textentry.cpp:32: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_textentry.cpp:101:6: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).onAbort) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:102:32: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onAbort); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:152:2: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).cursorPosition = UTF8_strlen(editedCvar->string); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:182:19: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (isAborted || EXTRADATA(node).clickOutAbort) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:204:7: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).cursorPosition > 0){ ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:205:32: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UTF8_delete_char_at(buffer, EXTRADATA(node).cursorPosition - 1); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:206:4: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).cursorPosition--; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:209:7: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).cursorPosition < UTF8_strlen(editedCvar->string)){ ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:210:32: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UTF8_delete_char_at(buffer, EXTRADATA(node).cursorPosition); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:220:68: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] int insertedLength = UTF8_insert_char_at(buffer, sizeof(buffer), EXTRADATA(node).cursorPosition, unicode); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:222:4: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).cursorPosition++; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:253:7: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).cursorPosition > 0) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:254:4: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).cursorPosition--; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:258:7: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).cursorPosition < UTF8_strlen(editedCvar->string)) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:259:4: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).cursorPosition++; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:263:3: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).cursorPosition = 0; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:267:3: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).cursorPosition = UTF8_strlen(editedCvar->string); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:308:6: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).background) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:309:29: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(false, EXTRADATA(node).background, iconStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:314:7: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).isPassword) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:330:43: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UTF8_insert_char_at(buf, sizeof(buf), EXTRADATA(node).cursorPosition, (int)CURSOR_ON); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:332:43: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UTF8_insert_char_at(buf, sizeof(buf), EXTRADATA(node).cursorPosition, (int)CURSOR_OFF); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:375:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "isPassword", V_BOOL, textEntryExtraData_t, isPassword); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_textentry.cpp:375:2: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "isPassword", V_BOOL, textEntryExtraData_t, isPassword); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:379:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "clickOutAbort", V_BOOL, textEntryExtraData_t, clickOutAbort); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_textentry.cpp:379:2: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "clickOutAbort", V_BOOL, textEntryExtraData_t, clickOutAbort); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:381:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "cursorPosition", V_INT, textEntryExtraData_t, cursorPosition); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_textentry.cpp:381:2: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "cursorPosition", V_INT, textEntryExtraData_t, cursorPosition); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:383:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "onAbort", V_UI_ACTION, textEntryExtraData_t, onAbort); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_textentry.cpp:383:2: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "onAbort", V_UI_ACTION, textEntryExtraData_t, onAbort); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_textentry.cpp:387:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_textentry.cpp:387:2: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 42 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_button.cpp In file included from src/client/ui/node/ui_node_button.cpp:29: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_button.cpp:29: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_button.cpp:86:6: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).background) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:87:29: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(false, EXTRADATA(node).background, iconStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:97:23: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const bool hasIcon = EXTRADATA(node).icon != nullptr; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:107:22: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] content.size[0] += EXTRADATA(node).icon->size[0]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:108:22: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] content.size[1] += EXTRADATA(node).icon->size[1]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:135:22: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(EXTRADATA(node).flipIcon, EXTRADATA(node).icon, iconStatus, ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:135:48: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(EXTRADATA(node).flipIcon, EXTRADATA(node).icon, iconStatus, ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:136:29: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] iconPos[0], iconPos[1], EXTRADATA(node).icon->size[0], EXTRADATA(node).icon->size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:136:60: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] iconPos[0], iconPos[1], EXTRADATA(node).icon->size[0], EXTRADATA(node).icon->size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:187:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "icon", V_UI_SPRITEREF, EXTRADATA_TYPE, icon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_button.cpp:187:2: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "icon", V_UI_SPRITEREF, EXTRADATA_TYPE, icon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:188:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "flipicon", V_BOOL, EXTRADATA_TYPE, flipIcon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_button.cpp:188:2: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "flipicon", V_BOOL, EXTRADATA_TYPE, flipIcon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_button.cpp:191:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_button.cpp:191:2: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_optionlist.cpp In file included from src/client/ui/node/ui_node_optionlist.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_optionlist.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_optionlist.cpp:64:16: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] lineHeight = EXTRADATA(node).lineHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:71:12: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).scrollY.set(-1, elements, EXTRADATA(node).count); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:71:54: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).scrollY.set(-1, elements, EXTRADATA(node).count); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:72:17: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (updated && EXTRADATA(node).onViewChange) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:73:32: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:94:6: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).background) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:95:29: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(false, EXTRADATA(node).background, SPRITE_STATUS_NORMAL, pos[0], pos[1], node->box.size[0], node->box.size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:100:16: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] lineHeight = EXTRADATA(node).lineHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:107:27: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] while (option && count < EXTRADATA(node).scrollY.viewPos) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:122:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (OPTIONEXTRADATA(option).hovered) ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:126:15: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (Q_streq(OPTIONEXTRADATA(option).value, ref)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/../game/../shared/shared.h:136:31: note: expanded from macro 'Q_streq' #define Q_streq(a, b) (strcmp(a, b) == 0) ^ src/client/ui/node/ui_node_optionlist.cpp:136:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (OPTIONEXTRADATA(option).icon) { ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:141:23: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, decX, currentY, OPTIONEXTRADATA(option).icon->size[0], lineHeight); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:141:57: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, decX, currentY, OPTIONEXTRADATA(option).icon->size[0], lineHeight); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:141:115: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, decX, currentY, OPTIONEXTRADATA(option).icon->size[0], lineHeight); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:142:12: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] decX += OPTIONEXTRADATA(option).icon->size[0] + lineHeight / 4; ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:146:36: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* label = CL_Translate(OPTIONEXTRADATA(option).label); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:164:6: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).count != count) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:165:3: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).count = count; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:182:16: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] lineHeight = EXTRADATA(node).lineHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:189:27: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] while (option && count < EXTRADATA(node).scrollY.viewPos) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:220:42: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_AbstractOptionSetCurrentValue(node, OPTIONEXTRADATA(option).value); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:232:12: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).scrollY.moveDelta(down ? 1 : -1); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:233:6: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).onViewChange && updated) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:234:32: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:258:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).versionId = -1; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:273:3: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:273:38: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:293:13: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] updated = EXTRADATA(node).scrollY.moveDelta(deltaY); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:294:7: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).onViewChange && updated) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:295:33: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onViewChange); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:310:19: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] int lineHeight = EXTRADATA(node).lineHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_optionlist.cpp:324:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_optionlist.cpp:324:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_todo.cpp In file included from src/client/ui/node/ui_node_todo.cpp:26: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_todo.cpp:26: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_base.cpp In file included from src/client/ui/node/ui_node_base.cpp:24: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_base.cpp:24: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_base.cpp:50:2: warning: cast from 'char *' to 'baseExtraData_t *' (aka 'baseExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] EXTRADATA(node).baseid = -1; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:72:22: warning: cast from 'char *' to 'baseExtraData_t *' (aka 'baseExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] GAME_DrawBaseLayout(EXTRADATA(node).baseid, nodepos[0], nodepos[1], totalMarge, width, height, node->padding, node->bgcolor, node->color); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:116:16: warning: cast from 'char *' to 'baseExtraData_t *' (aka 'baseExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] GAME_DrawBase(EXTRADATA(node).baseid, nodePos[0], nodePos[1], width, height, col, row, hover, BASE_IMAGE_OVERLAY); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:133:23: warning: cast from 'const char *' to 'const baseExtraData_t *' (aka 'const baseExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] GAME_DrawBaseTooltip(EXTRADATACONST(node).baseid, x, y, col, row); ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:40:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:153:23: warning: cast from 'const char *' to 'const baseExtraData_t *' (aka 'const baseExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] GAME_HandleBaseClick(EXTRADATACONST(node).baseid, K_MOUSE1, col, row); ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:40:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:173:23: warning: cast from 'const char *' to 'const baseExtraData_t *' (aka 'const baseExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] GAME_HandleBaseClick(EXTRADATACONST(node).baseid, K_MOUSE2, col, row); ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:40:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:194:23: warning: cast from 'const char *' to 'const baseExtraData_t *' (aka 'const baseExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] GAME_HandleBaseClick(EXTRADATACONST(node).baseid, K_MOUSE3, col, row); ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:40:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_base.cpp:216:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "baseid", V_INT, baseExtraData_t, baseid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_base.cpp:216:2: warning: cast from 'char *' to 'baseExtraData_t *' (aka 'baseExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "baseid", V_INT, baseExtraData_t, baseid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_messagelist.cpp In file included from src/client/ui/node/ui_node_messagelist.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_messagelist.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/ui/node/ui_node_messagelist.cpp:33: src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/ui/node/../node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ src/client/ui/node/ui_node_messagelist.cpp:126:85: warning: cast from 'const char *' to 'const abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawString(fontID, ALIGN_UL, x, y, x, column1, LINEHEIGHT, message->timestamp, EXTRADATACONST(node).scrollY.viewSize, 0, &lines1, true, LONGLINES_WRAP); ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:41:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, abstractScrollableExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:141:79: warning: cast from 'const char *' to 'const abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawString(fontID, ALIGN_UL, x, y, x, column2, LINEHEIGHT, message->text, EXTRADATACONST(node).scrollY.viewSize, 0, &lines2, true, LONGLINES_WRAP); ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:41:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, abstractScrollableExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:212:9: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] posY = EXTRADATA(node).scrollY.viewPos; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:226:22: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (screenLines >= EXTRADATA(node).scrollY.viewSize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:267:3: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:267:38: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).scrollY.fullSize > EXTRADATA(node).scrollY.viewSize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_messagelist.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_abstractscrollbar.cpp In file included from src/client/ui/node/ui_node_abstractscrollbar.cpp:28: In file included from src/client/ui/node/../ui_behaviour.h:27: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_abstractscrollbar.cpp:28: In file included from src/client/ui/node/../ui_behaviour.h:27: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_abstractscrollbar.cpp:41:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "current", V_INT, EXTRADATA_TYPE, pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractscrollbar.cpp:41:2: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "current", V_INT, EXTRADATA_TYPE, pos); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollbar.cpp:43:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, EXTRADATA_TYPE, viewsize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractscrollbar.cpp:43:2: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "viewsize", V_INT, EXTRADATA_TYPE, viewsize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollbar.cpp:45:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, EXTRADATA_TYPE, fullsize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractscrollbar.cpp:45:2: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "fullsize", V_INT, EXTRADATA_TYPE, fullsize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_abstractscrollbar.cpp:48:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "hidewhenunused", V_BOOL, EXTRADATA_TYPE, hideWhenUnused); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_abstractscrollbar.cpp:48:2: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "hidewhenunused", V_BOOL, EXTRADATA_TYPE, hideWhenUnused); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_sequence.cpp In file included from src/client/ui/node/ui_node_sequence.cpp:25: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_sequence.cpp:25: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_sequence.cpp:49:6: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).context != nullptr && EXTRADATA(node).playing) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:49:44: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).context != nullptr && EXTRADATA(node).playing) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:60:15: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] SEQ_SetView(EXTRADATA(node).context, pos, node->box.size); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:61:26: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] finished = !SEQ_Render(EXTRADATA(node).context); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:66:19: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (finished && EXTRADATA(node).onEnd) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:67:33: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onEnd); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:68:4: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).playing = true; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:75:6: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).context == nullptr) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:76:3: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).context = SEQ_AllocContext(); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:77:6: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).source != nullptr) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:78:19: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] SEQ_InitContext(EXTRADATA(node).context, EXTRADATA(node).source); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:78:44: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] SEQ_InitContext(EXTRADATA(node).context, EXTRADATA(node).source); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:79:3: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).playing = true; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:85:6: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).context != nullptr) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:86:19: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] SEQ_FreeContext(EXTRADATA(node).context); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:87:3: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).context = nullptr; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:89:2: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).playing = false; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:94:6: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).context != nullptr) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:95:22: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] SEQ_SendClickEvent(EXTRADATA(node).context); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:102:7: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).source != nullptr) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:104:14: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] } else if (EXTRADATA(node).context != nullptr) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:120:19: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] propertySource = UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, EXTRADATA_TYPE, source); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_sequence.cpp:120:19: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] propertySource = UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, EXTRADATA_TYPE, source); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_sequence.cpp:123:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "onEnd", V_UI_ACTION, EXTRADATA_TYPE, onEnd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_sequence.cpp:123:2: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "onEnd", V_UI_ACTION, EXTRADATA_TYPE, onEnd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_data.cpp In file included from src/client/ui/node/ui_node_data.cpp:33: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_data.cpp:33: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_data.cpp:59:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "number", V_FLOAT, EXTRADATA_TYPE, number); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_data.cpp:59:2: warning: cast from 'char *' to 'dataExtraData_t *' (aka 'dataExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "number", V_FLOAT, EXTRADATA_TYPE, number); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_data.cpp:62:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "integer", V_INT, EXTRADATA_TYPE, number); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_data.cpp:62:2: warning: cast from 'char *' to 'dataExtraData_t *' (aka 'dataExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "integer", V_INT, EXTRADATA_TYPE, number); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_tbar.cpp In file included from src/client/ui/node/ui_node_tbar.cpp:25: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_tbar.cpp:25: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_tbar.cpp:44:48: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* ref = UI_GetReferenceString(node, EXTRADATA(node).image); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:34:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:65:9: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] shx = EXTRADATA(node).texl[0]; /* left gap to the texture */ ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:34:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:72:8: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] shx, EXTRADATA(node).texh[1], EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], ref); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:34:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:72:33: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] shx, EXTRADATA(node).texh[1], EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], ref); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:34:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:72:58: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] shx, EXTRADATA(node).texh[1], EXTRADATA(node).texl[0], EXTRADATA(node).texl[1], ref); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:34:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:85:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "image", V_CVAR_OR_STRING, EXTRADATA_TYPE, image); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_tbar.cpp:85:2: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "image", V_CVAR_OR_STRING, EXTRADATA_TYPE, image); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:88:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "texh", V_POS, EXTRADATA_TYPE, texh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_tbar.cpp:88:2: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "texh", V_POS, EXTRADATA_TYPE, texh); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tbar.cpp:90:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "texl", V_POS, EXTRADATA_TYPE, texl); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_tbar.cpp:90:2: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "texl", V_POS, EXTRADATA_TYPE, texl); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_rows.cpp In file included from src/client/ui/node/ui_node_rows.cpp:26: In file included from src/client/ui/node/../ui_behaviour.h:27: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_rows.cpp:26: In file included from src/client/ui/node/../ui_behaviour.h:27: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_rows.cpp:41:10: warning: cast from 'char *' to 'rowsExtraData_t *' (aka 'rowsExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] int i = EXTRADATA(node).current; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:32:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:47:31: warning: cast from 'char *' to 'rowsExtraData_t *' (aka 'rowsExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] const int height = std::min(EXTRADATA(node).lineHeight, (int)node->box.size[1] - current); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:32:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:62:6: warning: cast from 'char *' to 'rowsExtraData_t *' (aka 'rowsExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] if (EXTRADATA(node).lineHeight == 0) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:32:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:63:3: warning: cast from 'char *' to 'rowsExtraData_t *' (aka 'rowsExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] EXTRADATA(node).lineHeight = 10; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:32:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:78:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "lineheight", V_INT, rowsExtraData_t, lineHeight); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_rows.cpp:78:2: warning: cast from 'char *' to 'rowsExtraData_t *' (aka 'rowsExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "lineheight", V_INT, rowsExtraData_t, lineHeight); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_rows.cpp:80:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "current", V_INT, rowsExtraData_t, current); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_rows.cpp:80:2: warning: cast from 'char *' to 'rowsExtraData_t *' (aka 'rowsExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "current", V_INT, rowsExtraData_t, current); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_text.cpp In file included from src/client/ui/node/ui_node_text.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_text.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/ui/node/ui_node_text.cpp:33: src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/ui/node/../node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ src/client/ui/node/ui_node_text.cpp:51:6: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).dataID == TEXT_NULL || node->text != nullptr) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:54:24: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] v = UI_GetDataVersion(EXTRADATA(node).dataID); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:55:11: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (v != EXTRADATA(node).versionId) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:62:40: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] const char* text = UI_GetTextFromList(EXTRADATA(node).dataID, num); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:73:6: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).textLineSelected == num) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:75:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).textLineSelected = num; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:76:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).textSelected = UI_TextNodeGetSelectedText(node, num); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:101:6: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:101:47: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:102:3: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.scrollY.viewPos = EXTRADATA(node).super.scrollY.fullSize - EXTRADATA(node).super.scrollY.viewSize; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:102:43: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.scrollY.viewPos = EXTRADATA(node).super.scrollY.fullSize - EXTRADATA(node).super.scrollY.viewSize; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:102:84: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.scrollY.viewPos = EXTRADATA(node).super.scrollY.fullSize - EXTRADATA(node).super.scrollY.viewSize; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:103:32: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).super.onViewChange); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:120:15: warning: cast from 'const char *' to 'const textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] lineHeight = EXTRADATACONST(node).lineHeight; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:42:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:132:34: warning: cast from 'const char *' to 'const textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] line = (int) (y / lineHeight) + EXTRADATACONST(node).super.scrollY.viewPos; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:42:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:135:14: warning: cast from 'const char *' to 'const textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (line >= EXTRADATACONST(node).super.scrollY.fullSize) ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:42:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:143:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).lineUnderMouse = UI_TextNodeGetLine(node, x, y); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:173:20: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] int lineHeight = EXTRADATA(node).lineHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:180:15: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] viewSizeY = EXTRADATA(node).super.scrollY.viewSize; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:250:20: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (fullSizeY == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:250:56: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (fullSizeY == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:257:22: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (node->state && EXTRADATA(node).mousefx && fullSizeY == EXTRADATA(node).lineUnderMouse) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:257:62: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (node->state && EXTRADATA(node).mousefx && fullSizeY == EXTRADATA(node).lineUnderMouse) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:260:21: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (fullSizeY == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:260:57: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (fullSizeY == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:277:10: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (!EXTRADATA(node).tabWidth) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:280:17: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] tabwidth = EXTRADATA(node).tabWidth; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:303:80: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawString(font, (align_t)node->contentAlign, x1, y, x1, tabwidth - 1, EXTRADATA(node).lineHeight, cur, viewSizeY, EXTRADATA(node).super.scrollY.viewPos, &fullSizeY, false, LONGLINES_PRETTYCHOP); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:303:124: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawString(font, (align_t)node->contentAlign, x1, y, x1, tabwidth - 1, EXTRADATA(node).lineHeight, cur, viewSizeY, EXTRADATA(node).super.scrollY.viewPos, &fullSizeY, false, LONGLINES_PRETTYCHOP); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:322:52: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] R_FontTextSize(font, cur, width, (longlines_t)EXTRADATA(node).longlines, nullptr, nullptr, &lines, nullptr); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:325:72: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).lineHeight, cur, viewSizeY, EXTRADATA(node).super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).longlines); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:325:116: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).lineHeight, cur, viewSizeY, EXTRADATA(node).super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).longlines); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:325:186: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).lineHeight, cur, viewSizeY, EXTRADATA(node).super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).longlines); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:329:7: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).mousefx) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:353:6: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).dataID == TEXT_NULL && node->text != nullptr) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:356:33: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] shared = &ui_global.sharedData[EXTRADATA(node).dataID]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:372:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).versionId = shared->versionId; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:382:6: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).dataID == TEXT_NULL && node->text != nullptr) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:388:33: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] shared = &ui_global.sharedData[EXTRADATA(node).dataID]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:404:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).versionId = shared->versionId; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:415:26: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (line < 0 || line >= EXTRADATA(node).super.scrollY.fullSize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:432:26: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (line < 0 || line >= EXTRADATA(node).super.scrollY.fullSize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:469:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).textLineSelected = -1; /**< Invalid/no line selected per default. */ ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:470:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).textSelected = ""; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:477:19: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] int lineheight = EXTRADATA(node).lineHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:487:6: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).super.scrollY.viewSize == 0) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:489:4: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.scrollY.viewSize = node->box.size[1] / lineheight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:491:4: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.scrollY.viewSize = 1; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:498:23: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] node->box.size[1] = EXTRADATA(node).super.scrollY.viewSize * lineheight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:502:6: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).dataID >= UI_MAX_DATAID) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:503:114: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] Com_Error(ERR_DROP, "Error in node %s - max shared data id num exceeded (num: %i, max: %i)", UI_GetPath(node), EXTRADATA(node).dataID, UI_MAX_DATAID); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:512:31: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (node->text == nullptr && EXTRADATA(node).dataID == TEXT_NULL) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:523:3: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:523:44: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.scrollY.fullSize > EXTRADATA(node).super.scrollY.viewSize) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:557:19: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] int lineHeight = EXTRADATA(node).lineHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:571:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "lineselected", V_INT, textExtraData_t, textLineSelected); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_text.cpp:571:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "lineselected", V_INT, textExtraData_t, textLineSelected); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:574:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "textselected", V_CVAR_OR_STRING, textExtraData_t, textSelected); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_text.cpp:574:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "textselected", V_CVAR_OR_STRING, textExtraData_t, textSelected); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:583:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "dataid", V_UI_DATAID, textExtraData_t, dataID); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_text.cpp:583:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "dataid", V_UI_DATAID, textExtraData_t, dataID); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:585:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "lineheight", V_INT, textExtraData_t, lineHeight); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_text.cpp:585:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "lineheight", V_INT, textExtraData_t, lineHeight); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:587:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "tabwidth", V_INT, textExtraData_t, tabWidth); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_text.cpp:587:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "tabwidth", V_INT, textExtraData_t, tabWidth); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:591:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "longlines", V_INT, textExtraData_t, longlines); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_text.cpp:591:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "longlines", V_INT, textExtraData_t, longlines); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:597:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "rows", V_INT, textExtraData_t, super.scrollY.viewSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_text.cpp:597:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "rows", V_INT, textExtraData_t, super.scrollY.viewSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:602:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "lines", V_INT, textExtraData_t, super.scrollY.fullSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_text.cpp:602:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "lines", V_INT, textExtraData_t, super.scrollY.fullSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text.cpp:607:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "mousefx", V_BOOL, textExtraData_t, mousefx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_text.cpp:607:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "mousefx", V_BOOL, textExtraData_t, mousefx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_container.cpp In file included from src/client/ui/node/ui_node_container.cpp:34: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_container.cpp:34: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_container.cpp:86:9: warning: cast from 'const char *' to 'const containerExtraData_t *' (aka 'const containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] return EXTRADATACONST(node).container && EXTRADATACONST(node).container->scroll; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:86:43: warning: cast from 'const char *' to 'const containerExtraData_t *' (aka 'const containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] return EXTRADATACONST(node).container && EXTRADATACONST(node).container->scroll; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:344:6: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).container->single) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:346:52: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_DNDIsSourceNode(node) || inv->canHoldItem(EXTRADATA(node).container, od, 0, 0, dragInfoIC)) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:347:16: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawFree(EXTRADATA(node).container->id, node, nodepos[0], nodepos[1], node->box.size[0], node->box.size[1], true); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:361:44: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const int checkedTo = inv->canHoldItem(EXTRADATA(node).container, od, x, y, dragInfoIC); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:368:26: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (INVSH_CheckShape(EXTRADATA(node).container->shape, x, y)) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:370:19: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawFree(EXTRADATA(node).container->id, node, nodepos[0] + x * C_UNIT, nodepos[1] + y * C_UNIT, C_UNIT, C_UNIT, showTUs); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:398:2: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).container = container; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:446:29: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const invDef_t* contType = EXTRADATA(node).container; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:509:53: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const Container &cont = ui_inventory->getContainer(EXTRADATA(node).container->id); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:536:40: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] checkedTo = ui_inventory->canHoldItem(EXTRADATA(target).container, previewItem.def(), dragInfoToX, dragInfoToY, dragInfoIC); ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:558:6: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(target).container->single) { ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:584:7: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (!EXTRADATA(node).container) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:597:6: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).container->single) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:608:28: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (UI_DNDIsDragging() && EXTRADATA(node).container->id != CID_EQUIP) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:644:44: warning: cast from 'const char *' to 'const containerExtraData_t *' (aka 'const containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Item* result = ui_inventory->getItemAtPos(EXTRADATACONST(node).container, fromX, fromY); ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:691:30: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const invDef_t* container = EXTRADATA(node).container; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:751:2: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).lastSelectedId = ic->def()->idx; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:752:6: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).onSelect) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:753:32: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onSelect); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:825:4: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).lastSelectedId = dragInfoIC->def()->idx; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:826:8: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).onSelect) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:827:34: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onSelect); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:859:2: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).container = nullptr; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:869:40: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] return UI_DNDGetType() == DND_ITEM && EXTRADATA(target).container && (!UI_IsScrollContainerNode(target) || UI_DNDGetSourceNode() != target); ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:886:34: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const invDef_t* containerType = EXTRADATA(target).container; ^~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:966:36: warning: cast from 'const char *' to 'const containerExtraData_t *' (aka 'const containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const invDef_t* sourceContainer = EXTRADATACONST(source).container; ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:978:37: warning: cast from 'const char *' to 'const containerExtraData_t *' (aka 'const containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const invDef_t* targetContainer = EXTRADATACONST(target).container; ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:988:38: warning: cast from 'const char *' to 'const containerExtraData_t *' (aka 'const containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const invDef_t* targetContainer = EXTRADATACONST(target).container; ^~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:62:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:1042:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "lastselectedid", V_INT, containerExtraData_t, lastSelectedId); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_container.cpp:1042:2: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "lastselectedid", V_INT, containerExtraData_t, lastSelectedId); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_container.cpp:1044:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "onselect", V_UI_ACTION, containerExtraData_t, onSelect); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_container.cpp:1044:2: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "onselect", V_UI_ACTION, containerExtraData_t, onSelect); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../../cgame/../ui/ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_radar.cpp In file included from src/client/ui/node/ui_node_radar.cpp:25: In file included from src/client/ui/node/ui_node_radar.h:27: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_radar.cpp:25: In file included from src/client/ui/node/ui_node_radar.h:27: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_spinner.cpp In file included from src/client/ui/node/ui_node_spinner.cpp:26: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_spinner.cpp:26: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_spinner.cpp:102:25: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] switch ((spinnerMode_t)EXTRADATA(node).mode) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:108:7: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).horizontal) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:126:7: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).inverted) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:206:8: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).inverted) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:212:8: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).inverted) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:219:6: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).background) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:220:29: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(false, EXTRADATA(node).background, status, pos[0], pos[1], node->box.size[0], node->box.size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:221:7: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (!EXTRADATA(node).horizontal) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:222:7: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).topIcon) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:223:30: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(false, EXTRADATA(node).topIcon, topStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:224:7: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).bottomIcon) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:225:30: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(false, EXTRADATA(node).bottomIcon, bottomStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:227:7: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).topIcon) /* Top becomes right */ ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:228:30: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(false, EXTRADATA(node).topIcon, topStatus, pos[0] + node->box.size[0] / 2, pos[1], node->box.size[0] / 2, node->box.size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:229:7: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).bottomIcon) /* Bottom becomes left */ ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:230:30: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(false, EXTRADATA(node).bottomIcon, bottomStatus, pos[0], pos[1], node->box.size[0] / 2, node->box.size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:249:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_spinner.cpp:249:2: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:254:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "topIcon", V_UI_SPRITEREF, EXTRADATA_TYPE, topIcon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_spinner.cpp:254:2: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "topIcon", V_UI_SPRITEREF, EXTRADATA_TYPE, topIcon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:259:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "bottomIcon", V_UI_SPRITEREF, EXTRADATA_TYPE, bottomIcon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_spinner.cpp:259:2: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "bottomIcon", V_UI_SPRITEREF, EXTRADATA_TYPE, bottomIcon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:267:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "mode", V_INT, EXTRADATA_TYPE, mode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_spinner.cpp:267:2: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "mode", V_INT, EXTRADATA_TYPE, mode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:272:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "horizontal", V_BOOL, EXTRADATA_TYPE, horizontal); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_spinner.cpp:272:2: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "horizontal", V_BOOL, EXTRADATA_TYPE, horizontal); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_spinner.cpp:277:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "inverted", V_BOOL, EXTRADATA_TYPE, inverted); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_spinner.cpp:277:2: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "inverted", V_BOOL, EXTRADATA_TYPE, inverted); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_text2.cpp In file included from src/client/ui/node/ui_node_text2.cpp:27: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_text2.cpp:27: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/client/ui/node/ui_node_text2.cpp:33: In file included from src/client/ui/node/ui_node_text2.h:28: src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void draw(uiNode_t* node); ^ src/client/ui/node/../node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here virtual void draw(uiNode_t* node) {} ^ src/client/ui/node/ui_node_text2.cpp:50:15: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] LIST_Delete(&EXTRADATA(node).lineSplit); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:54:11: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] else if (EXTRADATA(node).super.dataID != TEXT_NULL) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:56:34: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] shared = &ui_global.sharedData[EXTRADATA(node).super.dataID]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:59:22: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] data = UI_GetText(EXTRADATA(node).super.dataID); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:86:19: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] LIST_AddString(&EXTRADATA(node).lineSplit, buffer); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:109:15: warning: cast from 'const char *' to 'const text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] lineHeight = EXTRADATACONST(node).super.lineHeight; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:42:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:121:34: warning: cast from 'const char *' to 'const text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] line = (int) (y / lineHeight) + EXTRADATACONST(node).super.super.scrollY.viewPos; ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:42:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:124:14: warning: cast from 'const char *' to 'const text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (line >= EXTRADATACONST(node).super.super.scrollY.fullSize) ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:42:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:132:2: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.lineUnderMouse = UI_TextNodeGetLine(node, x, y); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:156:20: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] int lineHeight = EXTRADATA(node).super.lineHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:163:15: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] viewSizeY = EXTRADATA(node).super.super.scrollY.viewSize; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:215:51: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] R_FontTextSize(font, cur, width, (longlines_t)EXTRADATA(node).super.longlines, nullptr, nullptr, &lines, nullptr); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:218:71: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).super.lineHeight, cur, viewSizeY, EXTRADATA(node).super.super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).super.longlines); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:218:121: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).super.lineHeight, cur, viewSizeY, EXTRADATA(node).super.super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).super.longlines); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:218:197: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawString(font, (align_t)node->contentAlign, x1, y, x, width, EXTRADATA(node).super.lineHeight, cur, viewSizeY, EXTRADATA(node).super.super.scrollY.viewPos, &fullSizeY, true, (longlines_t)EXTRADATA(node).super.longlines); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:236:6: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).super.dataID == TEXT_NULL && node->text != nullptr) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:237:18: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] drawText(node, EXTRADATA(node).lineSplit, true); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:241:33: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] shared = &ui_global.sharedData[EXTRADATA(node).super.dataID]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:246:18: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] drawText(node, EXTRADATA(node).lineSplit, true); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:249:2: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.versionId = shared->versionId; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:261:6: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).super.dataID == TEXT_NULL && node->text != nullptr) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:262:18: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] drawText(node, EXTRADATA(node).lineSplit, false); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:266:33: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] shared = &ui_global.sharedData[EXTRADATA(node).super.dataID]; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:270:18: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] drawText(node, EXTRADATA(node).lineSplit, false); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:279:2: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.versionId = shared->versionId; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:290:26: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (line < 0 || line >= EXTRADATA(node).super.super.scrollY.fullSize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:307:26: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (line < 0 || line >= EXTRADATA(node).super.super.scrollY.fullSize) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:318:2: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.textLineSelected = -1; /**< Invalid/no line selected per default. */ ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:319:2: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.textSelected = ""; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:326:19: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] int lineheight = EXTRADATA(node).super.lineHeight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:336:6: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).super.super.scrollY.viewSize == 0) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:338:4: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.super.scrollY.viewSize = node->box.size[1] / lineheight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:340:4: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).super.super.scrollY.viewSize = 1; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:347:23: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] node->box.size[1] = EXTRADATA(node).super.super.scrollY.viewSize * lineheight; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:351:6: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).super.dataID >= UI_MAX_DATAID) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:352:110: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] Com_Error(ERR_DROP, "Error in node %s - max shared data id exceeded (num: %i, max: %i)", UI_GetPath(node), EXTRADATA(node).super.dataID, UI_MAX_DATAID); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:361:31: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (node->text == nullptr && EXTRADATA(node).super.dataID == TEXT_NULL) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 48 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_bar.cpp In file included from src/client/ui/node/ui_node_bar.cpp:28: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_bar.cpp:28: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_bar.cpp:55:22: warning: cast from 'char *' to 'barExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (node->state && !EXTRADATA(node).readOnly) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:58:23: warning: cast from 'char *' to 'barExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] const float scale = EXTRADATA(node).noHover ? 1.0 : 0.8; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:71:10: warning: cast from 'char *' to 'barExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] switch (EXTRADATA(node).orientation) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:85:64: warning: cast from 'char *' to 'barExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] Com_Printf("UI_BarNodeDraw: Orientation %d not supported\n", EXTRADATA(node).orientation); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:110:10: warning: cast from 'char *' to 'barExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] switch (EXTRADATA(node).orientation) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:125:77: warning: cast from 'char *' to 'barExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] Com_Printf("UI_BarNodeCapturedMouseMove: Orientation %d not supported\n", EXTRADATA(node).orientation); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:134:24: warning: cast from 'char *' to 'barExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (node->disabled || EXTRADATA(node).readOnly) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:155:2: warning: cast from 'char *' to 'barExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).orientation = ALIGN_CR; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:168:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "direction", V_ALIGN, EXTRADATA_TYPE, orientation); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_bar.cpp:168:2: warning: cast from 'char *' to 'barExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "direction", V_ALIGN, EXTRADATA_TYPE, orientation); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:172:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "readonly", V_BOOL, EXTRADATA_TYPE, readOnly); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_bar.cpp:172:2: warning: cast from 'char *' to 'barExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "readonly", V_BOOL, EXTRADATA_TYPE, readOnly); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_bar.cpp:176:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "nohover", V_BOOL, EXTRADATA_TYPE, noHover); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_bar.cpp:176:2: warning: cast from 'char *' to 'barExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "nohover", V_BOOL, EXTRADATA_TYPE, noHover); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_zone.cpp In file included from src/client/ui/node/ui_node_zone.cpp:28: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_zone.cpp:28: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_zone.cpp:53:7: warning: cast from 'char *' to 'zoneExtraData_t *' increases required alignment from 1 to 4 [-Wcast-align] if (!EXTRADATA(node).repeat) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:57:39: warning: cast from 'char *' to 'zoneExtraData_t *' increases required alignment from 1 to 4 [-Wcast-align] capturedTimer = UI_AllocTimer(node, EXTRADATA(node).clickDelay, UI_ZoneNodeRepeat); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:64:7: warning: cast from 'char *' to 'zoneExtraData_t *' increases required alignment from 1 to 4 [-Wcast-align] if (!EXTRADATA(node).repeat) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:88:2: warning: cast from 'char *' to 'zoneExtraData_t *' increases required alignment from 1 to 4 [-Wcast-align] EXTRADATA(node).clickDelay = 1000; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:40:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:98:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "repeat", V_BOOL, zoneExtraData_t, repeat); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_zone.cpp:98:2: warning: cast from 'char *' to 'zoneExtraData_t *' increases required alignment from 1 to 4 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "repeat", V_BOOL, zoneExtraData_t, repeat); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_zone.cpp:100:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "clickdelay", V_INT, zoneExtraData_t, clickDelay); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_zone.cpp:100:2: warning: cast from 'char *' to 'zoneExtraData_t *' increases required alignment from 1 to 4 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "clickdelay", V_INT, zoneExtraData_t, clickDelay); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_material_editor.cpp In file included from src/client/ui/node/ui_node_material_editor.cpp:26: In file included from src/client/ui/node/../../client.h:31: In file included from src/client/ui/node/../../cl_shared.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_material_editor.cpp:26: In file included from src/client/ui/node/../../client.h:31: In file included from src/client/ui/node/../../cl_shared.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_material_editor.cpp:161:29: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (cnt / imagesPerLine < EXTRADATA(node).scrollY.viewPos) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_material_editor.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_material_editor.cpp:231:29: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (cnt / imagesPerLine < EXTRADATA(node).scrollY.viewPos) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_material_editor.cpp:42:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, abstractScrollableExtraData_t) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_radiobutton.cpp In file included from src/client/ui/node/ui_node_radiobutton.cpp:37: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_radiobutton.cpp:37: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_radiobutton.cpp:58:6: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).string == nullptr) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:59:52: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const float current = UI_GetReferenceFloat(node, EXTRADATA(node).cvar); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:60:20: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] return current > EXTRADATA(node).value - EPSILON && current < EXTRADATA(node).value + EPSILON; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:60:65: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] return current > EXTRADATA(node).value - EPSILON && current < EXTRADATA(node).value + EPSILON; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:62:53: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* current = UI_GetReferenceString(node, EXTRADATA(node).cvar); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:63:27: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] return Q_streq(current, EXTRADATA(node).string); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/../game/../shared/shared.h:136:34: note: expanded from macro 'Q_streq' #define Q_streq(a, b) (strcmp(a, b) == 0) ^ src/client/ui/node/ui_node_radiobutton.cpp:103:6: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).background) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:104:29: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(false, EXTRADATA(node).background, iconStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:107:6: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).icon) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:108:22: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(EXTRADATA(node).flipIcon, EXTRADATA(node).icon, iconStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:108:48: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(EXTRADATA(node).flipIcon, EXTRADATA(node).icon, iconStatus, pos[0], pos[1], node->box.size[0], node->box.size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:118:7: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (!EXTRADATA(node).cvar || !*(char*)(EXTRADATA(node).cvar)) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:118:41: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (!EXTRADATA(node).cvar || !*(char*)(EXTRADATA(node).cvar)) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:125:56: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] char const* const cvarName = Q_strstart((char const*)(EXTRADATA(node).cvar), "*cvar:"); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:129:29: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_GetReferenceFloat(node, EXTRADATA(node).cvar); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:134:6: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).string == nullptr) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:135:27: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Cvar_SetValue(cvarName, EXTRADATA(node).value); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:137:28: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Cvar_Set(cvarName, "%s", EXTRADATA(node).string); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:161:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "value", V_FLOAT, EXTRADATA_TYPE, value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_radiobutton.cpp:161:2: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "value", V_FLOAT, EXTRADATA_TYPE, value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:163:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "stringValue", V_CVAR_OR_STRING, EXTRADATA_TYPE, string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_radiobutton.cpp:163:2: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "stringValue", V_CVAR_OR_STRING, EXTRADATA_TYPE, string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:166:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "cvar", V_UI_CVAR, EXTRADATA_TYPE, cvar); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_radiobutton.cpp:166:2: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "cvar", V_UI_CVAR, EXTRADATA_TYPE, cvar); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:168:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "icon", V_UI_SPRITEREF, EXTRADATA_TYPE, icon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_radiobutton.cpp:168:2: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "icon", V_UI_SPRITEREF, EXTRADATA_TYPE, icon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:169:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "flipicon", V_BOOL, EXTRADATA_TYPE, flipIcon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_radiobutton.cpp:169:2: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "flipicon", V_BOOL, EXTRADATA_TYPE, flipIcon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_radiobutton.cpp:171:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_radiobutton.cpp:171:2: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_video.cpp In file included from src/client/ui/node/ui_node_video.cpp:31: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_video.cpp:31: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_video.cpp:48:6: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).cin.status == CIN_STATUS_INVALID) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:53:6: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).cin.status == CIN_STATUS_NONE) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:55:18: warning: cast from 'const char *' to 'const videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] bool nosound = UI_VIDEOEXTRADATACONST(node).nosound; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.h:41:38: note: expanded from macro 'UI_VIDEOEXTRADATACONST' #define UI_VIDEOEXTRADATACONST(node) UI_EXTRADATACONST(node, UI_VIDEOEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:57:23: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] CIN_OpenCinematic(&(EXTRADATA(node).cin), va("videos/%s", EXTRADATA(node).source)); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:57:61: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] CIN_OpenCinematic(&(EXTRADATA(node).cin), va("videos/%s", EXTRADATA(node).source)); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:58:7: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).cin.status == CIN_STATUS_INVALID) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:59:33: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onEnd); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:64:23: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] CIN_SetParameters(&(EXTRADATA(node).cin), pos[0], pos[1], node->box.size[0], node->box.size[1], CIN_STATUS_PLAYING, nosound); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:67:6: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).cin.status == CIN_STATUS_PLAYING || EXTRADATA(node).cin.status == CIN_STATUS_PAUSE) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:67:58: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).cin.status == CIN_STATUS_PLAYING || EXTRADATA(node).cin.status == CIN_STATUS_PAUSE) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:69:22: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] CIN_RunCinematic(&(EXTRADATA(node).cin)); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:70:7: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).cin.status == CIN_STATUS_NONE) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:71:33: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_ExecuteEventActions(node, EXTRADATA(node).onEnd); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:78:7: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (!EXTRADATA(node).source) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:81:6: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).cin.fullScreen) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:91:22: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] CIN_InitCinematic(&(EXTRADATA(node).cin)); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:97:23: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] CIN_CloseCinematic(&(EXTRADATA(node).cin)); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:107:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, EXTRADATA_TYPE, source); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_video.cpp:107:2: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "src", V_CVAR_OR_STRING, EXTRADATA_TYPE, source); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:109:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "nosound", V_BOOL, EXTRADATA_TYPE, nosound); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_video.cpp:109:2: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "nosound", V_BOOL, EXTRADATA_TYPE, nosound); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_video.cpp:111:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "onEnd", V_UI_ACTION, EXTRADATA_TYPE, onEnd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_video.cpp:111:2: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "onEnd", V_UI_ACTION, EXTRADATA_TYPE, onEnd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_checkbox.cpp In file included from src/client/ui/node/ui_node_checkbox.cpp:34: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_checkbox.cpp:34: In file included from src/client/ui/node/../ui_nodes.h:28: In file included from src/client/ui/node/../../../common/scripts.h:28: In file included from src/client/ui/node/../../../common/common.h:30: In file included from src/client/ui/node/../../../common/../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_checkbox.cpp:67:10: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] icon = EXTRADATA(node).iconUnchecked; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:69:10: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] icon = EXTRADATA(node).iconChecked; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:71:10: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] icon = EXTRADATA(node).iconIndeterminate; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:76:6: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(node).background) { ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:77:29: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(false, EXTRADATA(node).background, status, pos[0], pos[1], node->box.size[0], node->box.size[1]); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:47:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:137:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "iconChecked", V_UI_SPRITEREF, EXTRADATA_TYPE, iconChecked); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_checkbox.cpp:137:2: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "iconChecked", V_UI_SPRITEREF, EXTRADATA_TYPE, iconChecked); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:139:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "iconUnchecked", V_UI_SPRITEREF, EXTRADATA_TYPE, iconUnchecked); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_checkbox.cpp:139:2: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "iconUnchecked", V_UI_SPRITEREF, EXTRADATA_TYPE, iconUnchecked); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:141:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "iconIndeterminate", V_UI_SPRITEREF, EXTRADATA_TYPE, iconIndeterminate); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_checkbox.cpp:141:2: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "iconIndeterminate", V_UI_SPRITEREF, EXTRADATA_TYPE, iconIndeterminate); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_checkbox.cpp:143:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_checkbox.cpp:143:2: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "background", V_UI_SPRITEREF, EXTRADATA_TYPE, background); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_option.cpp In file included from src/client/ui/node/ui_node_option.cpp:25: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_option.cpp:25: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_option.cpp:60:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (OPTIONEXTRADATA(option).collapsed) { ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:61:4: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] OPTIONEXTRADATA(option).childCount = 0; ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:68:3: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] OPTIONEXTRADATA(option).childCount = localCount; ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:83:8: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (EXTRADATA(child).collapsed) ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:84:18: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] count += 1 + EXTRADATA(child).childCount; ^~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:90:2: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).childCount = count; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:39:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:113:13: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Q_strncpyz(OPTIONEXTRADATA(option).label, label, sizeof(OPTIONEXTRADATA(option).label)); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:113:58: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Q_strncpyz(OPTIONEXTRADATA(option).label, label, sizeof(OPTIONEXTRADATA(option).label)); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:114:13: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Q_strncpyz(OPTIONEXTRADATA(option).value, value, sizeof(OPTIONEXTRADATA(option).value)); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:114:58: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Q_strncpyz(OPTIONEXTRADATA(option).value, value, sizeof(OPTIONEXTRADATA(option).value)); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:140:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "label", V_STRING, EXTRADATA_TYPE, label); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_option.cpp:140:2: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "label", V_STRING, EXTRADATA_TYPE, label); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:145:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "value", V_STRING, EXTRADATA_TYPE, value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_option.cpp:145:2: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "value", V_STRING, EXTRADATA_TYPE, value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:150:22: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] propertyCollapsed = UI_RegisterExtradataNodeProperty(behaviour, "collapsed", V_BOOL, EXTRADATA_TYPE, collapsed); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_option.cpp:150:22: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] propertyCollapsed = UI_RegisterExtradataNodeProperty(behaviour, "collapsed", V_BOOL, EXTRADATA_TYPE, collapsed); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:154:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "icon", V_UI_SPRITEREF, EXTRADATA_TYPE, icon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_option.cpp:154:2: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "icon", V_UI_SPRITEREF, EXTRADATA_TYPE, icon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_option.cpp:155:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic] UI_RegisterExtradataNodeProperty(behaviour, "flipicon", V_BOOL, EXTRADATA_TYPE, flipIcon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:63: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ~~~~~~~~~~~ ^ src/client/ui/node/ui_node_option.cpp:155:2: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_RegisterExtradataNodeProperty(behaviour, "flipicon", V_BOOL, EXTRADATA_TYPE, flipIcon); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:105:146: note: expanded from macro 'UI_RegisterExtradataNodeProperty' #define UI_RegisterExtradataNodeProperty(BEHAVIOUR, NAME, TYPE, EXTRADATATYPE, ATTRIBUTE) UI_RegisterNodePropertyPosSize_(BEHAVIOUR, NAME, TYPE, UI_EXTRADATA_OFFSETOF_(EXTRADATATYPE, ATTRIBUTE), MEMBER_SIZEOF(EXTRADATATYPE, ATTRIBUTE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_behaviour.h:95:67: note: expanded from macro 'UI_EXTRADATA_OFFSETOF_' #define UI_EXTRADATA_OFFSETOF_(TYPE, MEMBER) ((size_t) &((TYPE *)(UI_EXTRADATA_POINTER(0, TYPE)))->MEMBER) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 warnings generated. ===> CXX [ufo] src/client/ui/node/ui_node_tab.cpp In file included from src/client/ui/node/ui_node_tab.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:52: src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/ui/node/ui_node_tab.cpp:26: In file included from src/client/ui/node/../ui_main.h:27: In file included from src/client/ui/node/../ui_data.h:30: In file included from src/client/ui/node/../../../shared/shared.h:54: src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/ui/node/../../../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/ui/node/../../../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/ui/node/../../../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/ui/node/../../../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/ui/node/ui_node_tab.cpp:78:51: warning: cast from 'const char *' to 'const abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] allowedWidth = node->box.size[0] - TILE_WIDTH * (EXTRADATACONST(node).count + 1); ^~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:45:30: note: expanded from macro 'EXTRADATACONST' #define EXTRADATACONST(node) UI_EXTRADATACONST(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:148:41: note: expanded from macro 'UI_EXTRADATACONST' #define UI_EXTRADATACONST(NODE, TYPE) (*UI_EXTRADATACONST_POINTER(NODE, const TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:147:48: note: expanded from macro 'UI_EXTRADATACONST_POINTER' #define UI_EXTRADATACONST_POINTER(NODE, TYPE) ((TYPE*)((const char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:98:36: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* label = CL_Translate(OPTIONEXTRADATA(option).label); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:101:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) { ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:101:39: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) { ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:102:16: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] tabWidth += OPTIONEXTRADATA(option).icon->size[0]; ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:142:42: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_AbstractOptionSetCurrentValue(node, OPTIONEXTRADATA(option).value); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:206:51: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] allowedWidth = node->box.size[0] - TILE_WIDTH * (EXTRADATA(node).count + 1); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:224:15: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (Q_streq(OPTIONEXTRADATA(option).value, ref)) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^ src/client/ui/node/../../../common/../game/../shared/shared.h:136:31: note: expanded from macro 'Q_streq' #define Q_streq(a, b) (strcmp(a, b) == 0) ^ src/client/ui/node/ui_node_tab.cpp:236:36: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* label = CL_Translate(OPTIONEXTRADATA(option).label); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:240:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) { ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:240:39: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) { ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:241:16: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] tabWidth += OPTIONEXTRADATA(option).icon->size[0]; ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:261:23: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, currentX, pos[1], OPTIONEXTRADATA(option).icon->size[0], TILE_HEIGHT); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:261:57: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, currentX, pos[1], OPTIONEXTRADATA(option).icon->size[0], TILE_HEIGHT); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:261:117: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] UI_DrawSpriteInBox(OPTIONEXTRADATA(option).flipIcon, OPTIONEXTRADATA(option).icon, iconStatus, currentX, pos[1], OPTIONEXTRADATA(option).icon->size[0], TILE_HEIGHT); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:262:15: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] textPos += OPTIONEXTRADATA(option).icon->size[0]; ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:266:3: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] OPTIONEXTRADATA(option).truncated = tabWidth < fontWidth || tabWidth == 0; ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:299:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] if (!OPTIONEXTRADATA(option).truncated) ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:302:35: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] const char* label = CL_Translate(OPTIONEXTRADATA(option).label); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:313:8: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] if (!(EXTRADATA(node).cvar)) ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:317:42: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] char const* const cvarName = Q_strstart(EXTRADATA(node).cvar, "*cvar:"); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:320:112: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] Com_Printf("UI_TabNodeInit: node '%s' doesn't have a valid cvar assigned (\"%s\" read)\n", UI_GetPath(node), EXTRADATA(node).cvar); ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:321:3: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align] EXTRADATA(node).cvar = nullptr; ^~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:44:25: note: expanded from macro 'EXTRADATA' #define EXTRADATA(node) UI_EXTRADATA(node, EXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/ui_node_tab.cpp:330:27: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align] Cvar_ForceSet(cvarName, OPTIONEXTRADATA(option).value); ^~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA' #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:146:36: note: expanded from macro 'UI_EXTRADATA' #define UI_EXTRADATA(NODE, TYPE) (*UI_EXTRADATA_POINTER(NODE, TYPE)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/ui/node/../ui_nodes.h:145:43: note: expanded from macro 'UI_EXTRADATA_POINTER' #define UI_EXTRADATA_POINTER(NODE, TYPE) ((TYPE*)((char*)NODE + sizeof(uiNode_t))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 34 warnings generated. ===> CXX [ufo] src/client/renderer/r_model_md2.cpp In file included from src/client/renderer/r_model_md2.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_model_md2.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/r_model_md2.cpp:65:10: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] inmat = (float*) ((byte*) pintag + pheader.ofs_tags); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:177:11: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dMD2Triangle_t *' increases required alignment from 1 to 2 [-Wcast-align] pintri = (const dMD2Triangle_t*) ((const byte*) md2 + LittleLong(md2->ofs_tris)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:178:13: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dMD2Coord_t *' increases required alignment from 1 to 2 [-Wcast-align] pincoord = (const dMD2Coord_t*) ((const byte*) md2 + LittleLong(md2->ofs_st)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:247:33: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dMD2Frame_t *' (aka 'const dAliasFrame_s *') increases required alignment from 1 to 4 [-Wcast-align] const dMD2Frame_t* pinframe = (const dMD2Frame_t*) ((const byte*) md2 + LittleLong(md2->ofs_frames) + i * frameSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:349:11: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dMD2Triangle_t *' increases required alignment from 1 to 2 [-Wcast-align] pintri = (const dMD2Triangle_t*) ((const byte*) md2 + LittleLong(md2->ofs_tris)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:350:13: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dMD2Coord_t *' increases required alignment from 1 to 2 [-Wcast-align] pincoord = (const dMD2Coord_t*) ((const byte*) md2 + LittleLong(md2->ofs_st)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:383:33: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dMD2Frame_t *' (aka 'const dAliasFrame_s *') increases required alignment from 1 to 4 [-Wcast-align] const dMD2Frame_t* pinframe = (const dMD2Frame_t*) ((const byte*) md2 + LittleLong(md2->ofs_frames) + i * frameSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:481:10: warning: cast from 'byte *' (aka 'unsigned char *') to 'const dMD2Model_t *' increases required alignment from 1 to 4 [-Wcast-align] md2 = (const dMD2Model_t*) buf; ^~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md2.cpp:500:8: warning: cast from 'byte *' (aka 'unsigned char *') to 'dMD2Model_t *' increases required alignment from 1 to 4 [-Wcast-align] md2 = (dMD2Model_t*) buffer; ^~~~~~~~~~~~~~~~~~~~~ 19 warnings generated. ===> CXX [ufo] src/client/renderer/r_font.cpp In file included from src/client/renderer/r_font.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_font.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/r_font.cpp:262:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int hashValue, i; ^~~~~~~~~ src/client/renderer/r_font.cpp:262:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int hashValue, i; ^~~~~~~~~ 12 warnings generated. ===> CXX [ufo] src/client/renderer/r_main.cpp In file included from src/client/renderer/r_main.cpp:27: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_main.cpp:27: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_draw.cpp In file included from src/client/renderer/r_draw.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_draw.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_misc.cpp In file included from src/client/renderer/r_misc.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_misc.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_array.cpp In file included from src/client/renderer/r_array.cpp:28: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_array.cpp:28: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_model.cpp In file included from src/client/renderer/r_model.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_model.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/r_model.cpp:133:22: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] switch (LittleLong(*(unsigned *) buf)) { ^~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/byte.h:37:41: note: expanded from macro 'LittleLong' #define LittleLong(X) (int)SDL_SwapLE32(X) ^ /usr/local/include/SDL/SDL_endian.h:193:26: note: expanded from macro 'SDL_SwapLE32' #define SDL_SwapLE32(X) (X) ^ 11 warnings generated. ===> CXX [ufo] src/client/renderer/r_bsp.cpp In file included from src/client/renderer/r_bsp.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_bsp.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_light.cpp In file included from src/client/renderer/r_light.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_light.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_mesh_anim.cpp In file included from src/client/renderer/r_mesh_anim.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_mesh_anim.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_model_alias.cpp In file included from src/client/renderer/r_model_alias.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_model_alias.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/r_model_alias.cpp:256:25: warning: cast from 'byte *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] version = LittleLong(*(uint32_t*) buffer); ^~~~~~~~~~~~~~~~~~ src/client/renderer/../../common/../shared/byte.h:37:41: note: expanded from macro 'LittleLong' #define LittleLong(X) (int)SDL_SwapLE32(X) ^ /usr/local/include/SDL/SDL_endian.h:193:26: note: expanded from macro 'SDL_SwapLE32' #define SDL_SwapLE32(X) (X) ^ src/client/renderer/r_model_alias.cpp:264:12: warning: cast from 'byte *' (aka 'unsigned char *') to 'const int32_t *' (aka 'const int *') increases required alignment from 1 to 4 [-Wcast-align] intbuf = (const int32_t*) buffer; ^~~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. ===> CXX [ufo] src/client/renderer/r_flare.cpp In file included from src/client/renderer/r_flare.cpp:22: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_flare.cpp:22: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_model_brush.cpp In file included from src/client/renderer/r_model_brush.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_model_brush.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/r_model_brush.cpp:72:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspVertex_t *' increases required alignment from 1 to 4 [-Wcast-align] in = (const dBspVertex_t*) (mod_base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp:95:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspNormal_t *' increases required alignment from 1 to 4 [-Wcast-align] in = (const dBspNormal_t*)(mod_base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp:136:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspModel_t *' increases required alignment from 1 to 4 [-Wcast-align] in = (const dBspModel_t*) (mod_base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp:165:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspEdge_t *' increases required alignment from 1 to 2 [-Wcast-align] in = (const dBspEdge_t*) (mod_base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp:190:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspTexinfo_t *' (aka 'const texinfo_s *') increases required alignment from 1 to 4 [-Wcast-align] in = (const dBspTexinfo_t*) (mod_base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp:288:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspSurface_t *' increases required alignment from 1 to 4 [-Wcast-align] in = (const dBspSurface_t*) (mod_base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp:361:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspNode_t *' increases required alignment from 1 to 4 [-Wcast-align] in = (const dBspNode_t*) (mod_base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp:412:25: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspLeaf_t *' increases required alignment from 1 to 4 [-Wcast-align] const dBspLeaf_t* in = (const dBspLeaf_t*) (mod_base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp:437:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const int *' increases required alignment from 1 to 4 [-Wcast-align] in = (const int*) (mod_base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp:463:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspPlane_t *' increases required alignment from 1 to 4 [-Wcast-align] in = (const dBspPlane_t*) (mod_base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_brush.cpp:1059:11: warning: cast from 'byte *' (aka 'unsigned char *') to 'dBspHeader_t *' increases required alignment from 1 to 4 [-Wcast-align] header = (dBspHeader_t*) buffer; ^~~~~~~~~~~~~~~~~~~~~~ 21 warnings generated. ===> CXX [ufo] src/client/renderer/r_corona.cpp In file included from src/client/renderer/r_corona.cpp:22: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_corona.cpp:22: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_geoscape.cpp In file included from src/client/renderer/r_geoscape.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_geoscape.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_thread.cpp In file included from src/client/renderer/r_thread.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_thread.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_program.cpp In file included from src/client/renderer/r_program.cpp:27: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_program.cpp:27: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_state.cpp In file included from src/client/renderer/r_state.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_state.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_entity.cpp In file included from src/client/renderer/r_entity.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_entity.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_model_md3.cpp In file included from src/client/renderer/r_model_md3.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_model_md3.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/r_model_md3.cpp:47:8: warning: cast from 'byte *' (aka 'unsigned char *') to 'dmd3_t *' increases required alignment from 1 to 4 [-Wcast-align] md3 = (dmd3_t*)buffer; ^~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:77:13: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dmd3frame_t *' increases required alignment from 1 to 4 [-Wcast-align] pinframe = (const dmd3frame_t*)((const byte*)md3 + LittleLong(md3->ofs_frames)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:98:29: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dmd3tag_t *' increases required alignment from 1 to 4 [-Wcast-align] const dmd3tag_t* pintag = (const dmd3tag_t*)((const byte*)md3 + LittleLong(md3->ofs_tags)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:117:12: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dmd3mesh_t *' increases required alignment from 1 to 4 [-Wcast-align] pinmesh = (const dmd3mesh_t*)((const byte*)md3 + LittleLong(md3->ofs_meshes)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:148:31: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dmd3skin_t *' increases required alignment from 1 to 4 [-Wcast-align] const dmd3skin_t* pinskin = (const dmd3skin_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_skins)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:158:29: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const int32_t *' (aka 'const int *') increases required alignment from 1 to 4 [-Wcast-align] const int32_t* pinindex = (const int32_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_tris)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:168:33: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dmd3coord_t *' increases required alignment from 1 to 4 [-Wcast-align] const dmd3coord_t* pincoord = (const dmd3coord_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_tcs)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:177:13: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dmd3vertex_t *' increases required alignment from 1 to 2 [-Wcast-align] pinvert = (const dmd3vertex_t*)((const byte*)pinmesh + LittleLong(pinmesh->ofs_verts)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/renderer/r_model_md3.cpp:200:13: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dmd3mesh_t *' increases required alignment from 1 to 4 [-Wcast-align] pinmesh = (const dmd3mesh_t*)((const byte*)pinmesh + LittleLong(pinmesh->meshsize)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 warnings generated. ===> CXX [ufo] src/client/renderer/r_material.cpp In file included from src/client/renderer/r_material.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_material.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_sdl.cpp In file included from src/client/renderer/r_sdl.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_sdl.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_particle.cpp In file included from src/client/renderer/r_particle.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_particle.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_model_obj.cpp In file included from src/client/renderer/r_model_obj.cpp:55: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_model_obj.cpp:55: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_surface.cpp In file included from src/client/renderer/r_surface.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_surface.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_image.cpp In file included from src/client/renderer/r_image.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_image.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/r_image.cpp:502:19: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] R_UploadTexture((const unsigned *) pic, width, height, image); ^~~~~~~~~~~~~~~~~~~~~~ 11 warnings generated. ===> CXX [ufo] src/client/renderer/r_lightmap.cpp In file included from src/client/renderer/r_lightmap.cpp:27: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_lightmap.cpp:27: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_sphere.cpp In file included from src/client/renderer/r_sphere.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_sphere.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/r_sphere.cpp:205:6: warning: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value] if (Vector4NotEmpty(sphere->nightLightPos)) ^ src/client/renderer/../../common/../shared/vector.h:76:60: note: expanded from macro 'Vector4NotEmpty' #define Vector4NotEmpty(a) (VectorNotEmpty(a) || !EQUAL((a)[3],0.0)) ^ src/client/renderer/../../common/../shared/vector.h:37:21: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ src/client/renderer/r_sphere.cpp:205:6: note: use function 'std::abs' instead src/client/renderer/../../common/../shared/vector.h:76:60: note: expanded from macro 'Vector4NotEmpty' #define Vector4NotEmpty(a) (VectorNotEmpty(a) || !EQUAL((a)[3],0.0)) ^ src/client/renderer/../../common/../shared/vector.h:37:21: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ 11 warnings generated. ===> CXX [ufo] src/client/renderer/r_matrix.cpp In file included from src/client/renderer/r_matrix.cpp:21: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_matrix.cpp:21: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_framebuffer.cpp In file included from src/client/renderer/r_framebuffer.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_framebuffer.cpp:25: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_grass.cpp In file included from src/client/renderer/r_grass.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_grass.cpp:26: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/client/renderer/r_mesh.cpp In file included from src/client/renderer/r_mesh.cpp:28: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:52: src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/client/renderer/r_mesh.cpp:28: In file included from src/client/renderer/r_local.h:28: In file included from src/client/renderer/../../common/common.h:30: In file included from src/client/renderer/../../common/../shared/shared.h:54: src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/client/renderer/../../common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/client/renderer/../../common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/client/renderer/../../common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/client/renderer/../../common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/binaryexpressionparser.cpp In file included from src/common/binaryexpressionparser.cpp:25: In file included from src/common/binaryexpressionparser.h:27: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/common/binaryexpressionparser.cpp:26: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ 10 warnings generated. ===> CXX [ufo] src/common/cmd.cpp In file included from src/common/cmd.cpp:34: In file included from src/common/cmd.h:35: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ In file included from src/common/cmd.cpp:35: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ 10 warnings generated. ===> CXX [ufo] src/common/http.cpp In file included from src/common/http.cpp:21: In file included from src/common/http.h:27: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/http.cpp:21: In file included from src/common/http.h:27: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/ioapi.cpp ===> CXX [ufo] src/common/unzip.cpp ===> CXX [ufo] src/common/bsp.cpp In file included from src/common/bsp.cpp:26: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/bsp.cpp:26: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/bsp.cpp:59:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspModel_t *' increases required alignment from 1 to 4 [-Wcast-align] in = (const dBspModel_t*) (base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp:102:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspTexinfo_t *' (aka 'const texinfo_s *') increases required alignment from 1 to 4 [-Wcast-align] in = (const dBspTexinfo_t*) (base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp:143:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspNode_t *' increases required alignment from 1 to 4 [-Wcast-align] in = (const dBspNode_t*) (base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp:193:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspBrush_t *' increases required alignment from 1 to 4 [-Wcast-align] in = (const dBspBrush_t*) (base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp:230:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspLeaf_t *' increases required alignment from 1 to 4 [-Wcast-align] in = (const dBspLeaf_t*) (base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp:284:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspPlane_t *' increases required alignment from 1 to 4 [-Wcast-align] in = (const dBspPlane_t*) (base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp:329:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const unsigned short *' increases required alignment from 1 to 2 [-Wcast-align] in = (const unsigned short*) (base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp:366:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspBrushSide_t *' increases required alignment from 1 to 2 [-Wcast-align] in = (const dBspBrushSide_t*) (base + l->fileofs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/bsp.cpp:812:12: warning: cast from 'byte *' (aka 'unsigned char *') to 'dBspHeader_t *' increases required alignment from 1 to 4 [-Wcast-align] header = *(dBspHeader_t*) buf; ^~~~~~~~~~~~~~~~~~~ 19 warnings generated. ===> CXX [ufo] src/common/grid.cpp In file included from src/common/grid.cpp:26: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/grid.cpp:26: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/grid.cpp:690:8: warning: using floating point absolute value function 'fabsf' when argument is of integer type [-Wabsolute-value] if (VectorEqual(step.toPos, targetPos)) { ^ src/common/../shared/vector.h:65:32: note: expanded from macro 'VectorEqual' #define VectorEqual(a,b) (EQUAL((a)[0],(b)[0])?EQUAL((a)[1],(b)[1])?EQUAL((a)[2],(b)[2])?true:false:false:false) ^ src/common/../shared/vector.h:37:21: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ src/common/grid.cpp:690:8: note: use function 'std::abs' instead src/common/../shared/vector.h:65:32: note: expanded from macro 'VectorEqual' #define VectorEqual(a,b) (EQUAL((a)[0],(b)[0])?EQUAL((a)[1],(b)[1])?EQUAL((a)[2],(b)[2])?true:false:false:false) ^ src/common/../shared/vector.h:37:21: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ src/common/grid.cpp:690:8: warning: using floating point absolute value function 'fabsf' when argument is of integer type [-Wabsolute-value] if (VectorEqual(step.toPos, targetPos)) { ^ src/common/../shared/vector.h:65:53: note: expanded from macro 'VectorEqual' #define VectorEqual(a,b) (EQUAL((a)[0],(b)[0])?EQUAL((a)[1],(b)[1])?EQUAL((a)[2],(b)[2])?true:false:false:false) ^ src/common/../shared/vector.h:37:21: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ src/common/grid.cpp:690:8: note: use function 'std::abs' instead src/common/../shared/vector.h:65:53: note: expanded from macro 'VectorEqual' #define VectorEqual(a,b) (EQUAL((a)[0],(b)[0])?EQUAL((a)[1],(b)[1])?EQUAL((a)[2],(b)[2])?true:false:false:false) ^ src/common/../shared/vector.h:37:21: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ src/common/grid.cpp:690:8: warning: using floating point absolute value function 'fabsf' when argument is of integer type [-Wabsolute-value] if (VectorEqual(step.toPos, targetPos)) { ^ src/common/../shared/vector.h:65:74: note: expanded from macro 'VectorEqual' #define VectorEqual(a,b) (EQUAL((a)[0],(b)[0])?EQUAL((a)[1],(b)[1])?EQUAL((a)[2],(b)[2])?true:false:false:false) ^ src/common/../shared/vector.h:37:21: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ src/common/grid.cpp:690:8: note: use function 'std::abs' instead src/common/../shared/vector.h:65:74: note: expanded from macro 'VectorEqual' #define VectorEqual(a,b) (EQUAL((a)[0],(b)[0])?EQUAL((a)[1],(b)[1])?EQUAL((a)[2],(b)[2])?true:false:false:false) ^ src/common/../shared/vector.h:37:21: note: expanded from macro 'EQUAL' #define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f) ^ 13 warnings generated. ===> CXX [ufo] src/common/cmodel.cpp In file included from src/common/cmodel.cpp:27: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/cmodel.cpp:27: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/common.cpp In file included from src/common/common.cpp:27: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/common.cpp:27: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/cvar.cpp In file included from src/common/cvar.cpp:31: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/cvar.cpp:31: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/files.cpp In file included from src/common/files.cpp:31: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/files.cpp:31: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/list.cpp In file included from src/common/list.cpp:27: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/list.cpp:27: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/md4.cpp In file included from src/common/md4.cpp:32: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/md4.cpp:32: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/md5.cpp In file included from src/common/md5.cpp:23: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/md5.cpp:23: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/md5.cpp:81:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register uint32_t a, b, c, d; ^~~~~~~~~ src/common/md5.cpp:81:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register uint32_t a, b, c, d; ^~~~~~~~~ src/common/md5.cpp:81:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register uint32_t a, b, c, d; ^~~~~~~~~ src/common/md5.cpp:81:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register uint32_t a, b, c, d; ^~~~~~~~~ 14 warnings generated. ===> CXX [ufo] src/common/mem.cpp In file included from src/common/mem.cpp:29: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/mem.cpp:29: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/msg.cpp In file included from src/common/msg.cpp:26: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/msg.cpp:26: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/net.cpp In file included from src/common/net.cpp:29: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/net.cpp:29: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/net.cpp:1240:29: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4 [-Wcast-align] char* service = inet_ntoa(((struct sockaddr_in *)addr->ai_addr)->sin_addr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 warnings generated. ===> CXX [ufo] src/common/netpack.cpp In file included from src/common/netpack.cpp:25: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/netpack.cpp:25: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/dbuffer.cpp In file included from src/common/dbuffer.cpp:25: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/dbuffer.cpp:25: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/pqueue.cpp In file included from src/common/pqueue.cpp:17: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/pqueue.cpp:17: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/scripts.cpp In file included from src/common/scripts.cpp:26: In file included from src/common/scripts.h:28: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/scripts.cpp:26: In file included from src/common/scripts.h:28: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/scripts.cpp:539:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] *(int *) b = TEAM_CIVILIAN; ^~~~~~~~~ src/common/scripts.cpp:541:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] *(int *) b = TEAM_PHALANX; ^~~~~~~~~ src/common/scripts.cpp:543:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] *(int *) b = TEAM_ALIEN; ^~~~~~~~~ src/common/scripts.cpp:551:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = DROPSHIP_FIREBIRD; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:553:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = DROPSHIP_HERAKLES; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:555:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = DROPSHIP_RAPTOR; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:557:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = INTERCEPTOR_STILETTO; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:559:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = INTERCEPTOR_SARACEN; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:561:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = INTERCEPTOR_DRAGON; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:563:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = INTERCEPTOR_STARCHASER; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:565:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = INTERCEPTOR_STINGRAY; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:573:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_BOMBER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:575:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_CARRIER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:577:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_CORRUPTER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:579:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_FIGHTER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:581:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_HARVESTER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:583:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_SCOUT; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:585:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_SUPPLY; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:587:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_GUNBOAT; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:589:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_RIPPER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:591:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_MOTHERSHIP; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:599:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_BOMBER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:601:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_CARRIER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:603:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_CORRUPTER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:605:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_FIGHTER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:607:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_HARVESTER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:609:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_SCOUT; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:611:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_SUPPLY; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:613:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_GUNBOAT; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:615:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_RIPPER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:617:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_MOTHERSHIP; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:624:29: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] if (sscanf(token, "%i", &((int *) b)[0]) != 1) { ^~~~~~~~~ src/common/scripts.cpp:625:34: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] if (!Com_GetConstInt(token, &((int *) b)[0])) { ^~~~~~~~~ src/common/scripts.cpp:634:32: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] if (sscanf(token, "%i %i", &((int *) b)[0], &((int *) b)[1]) != 2) { ^~~~~~~~~ src/common/scripts.cpp:634:49: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] if (sscanf(token, "%i %i", &((int *) b)[0], &((int *) b)[1]) != 2) { ^~~~~~~~~ src/common/scripts.cpp:642:29: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] if (sscanf(token, "%f", &((float *) b)[0]) != 1) { ^~~~~~~~~~~ src/common/scripts.cpp:650:32: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] if (sscanf(token, "%f %f", &((float *) b)[0], &((float *) b)[1]) != 2) { ^~~~~~~~~~~ src/common/scripts.cpp:650:51: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] if (sscanf(token, "%f %f", &((float *) b)[0], &((float *) b)[1]) != 2) { ^~~~~~~~~~~ src/common/scripts.cpp:658:35: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] if (sscanf(token, "%f %f %f", &((float *) b)[0], &((float *) b)[1], &((float *) b)[2]) != 3) { ^~~~~~~~~~~ src/common/scripts.cpp:658:54: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] if (sscanf(token, "%f %f %f", &((float *) b)[0], &((float *) b)[1], &((float *) b)[2]) != 3) { ^~~~~~~~~~~ src/common/scripts.cpp:658:73: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] if (sscanf(token, "%f %f %f", &((float *) b)[0], &((float *) b)[1], &((float *) b)[2]) != 3) { ^~~~~~~~~~~ src/common/scripts.cpp:667:15: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] float* f = (float *) b; ^~~~~~~~~~~ src/common/scripts.cpp:706:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'align_t *' increases required alignment from 1 to 4 [-Wcast-align] *(align_t *)b = (align_t)num; ^~~~~~~~~~~~ src/common/scripts.cpp:718:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'blend_t *' increases required alignment from 1 to 4 [-Wcast-align] *(blend_t *)b = (blend_t)num; ^~~~~~~~~~~~ src/common/scripts.cpp:730:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'style_t *' increases required alignment from 1 to 4 [-Wcast-align] *(style_t *)b = (style_t)num; ^~~~~~~~~~~~ src/common/scripts.cpp:742:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'fade_t *' increases required alignment from 1 to 4 [-Wcast-align] *(fade_t *)b = (fade_t)num; ^~~~~~~~~~~ src/common/scripts.cpp:761:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] *(uint32_t *) b |= ((1 << w) - 1) << x << (y * SHAPE_SMALL_MAX_WIDTH); ^~~~~~~~~~~~~~ src/common/scripts.cpp:780:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] ((uint32_t *) b)[y] |= w; ^~~~~~~~~~~~~~ src/common/scripts.cpp:801:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'date_t *' (aka 'date_s *') increases required alignment from 1 to 4 [-Wcast-align] ((date_t *) b)->day = DAYS_PER_YEAR * x + y; ^~~~~~~~~~~~ src/common/scripts.cpp:802:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'date_t *' (aka 'date_s *') increases required alignment from 1 to 4 [-Wcast-align] ((date_t *) b)->sec = SECONDS_PER_HOUR * w; ^~~~~~~~~~~~ src/common/scripts.cpp:813:6: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] *(float *) b = atof(token + 1) * (-1); ^~~~~~~~~~~ src/common/scripts.cpp:815:6: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] *(float *) b = atof(token + 1); ^~~~~~~~~~~ src/common/scripts.cpp:821:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] *(float *) b = atof(token); ^~~~~~~~~~~ src/common/scripts.cpp:931:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] *(int *) b = TEAM_CIVILIAN; ^~~~~~~~~ src/common/scripts.cpp:933:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] *(int *) b = TEAM_PHALANX; ^~~~~~~~~ src/common/scripts.cpp:935:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] *(int *) b = TEAM_ALIEN; ^~~~~~~~~ src/common/scripts.cpp:942:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = DROPSHIP_FIREBIRD; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:944:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = DROPSHIP_HERAKLES; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:946:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = DROPSHIP_RAPTOR; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:948:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = INTERCEPTOR_STILETTO; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:950:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = INTERCEPTOR_SARACEN; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:952:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = INTERCEPTOR_DRAGON; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:954:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = INTERCEPTOR_STARCHASER; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:956:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(humanAircraftType_t *) b = INTERCEPTOR_STINGRAY; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:963:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_BOMBER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:965:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_CARRIER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:967:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_CORRUPTER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:969:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_FIGHTER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:971:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_HARVESTER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:973:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_SCOUT; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:975:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_SUPPLY; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:977:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_GUNBOAT; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:979:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_RIPPER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:981:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_MOTHERSHIP; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:988:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_BOMBER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:990:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_CARRIER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:992:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_CORRUPTER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:994:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_FIGHTER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:996:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_HARVESTER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:998:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_SCOUT; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1000:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_SUPPLY; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1002:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_GUNBOAT; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1004:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_RIPPER; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1006:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] *(ufoType_t *) b = UFO_MOTHERSHIP; ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1012:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] *(int *) b = *(const int *) set; ^~~~~~~~~ src/common/scripts.cpp:1016:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] ((int *) b)[0] = ((const int *) set)[0]; ^~~~~~~~~ src/common/scripts.cpp:1017:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] ((int *) b)[1] = ((const int *) set)[1]; ^~~~~~~~~ src/common/scripts.cpp:1021:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] *(float *) b = *(const float *) set; ^~~~~~~~~~~ src/common/scripts.cpp:1025:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] ((float *) b)[0] = ((const float *) set)[0]; ^~~~~~~~~~~ src/common/scripts.cpp:1026:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] ((float *) b)[1] = ((const float *) set)[1]; ^~~~~~~~~~~ src/common/scripts.cpp:1030:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] ((float *) b)[0] = ((const float *) set)[0]; ^~~~~~~~~~~ src/common/scripts.cpp:1031:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] ((float *) b)[1] = ((const float *) set)[1]; ^~~~~~~~~~~ src/common/scripts.cpp:1032:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] ((float *) b)[2] = ((const float *) set)[2]; ^~~~~~~~~~~ src/common/scripts.cpp:1036:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] ((float *) b)[0] = ((const float *) set)[0]; ^~~~~~~~~~~ src/common/scripts.cpp:1037:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] ((float *) b)[1] = ((const float *) set)[1]; ^~~~~~~~~~~ src/common/scripts.cpp:1038:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] ((float *) b)[2] = ((const float *) set)[2]; ^~~~~~~~~~~ src/common/scripts.cpp:1039:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align] ((float *) b)[3] = ((const float *) set)[3]; ^~~~~~~~~~~ src/common/scripts.cpp:1055:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'align_t *' increases required alignment from 1 to 4 [-Wcast-align] *(align_t *)b = *(const align_t *) set; ^~~~~~~~~~~~ src/common/scripts.cpp:1059:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'blend_t *' increases required alignment from 1 to 4 [-Wcast-align] *(blend_t *)b = *(const blend_t *) set; ^~~~~~~~~~~~ src/common/scripts.cpp:1063:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'style_t *' increases required alignment from 1 to 4 [-Wcast-align] *(style_t *)b = *(const style_t *) set; ^~~~~~~~~~~~ src/common/scripts.cpp:1067:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'fade_t *' increases required alignment from 1 to 4 [-Wcast-align] *(fade_t *)b = *(const fade_t *) set; ^~~~~~~~~~~ src/common/scripts.cpp:1071:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] *(int *) b = *(const int *) set; ^~~~~~~~~ src/common/scripts.cpp:1133:12: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const int *' increases required alignment from 1 to 4 [-Wcast-align] switch (*(const int *) b) { ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1141:39: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const int *' increases required alignment from 1 to 4 [-Wcast-align] Sys_Error("Unknown team id '%i'", *(const int *) b); ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1145:12: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] switch (*(const humanAircraftType_t *) b) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1163:50: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align] Sys_Error("Unknown aircrafttype type: '%i'", *(const humanAircraftType_t *) b); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1167:12: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] switch (*(const ufoType_t *) b) { ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1189:41: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] Sys_Error("Unknown ufo type: '%i'", *(const ufoType_t *) b); ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1193:12: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] switch (*(const ufoType_t *) b) { ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1215:49: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align] Sys_Error("Unknown crashed ufo type: '%i'", *(const ufoType_t *) b); ^~~~~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1219:50: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const int *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%i", *(const int *) b); ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1223:53: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const int *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%i %i", ((const int *) b)[0], ((const int *) b)[1]); ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1223:75: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const int *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%i %i", ((const int *) b)[0], ((const int *) b)[1]); ^~~~~~~~~~~~~~~ src/common/scripts.cpp:1227:52: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%.2f", *(const float *) b); ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1231:57: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f", ((const float *) b)[0], ((const float *) b)[1]); ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1231:81: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f", ((const float *) b)[0], ((const float *) b)[1]); ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1235:62: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2]); ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1235:86: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2]); ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1235:110: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2]); ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:67: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:91: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:115: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1239:139: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%.2f %.2f %.2f %.2f", ((const float *) b)[0], ((const float *) b)[1], ((const float *) b)[2], ((const float *) b)[3]); ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1252:37: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const align_t *' increases required alignment from 1 to 4 [-Wcast-align] Q_strncpyz(valuestr, align_names[*(const align_t *)b], sizeof(valuestr)); ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1257:37: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const blend_t *' increases required alignment from 1 to 4 [-Wcast-align] Q_strncpyz(valuestr, blend_names[*(const blend_t *)b], sizeof(valuestr)); ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1262:37: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const style_t *' increases required alignment from 1 to 4 [-Wcast-align] Q_strncpyz(valuestr, style_names[*(const style_t *)b], sizeof(valuestr)); ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1267:36: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const fade_t *' increases required alignment from 1 to 4 [-Wcast-align] Q_strncpyz(valuestr, fade_names[*(const fade_t *)b], sizeof(valuestr)); ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1279:56: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const date_t *' (aka 'const date_s *') increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%i %i %i", ((const date_t *) b)->day / DAYS_PER_YEAR, ((const date_t *) b)->day % DAYS_PER_YEAR, ((const date_t *) b)->sec); ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1279:99: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const date_t *' (aka 'const date_s *') increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%i %i %i", ((const date_t *) b)->day / DAYS_PER_YEAR, ((const date_t *) b)->day % DAYS_PER_YEAR, ((const date_t *) b)->sec); ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1279:142: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const date_t *' (aka 'const date_s *') increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%i %i %i", ((const date_t *) b)->day / DAYS_PER_YEAR, ((const date_t *) b)->day % DAYS_PER_YEAR, ((const date_t *) b)->sec); ^~~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1284:8: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align] if (*(const float *) b > 2.0) ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1285:54: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "+%.2f", *(const float *) b); ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1287:13: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align] else if (*(const float *) b < 2.0) ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1288:54: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "-%.2f", *(const float *) b); ^~~~~~~~~~~~~~~~~ src/common/scripts.cpp:1291:53: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align] Com_sprintf(valuestr, sizeof(valuestr), "%.2f", *(const float *) b); ^~~~~~~~~~~~~~~~~ 145 warnings generated. ===> CXX [ufo] src/common/sha1.cpp In file included from src/common/sha1.cpp:43: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/sha1.cpp:43: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/sha2.cpp In file included from src/common/sha2.cpp:35: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/sha2.cpp:35: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/tracing.cpp In file included from src/common/tracing.cpp:29: In file included from src/common/tracing.h:30: In file included from src/common/../shared/typedefs.h:5: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/tracing.cpp:29: In file included from src/common/tracing.h:30: In file included from src/common/../shared/typedefs.h:5: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/routing.cpp In file included from src/common/routing.cpp:28: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:52: src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers] inline bool operator< (const ReferenceType other) const ^~~~~~ In file included from src/common/routing.cpp:28: In file included from src/common/common.h:30: In file included from src/common/../shared/shared.h:54: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ 10 warnings generated. ===> CXX [ufo] src/common/xml.cpp In file included from src/common/xml.cpp:27: src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_defaulted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:20:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if CXX11(4, 4, 0, cxx_deleted_functions) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:26:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if not CXX11(4, 7, 1400, cxx_override_control) ^ src/common/../shared/cxx.h:15:3: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:15:41: note: expanded from macro 'CXX11' (defined __GXX_EXPERIMENTAL_CXX0X__ && GCC_ATLEAST((gcc_major), (gcc_minor))) || \ ^ src/common/../shared/cxx.h:3:36: note: expanded from macro 'GCC_ATLEAST' #define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) ^ src/common/../shared/cxx.h:32:9: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] src/common/../shared/cxx.h:16:3: note: expanded from macro 'CXX11' (defined _MSC_VER && (msc_ver) != 0 && _MSC_VER >= (msc_ver)) || \ ^ src/common/xml.cpp:523:14: error: member access into incomplete type 'mxml_node_t' (aka '_mxml_node_s') type = node->value.element.name; ^ /usr/local/include/mxml.h:97:16: note: forward declaration of '_mxml_node_s' typedef struct _mxml_node_s mxml_node_t; /**** An XML node. ****/ ^ 9 warnings and 1 error generated. gmake[1]: *** [Makefile:172: release-freebsd-amd64/ufo/common/xml.cpp.o] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/ufoai/work/ufoai-2.5-source' *** Error code 1 Stop. make: stopped in /usr/ports/games/ufoai =>> Cleaning up wrkdir ===> Cleaning for ufoai-2.5_9 build of games/ufoai | ufoai-2.5_9 ended at Sun Sep 8 19:13:40 CEST 2019 build time: 00:02:21 !!! build failure encountered !!!