Page MenuHomeFreeBSD
Paste P306

games/ufoai with textproc/mxml 3.1 on 12.0/amd64
ActivePublic

Authored by tobik on Sep 8 2019, 5:15 PM.
Tags
None
Referenced Files
F5164768: raw.txt
Sep 8 2019, 5:15 PM
Subscribers
None
=>> 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--
=======================<phase: check-sanity >============================
/!\ 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
===========================================================================
=======================<phase: pkg-depends >============================
===> 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
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> 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
===========================================================================
=======================<phase: checksum >============================
===> 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.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> 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
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for ufoai-2.5_9
===> Applying FreeBSD patches for ufoai-2.5_9
===========================================================================
=======================<phase: build-depends >============================
===> 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
===========================================================================
=======================<phase: lib-depends >============================
===> 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
=======================<phase: configure >============================
===> 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
===========================================================================
=======================<phase: build >============================
===> 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]