Package: openspades
Cook failed
Debug information packerr.
================================================================================
Cook date: 2026-07-14 22:46
Wasted time : 296s ~ 04m 56s
289:convert: unable to open image 'tmp/256x256.png': No such file or directory @ error/blob.c/OpenBlob/3527.
292:rm: can't remove 'tmp/40x40.png': No such file or directory
293:mv: can't rename 'tmp/*.png': No such file or directory
================================================================================
2026-07-14
Cook: openspades 0.1.3
================================================================================
QA: checking package receipt...
Checking build dependencies...
Installing (pkg/local): nettle-3.7.3
Installing (pkg/local): libtasn1-4.19.0
Installing (pkg/local): p11-kit-0.24.1
Installing (pkg/local): libgnutls-3.8.3
Installing (pkg/local): libidn-1.38
Installing (pkg/local): libcurl-7.81.0
Installing (pkg/local): curl-7.81.0
Installing (pkg/local): gmp-dev-6.3.0
Installing (pkg/local): gnutls-3.8.3
Installing (pkg/local): libgpg-error-dev-1.44
Installing (pkg/local): libgcrypt-dev-1.9.4
Installing (pkg/local): libtasn1-dev-4.19.0
Installing (pkg/local): nettle-dev-3.7.3
Installing (pkg/local): gtk-doc-1.32
Installing (pkg/local): p11-kit-dev-0.24.1
Installing (pkg/local): libunistring-dev-1.0
Installing (pkg/local): gnutls-dev-3.8.3
Installing (pkg/local): libidn-dev-1.38
Installing (pkg/local): libcrypto-dev-3.5.3
Installing (pkg/local): openssl-dev-3.5.3
Installing (pkg/local): curl-dev-7.81.0
Installing (pkg/local): libmagic-5.45
Installing (pkg/local): file-5.45
Installing (pkg/local): openal-1.22.0
Installing (pkg/local): freealut-1.1.0
Installing (pkg/local): openal-dev-1.22.0
Installing (pkg/local): freealut-dev-1.1.0
Installing (pkg/local): gcc83-8.3.0
Installing (pkg/local): linux-agp-3.16.55
Installing (pkg/local): linux-drm-3.16.55
Installing (pkg/local): xorg-libpciaccess-0.16
Installing (pkg/local): libdrm-2.4.100
Installing (pkg/local): xorg-libXfixes-5.0.3
Installing (pkg/local): xorg-libXdamage-1.1.5
Installing (pkg/local): xorg-libXxf86vm-1.1.4
Installing (pkg/local): libpthread-stubs-0.2
Installing (pkg/local): xorg-libICE-1.0.10
Installing (pkg/local): xorg-libSM-1.2.3
Installing (pkg/local): xorg-libXt-1.2.0
Installing (pkg/local): mesa-9.2.5
Installing (pkg/local): libglu-mesa-9.0.0
Installing (pkg/local): xorg-libXmu-1.1.3
Installing (pkg/local): xorg-libXi-1.7.10
Installing (pkg/local): glew-2.1.0
Installing (pkg/local): glew-dev-2.1.0
Installing (pkg/local): grep-3.7
Installing (pkg/local): fftw-3.3.10
Installing (pkg/local): libjpeg-9f
Installing (pkg/local): jpeg-9f
Installing (pkg/local): xorg-libXpm-3.5.13
Installing (pkg/local): libgd-2.3.3
Installing (pkg/local): shared-mime-info-2.2
Installing (pkg/local): tiff-4.4.0
Installing (pkg/local): gdk-pixbuf-2.31.1
Installing (pkg/local): libcroco-0.6.13
Installing (pkg/local): xorg-libXft-2.3.3
Installing (pkg/local): pango-1.36.8
Installing (pkg/local): librsvg-2.40.16
Installing (pkg/local): graphviz-3.0.0
Installing (pkg/local): ilmbase-2.3.0
Installing (pkg/local): xorg-libXrandr-1.5.2
Installing (pkg/local): freeglut-3.2.2
Installing (pkg/local): jasper-3.0.2
Installing (pkg/local): jbigkit-2.1
Installing (pkg/local): lcms-1.19
Installing (pkg/local): libgsf-1.14.46
Installing (pkg/local): libltdl-2.4.6
Installing (pkg/local): openexr-2.5.3
Installing (pkg/local): libwebp-1.3.2
Installing (pkg/local): imagemagick-7.1.0.27
Installing (pkg/local): libogg-1.3.5
Installing (pkg/local): libogg-dev-1.3.5
Installing (pkg/local): alsa-lib-1.2.7
Installing (pkg/local): dbus-1.12.20
Installing (pkg/local): libsdl2-2.0.20
Installing (pkg/local): libsdl2-dev-2.0.20
Installing (pkg/local): libsdl2-image-2.0.5
Installing (pkg/local): jpeg-dev-9f
Installing (pkg/local): libsdl2-image-dev-2.0.5
Installing (pkg/local): libdrm-intel-2.4.100
Installing (pkg/local): libdrm-radeon-2.4.100
Installing (pkg/local): libdrm-dev-2.4.100
Installing (pkg/local): libglu-mesa-dev-9.0.0
Installing (pkg/local): xorg-libXp-1.0.3
Installing (pkg/local): lesstif-0.95.2
Installing (pkg/local): libglw-mesa-8.0.0
Installing (pkg/local): libglw-mesa-dev-8.0.0
Installing (pkg/local): mesa-dri-9.2.5
Installing (pkg/local): mesa-dri-ati-9.2.5
Installing (pkg/local): mesa-dri-intel-9.2.5
Installing (pkg/local): libdrm-nouveau-2.4.100
Installing (pkg/local): mesa-dri-nouveau-9.2.5
Installing (pkg/local): xorg-util-macros-1.19.2
Installing (pkg/local): xorg-dri2proto-2.8
Installing (pkg/local): xorg-xproto-7.0.31
Installing (pkg/local): xorg-glproto-1.4.17
Installing (pkg/local): xorg-xextproto-7.3.0
Installing (pkg/local): xorg-fixesproto-5.0
Installing (pkg/local): xorg-damageproto-1.2.1
Installing (pkg/local): xorg-libXau-dev-1.0.9
Installing (pkg/local): xorg-libXdmcp-dev-1.1.3
Installing (pkg/local): libxcb-dev-1.14
Installing (pkg/local): xorg-inputproto-2.3.2
Installing (pkg/local): xorg-kbproto-1.0.7
Installing (pkg/local): xorg-xtrans-1.4.0
Installing (pkg/local): xorg-libX11-dev-1.7.0
Installing (pkg/local): xorg-libXfixes-dev-5.0.3
Installing (pkg/local): xorg-libXdamage-dev-1.1.5
Installing (pkg/local): xorg-libICE-dev-1.0.10
Installing (pkg/local): xorg-libSM-dev-1.2.3
Installing (pkg/local): xorg-libXt-dev-1.2.0
Installing (pkg/local): xorg-libXext-dev-1.3.4
Installing (pkg/local): xorg-xf86vidmodeproto-2.3.1
Installing (pkg/local): xorg-libXxf86vm-dev-1.1.4
Installing (pkg/local): mesa-dev-9.2.5
Installing (pkg/local): opus-1.3.1
Installing (pkg/local): opusfile-0.12
Installing (pkg/local): opus-dev-1.3.1
Installing (pkg/local): opusfile-dev-0.12
Installing (pkg/local): unzip-6.0
Installing (pkg/local): zip-3.0
Installing (pkg/local): cmake3-3.31.12
Extracting source archive "openspades-0.1.3.tar.gz"
Executing: compile_rules
CFLAGS : -march=i486 -Os -pipe -fstack-protector-strong
CXXLAGS : -march=i486 -Os -pipe -fstack-protector-strong
CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2
LDFLAGS : -Wl,--as-needed,-z,relro,-z,now
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc-83 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++-83 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:16 (cmake_policy):
The OLD behavior for policy CMP0054 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found SDL2: /usr/lib/libSDL2main.a;/usr/lib/libSDL2.so;-lpthread
-- Found SDL2_image: /usr/lib/libSDL2_image.so
-- Found OpenGL: /usr/lib/libGL.so
-- Found ZLIB: /usr/lib/libz.so (found version "1.3.2")
-- Found CURL: /usr/lib/libcurl.so (found version "7.81.0")
-- Found Freetype: /usr/lib/libfreetype.so (found version "2.13.2")
-- Found OpusFile: /usr/lib/libopusfile.so
-- C++11 activated.
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for poll
-- Looking for poll - found
-- Looking for gethostbyname_r
-- Looking for gethostbyname_r - found
-- Looking for gethostbyaddr_r
-- Looking for gethostbyaddr_r - found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Performing Test HAS_MSGHDR_FLAGS
-- Performing Test HAS_MSGHDR_FLAGS - Success
-- Check size of socklen_t
-- Check size of socklen_t - done
CMake Warning (dev) at Resources/CMakeLists.txt:8 (add_custom_command):
Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given. Assuming
POST_BUILD to preserve backward compatibility.
Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at Resources/CMakeLists.txt:44 (add_custom_command):
Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given. Assuming
POST_BUILD to preserve backward compatibility.
Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at Resources/CMakeLists.txt:58 (add_custom_command):
Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given. Assuming
POST_BUILD to preserve backward compatibility.
Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at Resources/CMakeLists.txt:70 (add_custom_command):
Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given. Assuming
POST_BUILD to preserve backward compatibility.
Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at Resources/CMakeLists.txt:75 (add_custom_command):
Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given. Assuming
POST_BUILD to preserve backward compatibility.
Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Deprecation Warning at Sources/AngelScript/projects/cmake/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
CMake Deprecation Warning at Sources/AngelScript/projects/cmake_addons/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- Configuring done (1.4s)
-- Generating done (0.1s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_POLICY_VERSION_MINIMUM
-- Build files have been written to: ${src}/build
BASEURL ************ https://github.com/yvt/openspades-paks/releases/download/r33/OpenSpadesDevPackage-r33.zip
Connecting to github.com (140.82.121.4:443)
Connecting to release-assets.githubusercontent.com (185.199.110.133:443)
saving to 'OpenSpadesDevPackage-r33.zip'
OpenSpadesDevPackage 100% |********************************| 3941k 0:00:00 ETA
'OpenSpadesDevPackage-r33.zip' saved
Archive: OpenSpadesDevPackage-r33.zip
inflating: ./Nonfree/LICENSE.md
inflating: ./Nonfree/pak000-Nonfree.pak
inflating: ./OfficialMods/LICENSE
inflating: ./OfficialMods/font-unifont.pak
[ 0%] Built target OpenSpades_Resources_DevPaks
[ 1%] Packing assets
${src}/Resources ${src}/build/Resources
${src}/build/Resources
[ 1%] Built target OpenSpades_Resources
Generating FHS icons
convert: no decode delegate for this image format `ICO' @ error/constitute.c/ReadImage/737.
convert: no images defined `tmp/%[filename:res].png' @ error/convert.c/ConvertImageCommand/3325.
convert: unable to open image 'tmp/256x256.png': No such file or directory @ error/blob.c/OpenBlob/3527.
convert: no decode delegate for this image format `PNG' @ error/constitute.c/ReadImage/737.
convert: no images defined `tmp/128x128.png' @ error/convert.c/ConvertImageCommand/3325.
rm: can't remove 'tmp/40x40.png': No such file or directory
mv: can't rename 'tmp/*.png': No such file or directory
Done generating FHS icons
[ 1%] Built target OpenSpades_Unix
[ 2%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir/__/__/addons/scriptany.cpp.o
In file included from ${src}/Sources/AngelScript/addons/scriptany.h:6,
from ${src}/Sources/AngelScript/addons/scriptany.cpp:1:
${src}/Sources/AngelScript/addons/scriptany.cpp: In function 'void RegisterScriptAny_Native(asIScriptEngine*)':
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (CScriptAny::*)() const' to 'void (CScriptAny::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptany.cpp:153:74: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectBehaviour("any", asBEHAVE_ADDREF, "void f()", asMETHOD(CScriptAny,AddRef), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (CScriptAny::*)() const' to 'void (CScriptAny::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptany.cpp:154:75: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectBehaviour("any", asBEHAVE_RELEASE, "void f()", asMETHOD(CScriptAny,Release), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (CScriptAny::*)()' to 'void (CScriptAny::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptany.cpp:164:78: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectBehaviour("any", asBEHAVE_GETREFCOUNT, "int f()", asMETHOD(CScriptAny,GetRefCount), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (CScriptAny::*)()' to 'void (CScriptAny::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptany.cpp:166:77: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectBehaviour("any", asBEHAVE_GETGCFLAG, "bool f()", asMETHOD(CScriptAny,GetFlag), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (CScriptAny::*)(asIScriptEngine*)' to 'void (CScriptAny::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptany.cpp:167:82: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectBehaviour("any", asBEHAVE_ENUMREFS, "void f(int&in)", asMETHOD(CScriptAny,EnumReferences), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (CScriptAny::*)(asIScriptEngine*)' to 'void (CScriptAny::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptany.cpp:168:85: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectBehaviour("any", asBEHAVE_RELEASEREFS, "void f(int&in)", asMETHOD(CScriptAny,ReleaseAllHandles), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/addons/scriptany.cpp:144:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
int r;
^
${src}/Sources/AngelScript/addons/scriptany.cpp: In function 'void RegisterScriptAny_Generic(asIScriptEngine*)':
${src}/Sources/AngelScript/addons/scriptany.cpp:173:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
int r;
^
[ 2%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir/__/__/addons/scriptarray.cpp.o
In file included from ${src}/Sources/AngelScript/addons/scriptarray.h:6,
from ${src}/Sources/AngelScript/addons/scriptarray.cpp:8:
${src}/Sources/AngelScript/addons/scriptarray.cpp: In function 'void RegisterScriptArray_Native(asIScriptEngine*)':
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'CScriptArray& (CScriptArray::*)(const CScriptArray&)' to 'void (CScriptArray::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptarray.cpp:291:88: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("array<T>", "array<T> &opAssign(const array<T>&in)", asMETHOD(CScriptArray, operator=), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (CScriptArray::*)(void*)' to 'void (CScriptArray::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptarray.cpp:296:84: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("array<T>", "void insertLast(const T&in value)", asMETHOD(CScriptArray, InsertLast), asCALL_THISCALL); assert(r >= 0);
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (CScriptArray::*)(asUINT)' {aka 'void (CScriptArray::*)(unsigned int)'} to 'void (CScriptArray::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptarray.cpp:297:76: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("array<T>", "void removeAt(uint index)", asMETHOD(CScriptArray, RemoveAt), asCALL_THISCALL); assert(r >= 0);
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (CScriptArray::*)(asUINT, asUINT)' {aka 'void (CScriptArray::*)(unsigned int, unsigned int)'} to 'void (CScriptArray::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptarray.cpp:299:91: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("array<T>", "void removeRange(uint start, uint count)", asMETHOD(CScriptArray, RemoveRange), asCALL_THISCALL); assert(r >= 0);
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'asUINT (CScriptArray::*)() const' {aka 'unsigned int (CScriptArray::*)() const'} to 'void (CScriptArray::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptarray.cpp:301:70: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("array<T>", "uint length() const", asMETHOD(CScriptArray, GetSize), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (CScriptArray::*)(asUINT)' {aka 'void (CScriptArray::*)(unsigned int)'} to 'void (CScriptArray::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptarray.cpp:302:76: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("array<T>", "void reserve(uint length)", asMETHOD(CScriptArray, Reserve), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (CScriptArray::*)(const CScriptArray&) const' to 'void (CScriptArray::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptarray.cpp:315:89: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("array<T>", "bool opEquals(const array<T>&in) const", asMETHOD(CScriptArray, operator==), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (CScriptArray::*)() const' to 'void (CScriptArray::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptarray.cpp:316:71: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("array<T>", "bool isEmpty() const", asMETHOD(CScriptArray, IsEmpty), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'asUINT (CScriptArray::*)() const' {aka 'unsigned int (CScriptArray::*)() const'} to 'void (CScriptArray::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptarray.cpp:319:74: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("array<T>", "uint get_length() const", asMETHOD(CScriptArray, GetSize), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (CScriptArray::*)()' to 'void (CScriptArray::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptarray.cpp:323:83: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectBehaviour("array<T>", asBEHAVE_GETREFCOUNT, "int f()", asMETHOD(CScriptArray, GetRefCount), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (CScriptArray::*)()' to 'void (CScriptArray::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptarray.cpp:325:82: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectBehaviour("array<T>", asBEHAVE_GETGCFLAG, "bool f()", asMETHOD(CScriptArray, GetFlag), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (CScriptArray::*)(asIScriptEngine*)' to 'void (CScriptArray::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptarray.cpp:326:87: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectBehaviour("array<T>", asBEHAVE_ENUMREFS, "void f(int&in)", asMETHOD(CScriptArray, EnumReferences), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (CScriptArray::*)(asIScriptEngine*)' to 'void (CScriptArray::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptarray.cpp:327:90: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectBehaviour("array<T>", asBEHAVE_RELEASEREFS, "void f(int&in)", asMETHOD(CScriptArray, ReleaseAllHandles), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
[ 3%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir/__/__/addons/scriptbuilder.cpp.o
[ 3%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir/__/__/addons/scriptdictionary.cpp.o
In file included from ${src}/Sources/AngelScript/addons/scriptdictionary.h:10,
from ${src}/Sources/AngelScript/addons/scriptdictionary.cpp:3:
${src}/Sources/AngelScript/addons/scriptdictionary.cpp: In function 'void RegisterScriptDictionary_Native(asIScriptEngine*)':
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (CScriptDictionary::*)(const dictKey_t&) const' {aka 'bool (CScriptDictionary::*)(const std::__cxx11::basic_string<char>&) const'} to 'void (CScriptDictionary::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptdictionary.cpp:1041:88: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("dictionary", "bool exists(const string &in) const", asMETHOD(CScriptDictionary,Exists), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (CScriptDictionary::*)() const' to 'void (CScriptDictionary::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptdictionary.cpp:1042:73: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("dictionary", "bool isEmpty() const", asMETHOD(CScriptDictionary, IsEmpty), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'asUINT (CScriptDictionary::*)() const' {aka 'unsigned int (CScriptDictionary::*)() const'} to 'void (CScriptDictionary::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptdictionary.cpp:1043:73: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("dictionary", "uint getSize() const", asMETHOD(CScriptDictionary, GetSize), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (CScriptDictionary::*)(const dictKey_t&)' {aka 'bool (CScriptDictionary::*)(const std::__cxx11::basic_string<char>&)'} to 'void (CScriptDictionary::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptdictionary.cpp:1044:82: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("dictionary", "bool delete(const string &in)", asMETHOD(CScriptDictionary,Delete), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'CScriptArray* (CScriptDictionary::*)() const' to 'void (CScriptDictionary::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptdictionary.cpp:1047:83: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("dictionary", "array<string> @getKeys() const", asMETHOD(CScriptDictionary,GetKeys), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (CScriptDictionary::*)()' to 'void (CScriptDictionary::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptdictionary.cpp:1053:85: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectBehaviour("dictionary", asBEHAVE_GETREFCOUNT, "int f()", asMETHOD(CScriptDictionary,GetRefCount), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (CScriptDictionary::*)()' to 'void (CScriptDictionary::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptdictionary.cpp:1055:84: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectBehaviour("dictionary", asBEHAVE_GETGCFLAG, "bool f()", asMETHOD(CScriptDictionary,GetGCFlag), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (CScriptDictionary::*)(asIScriptEngine*)' to 'void (CScriptDictionary::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptdictionary.cpp:1056:89: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectBehaviour("dictionary", asBEHAVE_ENUMREFS, "void f(int&in)", asMETHOD(CScriptDictionary,EnumReferences), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (CScriptDictionary::*)(asIScriptEngine*)' to 'void (CScriptDictionary::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptdictionary.cpp:1057:92: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectBehaviour("dictionary", asBEHAVE_RELEASEREFS, "void f(int&in)", asMETHOD(CScriptDictionary,ReleaseAllReferences), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/addons/scriptdictionary.cpp:1000:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
int r;
^
${src}/Sources/AngelScript/addons/scriptdictionary.cpp: In function 'void RegisterScriptDictionary_Generic(asIScriptEngine*)':
${src}/Sources/AngelScript/addons/scriptdictionary.cpp:1076:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
int r;
^
[ 3%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir/__/__/addons/scripthandle.cpp.o
In file included from ${src}/Sources/AngelScript/addons/scripthandle.h:6,
from ${src}/Sources/AngelScript/addons/scripthandle.cpp:1:
${src}/Sources/AngelScript/addons/scripthandle.cpp: In function 'void RegisterScriptHandle_Native(asIScriptEngine*)':
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'CScriptHandle& (CScriptHandle::*)(const CScriptHandle&)' to 'void (CScriptHandle::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scripthandle.cpp:231:78: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("ref", "ref &opHndlAssign(const ref &in)", asMETHOD(CScriptHandle, operator=), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'CScriptHandle& (CScriptHandle::*)(void*, int)' to 'void (CScriptHandle::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scripthandle.cpp:232:75: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("ref", "ref &opHndlAssign(const ?&in)", asMETHOD(CScriptHandle, Assign), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/addons/scripthandle.cpp:218:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
int r;
^
${src}/Sources/AngelScript/addons/scripthandle.cpp: In function 'void RegisterScriptHandle_Generic(asIScriptEngine*)':
${src}/Sources/AngelScript/addons/scripthandle.cpp:306:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
int r;
^
[ 4%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir/__/__/addons/scripthelper.cpp.o
[ 4%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir/__/__/addons/scriptmath.cpp.o
${src}/Sources/AngelScript/addons/scriptmath.cpp: In function 'float fpFromIEEE(asUINT)':
${src}/Sources/AngelScript/addons/scriptmath.cpp:83:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return *reinterpret_cast<float*>(&raw);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/addons/scriptmath.cpp: In function 'asUINT fpToIEEE(float)':
${src}/Sources/AngelScript/addons/scriptmath.cpp:87:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return *reinterpret_cast<asUINT*>(&fp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/addons/scriptmath.cpp: In function 'double fpFromIEEE(asQWORD)':
${src}/Sources/AngelScript/addons/scriptmath.cpp:91:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return *reinterpret_cast<double*>(&raw);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/addons/scriptmath.cpp: In function 'asQWORD fpToIEEE(double)':
${src}/Sources/AngelScript/addons/scriptmath.cpp:95:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return *reinterpret_cast<asQWORD*>(&fp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/addons/scriptmath.cpp: In function 'void RegisterScriptMath_Native(asIScriptEngine*)':
${src}/Sources/AngelScript/addons/scriptmath.cpp:135:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
int r;
^
${src}/Sources/AngelScript/addons/scriptmath.cpp: In function 'void RegisterScriptMath_Generic(asIScriptEngine*)':
${src}/Sources/AngelScript/addons/scriptmath.cpp:281:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
int r;
^
[ 4%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir/__/__/addons/scriptmathcomplex.cpp.o
In file included from ${src}/Sources/AngelScript/addons/scriptmathcomplex.h:6,
from ${src}/Sources/AngelScript/addons/scriptmathcomplex.cpp:5:
${src}/Sources/AngelScript/addons/scriptmathcomplex.cpp: In function 'void RegisterScriptMathComplex_Native(asIScriptEngine*)':
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (Complex::*)() const' to 'void (Complex::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptmathcomplex.cpp:199:67: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("complex", "float abs() const", asMETHOD(Complex,length), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'Complex (Complex::*)() const' to 'void (Complex::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptmathcomplex.cpp:202:72: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("complex", "complex get_ri() const", asMETHOD(Complex, get_ri), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'Complex (Complex::*)() const' to 'void (Complex::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptmathcomplex.cpp:203:72: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("complex", "complex get_ir() const", asMETHOD(Complex, get_ir), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (Complex::*)(const Complex&)' to 'void (Complex::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptmathcomplex.cpp:204:80: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("complex", "void set_ri(const complex &in)", asMETHOD(Complex, set_ri), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (Complex::*)(const Complex&)' to 'void (Complex::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/scriptmathcomplex.cpp:205:80: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("complex", "void set_ir(const complex &in)", asMETHOD(Complex, set_ir), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/addons/scriptmathcomplex.cpp:166:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
int r;
^
[ 5%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir/__/__/addons/scriptstdstring.cpp.o
${src}/Sources/AngelScript/addons/scriptstdstring.cpp: In function 'int StringFindFirst(const string&, asUINT, const string&)':
${src}/Sources/AngelScript/addons/scriptstdstring.cpp:355:43: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
return (int)str.find(sub, (size_t)(start < 0 ? string::npos : start));
~~~~~~^~~
${src}/Sources/AngelScript/addons/scriptstdstring.cpp: In function 'int StringFindFirstOf(const string&, asUINT, const string&)':
${src}/Sources/AngelScript/addons/scriptstdstring.cpp:367:52: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
return (int)str.find_first_of(sub, (size_t)(start < 0 ? string::npos : start));
~~~~~~^~~
${src}/Sources/AngelScript/addons/scriptstdstring.cpp: In function 'int StringFindLastOf(const string&, asUINT, const string&)':
${src}/Sources/AngelScript/addons/scriptstdstring.cpp:379:51: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
return (int)str.find_last_of(sub, (size_t)(start < 0 ? string::npos : start));
~~~~~~^~~
${src}/Sources/AngelScript/addons/scriptstdstring.cpp: In function 'int StringFindFirstNotOf(const string&, asUINT, const string&)':
${src}/Sources/AngelScript/addons/scriptstdstring.cpp:390:56: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
return (int)str.find_first_not_of(sub, (size_t)(start < 0 ? string::npos : start));
~~~~~~^~~
${src}/Sources/AngelScript/addons/scriptstdstring.cpp: In function 'int StringFindLastNotOf(const string&, asUINT, const string&)':
${src}/Sources/AngelScript/addons/scriptstdstring.cpp:401:51: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
return (int)str.find_last_of(sub, (size_t)(start < 0 ? string::npos : start));
~~~~~~^~~
[ 5%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir/__/__/addons/scriptstdstring_utils.cpp.o
${src}/Sources/AngelScript/addons/scriptstdstring_utils.cpp: In function 'void RegisterStdStringUtils(asIScriptEngine*)':
${src}/Sources/AngelScript/addons/scriptstdstring_utils.cpp:115:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
int r;
^
[ 6%] Building CXX object Sources/AngelScript/projects/cmake_addons/CMakeFiles/Angelscript_addons.dir/__/__/addons/weakref.cpp.o
In file included from ${src}/Sources/AngelScript/addons/weakref.h:8,
from ${src}/Sources/AngelScript/addons/weakref.cpp:4:
${src}/Sources/AngelScript/addons/weakref.cpp: In function 'void RegisterScriptWeakRef_Native(asIScriptEngine*)':
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void* (CScriptWeakRef::*)() const' to 'void (CScriptWeakRef::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/weakref.cpp:220:68: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("weakref<T>", "T@ opImplCast()", asMETHOD(CScriptWeakRef, Get), asCALL_THISCALL); assert(r >= 0);
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'CScriptWeakRef& (CScriptWeakRef::*)(const CScriptWeakRef&)' to 'void (CScriptWeakRef::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/weakref.cpp:222:99: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("weakref<T>", "weakref<T> &opHndlAssign(const weakref<T> &in)", asMETHOD(CScriptWeakRef, operator=), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'CScriptWeakRef& (CScriptWeakRef::*)(void*)' to 'void (CScriptWeakRef::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/weakref.cpp:224:81: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("weakref<T>", "weakref<T> &opHndlAssign(T@)", asMETHOD(CScriptWeakRef, Set), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (CScriptWeakRef::*)(void*) const' to 'void (CScriptWeakRef::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/weakref.cpp:225:82: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("weakref<T>", "bool opEquals(const T@) const", asMETHOD(CScriptWeakRef, Equals), asCALL_THISCALL); assert(r >= 0);
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void* (CScriptWeakRef::*)() const' to 'void (CScriptWeakRef::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/weakref.cpp:235:86: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("const_weakref<T>", "const T@ opImplCast() const", asMETHOD(CScriptWeakRef, Get), asCALL_THISCALL); assert(r >= 0);
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'CScriptWeakRef& (CScriptWeakRef::*)(const CScriptWeakRef&)' to 'void (CScriptWeakRef::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/weakref.cpp:237:117: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("const_weakref<T>", "const_weakref<T> &opHndlAssign(const const_weakref<T> &in)", asMETHOD(CScriptWeakRef, operator=), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'CScriptWeakRef& (CScriptWeakRef::*)(void*)' to 'void (CScriptWeakRef::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/weakref.cpp:239:99: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("const_weakref<T>", "const_weakref<T> &opHndlAssign(const T@)", asMETHOD(CScriptWeakRef, Set), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (CScriptWeakRef::*)(void*) const' to 'void (CScriptWeakRef::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/weakref.cpp:240:88: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("const_weakref<T>", "bool opEquals(const T@) const", asMETHOD(CScriptWeakRef, Equals), asCALL_THISCALL); assert(r >= 0);
^~~~~~~~
${src}/Sources/AngelScript/projects/cmake_addons/../../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'CScriptWeakRef& (CScriptWeakRef::*)(const CScriptWeakRef&)' to 'void (CScriptWeakRef::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/addons/weakref.cpp:243:111: note: in expansion of macro 'asMETHOD'
r = engine->RegisterObjectMethod("const_weakref<T>", "const_weakref<T> &opHndlAssign(const weakref<T> &in)", asMETHOD(CScriptWeakRef, operator=), asCALL_THISCALL); assert( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/addons/weakref.cpp:210:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
int r;
^
${src}/Sources/AngelScript/addons/weakref.cpp: In function 'void RegisterScriptWeakRef_Generic(asIScriptEngine*)':
${src}/Sources/AngelScript/addons/weakref.cpp:325:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
int r;
^
[ 6%] Linking CXX static library ../../../../lib/libAngelscript_addons.a
[ 6%] Built target Angelscript_addons
[ 6%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_atomic.cpp.o
[ 6%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_builder.cpp.o
In file included from ${src}/Sources/AngelScript/source/as_config.h:1249,
from ${src}/Sources/AngelScript/source/as_builder.cpp:39:
${src}/Sources/AngelScript/source/as_builder.cpp: In member function 'void asCBuilder::EvaluateTemplateInstances(asUINT, bool)':
${src}/Sources/AngelScript/source/../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (asCOutputBuffer::*)(asSMessageInfo*)' to 'void (asCOutputBuffer::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/source/as_builder.cpp:239:30: note: in expansion of macro 'asMETHOD'
engine->SetMessageCallback(asMETHOD(asCOutputBuffer, Callback), &outBuffer, asCALL_THISCALL);
^~~~~~~~
${src}/Sources/AngelScript/source/as_builder.cpp: In member function 'void asCBuilder::CompileGlobalVariables()':
${src}/Sources/AngelScript/source/../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (asCOutputBuffer::*)(asSMessageInfo*)' to 'void (asCOutputBuffer::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/source/as_builder.cpp:2094:29: note: in expansion of macro 'asMETHOD'
engine->SetMessageCallback(asMETHOD(asCOutputBuffer, Callback), &outBuffer, asCALL_THISCALL);
^~~~~~~~
${src}/Sources/AngelScript/source/as_builder.cpp:2180:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
enumVal = (*(int*)&gvar2->constantValue) + 1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_builder.cpp:2200:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(int*)&gvar->constantValue = enumVal;
^~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_builder.cpp:2299:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
e->value = *(int*)&gvar->constantValue;
^~~~~~~~~~~~~~~~~~~~~~~~~~
[ 7%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_bytecode.cpp.o
In file included from ${src}/Sources/AngelScript/source/as_bytecode.cpp:40:
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'bool asCByteCode::RemoveUnusedValue(asCByteInstruction*, asCByteInstruction**)':
${src}/Sources/AngelScript/source/as_config.h:1237:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ARG_DW(b) ((asDWORD*)&b)
~^~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:529:45: note: in expansion of macro 'ARG_DW'
*(((asDWORD*)&curr->arg)+AS_PTR_SIZE) = *ARG_DW(curr->arg);
^~~~~~
${src}/Sources/AngelScript/source/as_config.h:1239:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ARG_PTR(b) ((asPWORD*)&b)
~^~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:530:5: note: in expansion of macro 'ARG_PTR'
*ARG_PTR(curr->arg) = *ARG_PTR(curr->next->arg);
^~~~~~~
${src}/Sources/AngelScript/source/as_config.h:1239:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ARG_PTR(b) ((asPWORD*)&b)
~^~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:530:27: note: in expansion of macro 'ARG_PTR'
*ARG_PTR(curr->arg) = *ARG_PTR(curr->next->arg);
^~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'void asCByteCode::OptimizeLocally(const asCArray<int>&)':
${src}/Sources/AngelScript/source/as_bytecode.cpp:923:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asDWORD*)&instr->arg = *(asDWORD*)&instr->next->arg;
^~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:923:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asDWORD*)&instr->arg = *(asDWORD*)&instr->next->arg;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:937:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asDWORD*)&instr->arg = *(asDWORD*)&instr->next->arg;
^~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:937:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asDWORD*)&instr->arg = *(asDWORD*)&instr->next->arg;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'void asCByteCode::Optimize()':
${src}/Sources/AngelScript/source/as_bytecode.cpp:1181:61: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else if( currOp == asBC_JMP && instrOp == asBC_LABEL && *(int*)&curr->arg == instr->wArg[0] )
^~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'bool asCByteCode::IsTempVarRead(asCByteInstruction*, int)':
${src}/Sources/AngelScript/source/as_bytecode.cpp:1281:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
int label = *((int*)ARG_DW(curr->arg));
~^~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:1299:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
int label = *((int*)ARG_DW(curr->arg));
~^~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:1318:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
int label = *((int*)ARG_DW(curr->arg));
~^~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'void asCByteCode::ExtractLineNumbers()':
${src}/Sources/AngelScript/source/as_bytecode.cpp:1482:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
lineNumbers.PushLast(*(int*)ARG_DW(curr->arg));
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'void asCByteCode::ExtractObjectVariableInfo(asCScriptFunction*)':
${src}/Sources/AngelScript/source/as_bytecode.cpp:1539:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
info.option = (asEObjVarInfoOption)*(int*)ARG_DW(instr->arg);
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'void asCByteCode::Call(asEBCInstr, int, int)':
${src}/Sources/AngelScript/source/as_bytecode.cpp:1647:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*((int*)ARG_DW(last->arg)) = funcID;
~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ${src}/Sources/AngelScript/source/as_bytecode.cpp:40:
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'void asCByteCode::Alloc(asEBCInstr, void*, int, int)':
${src}/Sources/AngelScript/source/as_config.h:1239:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ARG_PTR(b) ((asPWORD*)&b)
~^~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:1679:3: note: in expansion of macro 'ARG_PTR'
*ARG_PTR(last->arg) = (asPWORD)objID;
^~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'void asCByteCode::JmpP(int, asDWORD)':
${src}/Sources/AngelScript/source/as_config.h:1237:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ARG_DW(b) ((asDWORD*)&b)
~^~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:1712:3: note: in expansion of macro 'ARG_DW'
*ARG_DW(last->arg) = max;
^~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'void asCByteCode::Line(int, int, int)':
${src}/Sources/AngelScript/source/as_bytecode.cpp:1739:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*((int*)ARG_DW(last->arg)) = (line & 0xFFFFF)|((column & 0xFFF)<<20);
~^~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'void asCByteCode::ObjInfo(int, int)':
${src}/Sources/AngelScript/source/as_bytecode.cpp:1757:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*((int*)ARG_DW(last->arg)) = info;
~^~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'int asCByteCode::ResolveJumpAddresses()':
${src}/Sources/AngelScript/source/as_bytecode.cpp:1847:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
int label = *((int*) ARG_DW(instr->arg));
~^~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:1851:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*((int*) ARG_DW(instr->arg)) = labelPosOffset;
~^~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'void asCByteCode::Output(asDWORD*)':
${src}/Sources/AngelScript/source/as_bytecode.cpp:1905:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(ap+1) = *(asDWORD*)&instr->arg;
^~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:1911:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(ap+2) = *(asDWORD*)&instr->arg;
^~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'void asCByteCode::PostProcess()':
${src}/Sources/AngelScript/source/as_bytecode.cpp:1994:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
int label = *((int*) ARG_DW(instr->arg));
~^~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:2007:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
int label = *((int*) ARG_DW(instr->arg));
~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ${src}/Sources/AngelScript/source/as_bytecode.cpp:40:
${src}/Sources/AngelScript/source/as_config.h:1237:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ARG_DW(b) ((asDWORD*)&b)
~^~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:2021:20: note: in expansion of macro 'ARG_DW'
asDWORD max = *ARG_DW(instr->arg);
^~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'int asCByteCode::InsertFirstInstrDWORD(asEBCInstr, asDWORD)':
${src}/Sources/AngelScript/source/as_config.h:1237:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ARG_DW(b) ((asDWORD*)&b)
~^~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:2450:3: note: in expansion of macro 'ARG_DW'
*ARG_DW(first->arg) = param;
^~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'int asCByteCode::InstrW_PTR(asEBCInstr, short int, void*)':
${src}/Sources/AngelScript/source/as_config.h:1239:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ARG_PTR(b) ((asPWORD*)&b)
~^~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:2534:3: note: in expansion of macro 'ARG_PTR'
*ARG_PTR(last->arg) = (asPWORD)param;
^~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'int asCByteCode::InstrW_DW(asEBCInstr, asWORD, asDWORD)':
${src}/Sources/AngelScript/source/as_bytecode.cpp:2553:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*((int*) ARG_DW(last->arg)) = b;
~^~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'int asCByteCode::InstrSHORT_DW_DW(asEBCInstr, short int, asDWORD, asDWORD)':
${src}/Sources/AngelScript/source/as_bytecode.cpp:2570:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(int*)ARG_DW(last->arg) = b;
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'int asCByteCode::InstrSHORT_DW(asEBCInstr, short int, asDWORD)':
${src}/Sources/AngelScript/source/as_bytecode.cpp:2643:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*((int*) ARG_DW(last->arg)) = b;
~^~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'int asCByteCode::InstrW_FLOAT(asEBCInstr, asWORD, float)':
${src}/Sources/AngelScript/source/as_bytecode.cpp:2694:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*((float*) ARG_DW(last->arg)) = b;
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'int asCByteCode::InstrINT(asEBCInstr, int)':
${src}/Sources/AngelScript/source/as_bytecode.cpp:2728:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*((int*) ARG_DW(last->arg)) = param;
~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ${src}/Sources/AngelScript/source/as_bytecode.cpp:40:
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'int asCByteCode::InstrDWORD(asEBCInstr, asDWORD)':
${src}/Sources/AngelScript/source/as_config.h:1237:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ARG_DW(b) ((asDWORD*)&b)
~^~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:2744:3: note: in expansion of macro 'ARG_DW'
*ARG_DW(last->arg) = param;
^~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'int asCByteCode::InstrPTR(asEBCInstr, void*)':
${src}/Sources/AngelScript/source/as_config.h:1239:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ARG_PTR(b) ((asPWORD*)&b)
~^~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:2760:3: note: in expansion of macro 'ARG_PTR'
*ARG_PTR(last->arg) = (asPWORD)param;
^~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'int asCByteCode::InstrFLOAT(asEBCInstr, float)':
${src}/Sources/AngelScript/source/as_bytecode.cpp:2810:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*((float*) ARG_DW(last->arg)) = param;
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'int asCByteCode::InstrDOUBLE(asEBCInstr, double)':
${src}/Sources/AngelScript/source/as_bytecode.cpp:2826:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*((double*) ARG_QW(last->arg)) = param;
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ${src}/Sources/AngelScript/source/as_bytecode.cpp:40:
${src}/Sources/AngelScript/source/as_bytecode.cpp: In member function 'asDWORD asCByteCode::GetLastInstrValueDW()':
${src}/Sources/AngelScript/source/as_config.h:1237:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ARG_DW(b) ((asDWORD*)&b)
~^~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_bytecode.cpp:2866:10: note: in expansion of macro 'ARG_DW'
return *ARG_DW(last->arg);
^~~~~~
[ 7%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_callfunc.cpp.o
${src}/Sources/AngelScript/source/as_callfunc.cpp: In function 'int DetectCallingConvention(bool, const asSFuncPtr&, int, void*, asSSystemFunctionInterface*)':
${src}/Sources/AngelScript/source/as_callfunc.cpp:58:56: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct asSSystemFunctionInterface' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
memset(internal, 0, sizeof(asSSystemFunctionInterface));
^
In file included from ${src}/Sources/AngelScript/source/as_callfunc.cpp:41:
${src}/Sources/AngelScript/source/as_callfunc.h:98:8: note: 'struct asSSystemFunctionInterface' declared here
struct asSSystemFunctionInterface
^~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_callfunc.cpp: In function 'int CallSystemFunction(int, asCContext*)':
${src}/Sources/AngelScript/source/as_callfunc.cpp:836:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asDWORD*)&context->m_regs.valueRegister = (asDWORD)retQW;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 7%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_callfunc_x86.cpp.o
${src}/Sources/AngelScript/source/as_callfunc_x86.cpp: In function 'asQWORD CallSystemFunctionNative(asCContext*, asCScriptFunction*, void*, asDWORD*, void*, asQWORD&, void*)':
${src}/Sources/AngelScript/source/as_callfunc_x86.cpp:264:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asDWORD*)&retQW = GetReturnedFloat();
^~~~~~~~~~~~~~~~
[ 8%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_callfunc_x64_gcc.cpp.o
[ 8%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_callfunc_x64_msvc.cpp.o
[ 8%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_compiler.cpp.o
[ 9%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_configgroup.cpp.o
[ 9%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_context.cpp.o
${src}/Sources/AngelScript/source/as_context.cpp: In member function 'virtual asWORD asCContext::GetReturnWord()':
${src}/Sources/AngelScript/source/as_context.cpp:568:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return *(asWORD*)&m_regs.valueRegister;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp: In member function 'virtual asDWORD asCContext::GetReturnDWord()':
${src}/Sources/AngelScript/source/as_context.cpp:579:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return *(asDWORD*)&m_regs.valueRegister;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp: In member function 'virtual float asCContext::GetReturnFloat()':
${src}/Sources/AngelScript/source/as_context.cpp:601:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return *(float*)&m_regs.valueRegister;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp: In member function 'virtual double asCContext::GetReturnDouble()':
${src}/Sources/AngelScript/source/as_context.cpp:612:10: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return *(double*)&m_regs.valueRegister;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp: In member function 'virtual void* asCContext::GetReturnAddress()':
${src}/Sources/AngelScript/source/as_context.cpp:622:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return *(void**)&m_regs.valueRegister;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp: In member function 'void asCContext::ExecuteNext()':
${src}/Sources/AngelScript/source/as_context.cpp:1909:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(void**)&m_regs.valueRegister = (void*)asBC_PTRARG(l_bc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:1910:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(l_fp - asBC_SWORDARG0(l_bc)) = **(asDWORD**)&m_regs.valueRegister;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:1980:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( *(int*)&m_regs.valueRegister == 0 )
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:1988:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( *(int*)&m_regs.valueRegister != 0 )
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:1996:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( *(int*)&m_regs.valueRegister < 0 )
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2004:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( *(int*)&m_regs.valueRegister >= 0 )
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2012:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( *(int*)&m_regs.valueRegister > 0 )
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2020:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( *(int*)&m_regs.valueRegister <= 0 )
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2216:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(**(short**)&m_regs.valueRegister)++;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2222:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(**(char**)&m_regs.valueRegister)++;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2228:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(**(short**)&m_regs.valueRegister)--;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2234:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(**(char**)&m_regs.valueRegister)--;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2240:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
++(**(int**)&m_regs.valueRegister);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2246:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
--(**(int**)&m_regs.valueRegister);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2252:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
++(**(float**)&m_regs.valueRegister);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2258:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
--(**(float**)&m_regs.valueRegister);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2264:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
++(**(double**)&m_regs.valueRegister);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2270:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
--(**(double**)&m_regs.valueRegister);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2393:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( dbl1 == dbl2 ) *(int*)&m_regs.valueRegister = 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2394:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else if( dbl1 < dbl2 ) *(int*)&m_regs.valueRegister = -1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2395:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else *(int*)&m_regs.valueRegister = 1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2404:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( d1 == d2 ) *(int*)&m_regs.valueRegister = 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2405:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else if( d1 < d2 ) *(int*)&m_regs.valueRegister = -1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2406:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else *(int*)&m_regs.valueRegister = 1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2417:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( f1 == f2 ) *(int*)&m_regs.valueRegister = 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2418:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else if( f1 < f2 ) *(int*)&m_regs.valueRegister = -1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2419:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else *(int*)&m_regs.valueRegister = 1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2428:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( i1 == i2 ) *(int*)&m_regs.valueRegister = 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2429:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else if( i1 < i2 ) *(int*)&m_regs.valueRegister = -1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2430:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else *(int*)&m_regs.valueRegister = 1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2441:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( i1 == i2 ) *(int*)&m_regs.valueRegister = 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2442:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else if( i1 < i2 ) *(int*)&m_regs.valueRegister = -1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2443:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else *(int*)&m_regs.valueRegister = 1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2454:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( f1 == f2 ) *(int*)&m_regs.valueRegister = 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2455:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else if( f1 < f2 ) *(int*)&m_regs.valueRegister = -1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2456:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else *(int*)&m_regs.valueRegister = 1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2465:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( d1 == d2 ) *(int*)&m_regs.valueRegister = 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2466:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else if( d1 < d2 ) *(int*)&m_regs.valueRegister = -1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2467:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else *(int*)&m_regs.valueRegister = 1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2477:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asPWORD*)&m_regs.valueRegister = *(asPWORD*)l_sp;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2484:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asPWORD*)l_sp = *(asPWORD*)&m_regs.valueRegister;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2965:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asDWORD*)&m_regs.valueRegister = *(asDWORD*)(l_fp - asBC_SWORDARG0(l_bc));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2980:47: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asDWORD*)(l_fp - asBC_SWORDARG0(l_bc)) = *(asDWORD*)&m_regs.valueRegister;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:2996:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
**(asBYTE**)&m_regs.valueRegister = *(asBYTE*)(l_fp - asBC_SWORDARG0(l_bc));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3002:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
**(asWORD**)&m_regs.valueRegister = *(asWORD*)(l_fp - asBC_SWORDARG0(l_bc));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3007:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
**(asDWORD**)&m_regs.valueRegister = *(l_fp - asBC_SWORDARG0(l_bc));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3012:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
**(asQWORD**)&m_regs.valueRegister = *(asQWORD*)(l_fp - asBC_SWORDARG0(l_bc));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3020:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
bPtr[0] = **(asBYTE**)&m_regs.valueRegister; // read the byte
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3032:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
wPtr[0] = **(asWORD**)&m_regs.valueRegister; // read the word
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3039:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asDWORD*)(l_fp - asBC_SWORDARG0(l_bc)) = **(asDWORD**)&m_regs.valueRegister;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3044:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asQWORD*)(l_fp - asBC_SWORDARG0(l_bc)) = **(asQWORD**)&m_regs.valueRegister;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3049:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asPWORD*)&m_regs.valueRegister = asBC_PTRARG(l_bc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3054:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asDWORD**)&m_regs.valueRegister = (l_fp - asBC_SWORDARG0(l_bc));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3070:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( p1 == p2 ) *(int*)&m_regs.valueRegister = 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3071:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else if( p1 < p2 ) *(int*)&m_regs.valueRegister = -1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3072:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else *(int*)&m_regs.valueRegister = 1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3624:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
++(**(asQWORD**)&m_regs.valueRegister);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3629:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
--(**(asQWORD**)&m_regs.valueRegister);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3758:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( i1 == i2 ) *(int*)&m_regs.valueRegister = 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3759:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else if( i1 < i2 ) *(int*)&m_regs.valueRegister = -1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3760:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else *(int*)&m_regs.valueRegister = 1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3769:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( d1 == d2 ) *(int*)&m_regs.valueRegister = 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3770:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else if( d1 < d2 ) *(int*)&m_regs.valueRegister = -1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3771:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
else *(int*)&m_regs.valueRegister = 1;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:3951:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asPWORD*)&m_regs.valueRegister = tmp;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:4061:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asPWORD*)&m_regs.valueRegister = tmp;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:4075:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asPWORD*)&m_regs.valueRegister = tmp;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:4363:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asPWORD*)&m_regs.valueRegister = (asPWORD)ptr;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp: In function 'int as_powi(int, int, bool&)':
${src}/Sources/AngelScript/source/as_context.cpp:5547:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5548:3: note: here
case 4:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5551:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5552:3: note: here
case 3:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5555:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5556:3: note: here
case 2:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5559:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5560:3: note: here
case 1:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5561:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
if( exponent ) result *= base;
^~
${src}/Sources/AngelScript/source/as_context.cpp:5562:3: note: here
default:
^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp: In function 'asDWORD as_powu(asDWORD, asDWORD, bool&)':
${src}/Sources/AngelScript/source/as_context.cpp:5609:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5610:3: note: here
case 4:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5613:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5614:3: note: here
case 3:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5617:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5618:3: note: here
case 2:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5621:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5622:3: note: here
case 1:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5623:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
if( exponent ) result *= base;
^~
${src}/Sources/AngelScript/source/as_context.cpp:5624:3: note: here
default:
^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp: In function 'asINT64 as_powi64(asINT64, asINT64, bool&)':
${src}/Sources/AngelScript/source/as_context.cpp:5685:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5686:3: note: here
case 5:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5689:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5690:3: note: here
case 4:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5693:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5694:3: note: here
case 3:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5697:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5698:3: note: here
case 2:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5701:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5702:3: note: here
case 1:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5703:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
if( exponent ) result *= base;
^~
${src}/Sources/AngelScript/source/as_context.cpp:5704:3: note: here
default:
^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp: In function 'asQWORD as_powu64(asQWORD, asQWORD, bool&)':
${src}/Sources/AngelScript/source/as_context.cpp:5751:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5752:3: note: here
case 5:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5755:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5756:3: note: here
case 4:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5759:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5760:3: note: here
case 3:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5763:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5764:3: note: here
case 2:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5767:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
base *= base;
~~~~~^~~~~~~
${src}/Sources/AngelScript/source/as_context.cpp:5768:3: note: here
case 1:
^~~~
${src}/Sources/AngelScript/source/as_context.cpp:5769:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
if( exponent ) result *= base;
^~
${src}/Sources/AngelScript/source/as_context.cpp:5770:3: note: here
default:
^~~~~~~
[ 10%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_datatype.cpp.o
[ 10%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_gc.cpp.o
[ 10%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_generic.cpp.o
${src}/Sources/AngelScript/source/as_generic.cpp: In member function 'virtual int asCGeneric::SetReturnWord(asWORD)':
${src}/Sources/AngelScript/source/as_generic.cpp:357:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asWORD*)&returnVal = val;
^~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_generic.cpp: In member function 'virtual int asCGeneric::SetReturnDWord(asDWORD)':
${src}/Sources/AngelScript/source/as_generic.cpp:373:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(asDWORD*)&returnVal = val;
^~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_generic.cpp: In member function 'virtual int asCGeneric::SetReturnFloat(float)':
${src}/Sources/AngelScript/source/as_generic.cpp:405:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(float*)&returnVal = val;
^~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_generic.cpp: In member function 'virtual int asCGeneric::SetReturnDouble(double)':
${src}/Sources/AngelScript/source/as_generic.cpp:421:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(double*)&returnVal = val;
^~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_generic.cpp: In member function 'virtual int asCGeneric::SetReturnAddress(void*)':
${src}/Sources/AngelScript/source/as_generic.cpp:433:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(void**)&returnVal = val;
^~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_generic.cpp: In member function 'virtual int asCGeneric::SetReturnObject(void*)':
${src}/Sources/AngelScript/source/as_generic.cpp:455:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(void**)&returnVal = obj;
^~~~~~~~~~~~~~~~~~
[ 11%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_globalproperty.cpp.o
[ 11%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_memory.cpp.o
[ 11%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_module.cpp.o
[ 12%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_objecttype.cpp.o
[ 12%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_outputbuffer.cpp.o
[ 13%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_parser.cpp.o
[ 13%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_restore.cpp.o
${src}/Sources/AngelScript/source/as_restore.cpp: In member function 'void asCWriter::WriteByteCode(asCScriptFunction*)':
${src}/Sources/AngelScript/source/as_restore.cpp:4572:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
if( *(int*)&tmpBC[1+AS_PTR_SIZE] != 0 )
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_restore.cpp:4575:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(int*)&tmpBC[1+AS_PTR_SIZE] = 1+FindFunctionIndex(engine->scriptFunctions[*(int*)&tmpBC[1+AS_PTR_SIZE]]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_restore.cpp:4575:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
*(int*)&tmpBC[1+AS_PTR_SIZE] = 1+FindFunctionIndex(engine->scriptFunctions[*(int*)&tmpBC[1+AS_PTR_SIZE]]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_restore.cpp:4929:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
asQWORD qw = *(asQWORD*)&tmpBC[1];
^~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_restore.cpp:4940:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
asQWORD qw = *(asQWORD*)&tmpBC[1];
^~~~~~~~~~~~~~~~~~~
${src}/Sources/AngelScript/source/as_restore.cpp:4960:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
asQWORD qw = *(asQWORD*)&tmpBC[1];
^~~~~~~~~~~~~~~~~~~
[ 13%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_scriptcode.cpp.o
[ 14%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_scriptengine.cpp.o
${src}/Sources/AngelScript/source/as_scriptengine.cpp: In member function 'bool asCScriptEngine::CallObjectMethodRetBool(void*, int) const':
${src}/Sources/AngelScript/source/as_scriptengine.cpp:4094:68: warning: cast between incompatible pointer to member types from 'asSIMPLEMETHOD_t' {aka 'void (asCSimpleDummy::*)()'} to 'bool (asCSimpleDummy::*)()' [-Wcast-function-type]
bool (asCSimpleDummy::*f)() = (bool (asCSimpleDummy::*)())(p.mthd);
^
${src}/Sources/AngelScript/source/as_scriptengine.cpp: In member function 'int asCScriptEngine::CallObjectMethodRetInt(void*, int) const':
${src}/Sources/AngelScript/source/as_scriptengine.cpp:4161:66: warning: cast between incompatible pointer to member types from 'asSIMPLEMETHOD_t' {aka 'void (asCSimpleDummy::*)()'} to 'int (asCSimpleDummy::*)()' [-Wcast-function-type]
int (asCSimpleDummy::*f)() = (int (asCSimpleDummy::*)())(p.mthd);
^
${src}/Sources/AngelScript/source/as_scriptengine.cpp: In member function 'void* asCScriptEngine::CallObjectMethodRetPtr(void*, int) const':
${src}/Sources/AngelScript/source/as_scriptengine.cpp:4228:70: warning: cast between incompatible pointer to member types from 'asSIMPLEMETHOD_t' {aka 'void (asCSimpleDummy::*)()'} to 'void* (asCSimpleDummy::*)()' [-Wcast-function-type]
void *(asCSimpleDummy::*f)() = (void *(asCSimpleDummy::*)())(p.mthd);
^
${src}/Sources/AngelScript/source/as_scriptengine.cpp: In member function 'void* asCScriptEngine::CallObjectMethodRetPtr(void*, int, asCScriptFunction*) const':
${src}/Sources/AngelScript/source/as_scriptengine.cpp:4289:76: warning: cast between incompatible pointer to member types from 'asSIMPLEMETHOD_t' {aka 'void (asCSimpleDummy::*)()'} to 'void* (asCSimpleDummy::*)(int)' [-Wcast-function-type]
void *(asCSimpleDummy::*f)(int) = (void *(asCSimpleDummy::*)(int))(p.mthd);
^
${src}/Sources/AngelScript/source/as_scriptengine.cpp: In member function 'void asCScriptEngine::CallObjectMethod(void*, void*, asSSystemFunctionInterface*, asCScriptFunction*) const':
${src}/Sources/AngelScript/source/as_scriptengine.cpp:4418:78: warning: cast between incompatible pointer to member types from 'asSIMPLEMETHOD_t' {aka 'void (asCSimpleDummy::*)()'} to 'void (asCSimpleDummy::*)(void*)' [-Wcast-function-type]
void (asCSimpleDummy::*f)(void*) = (void (asCSimpleDummy::*)(void*))(p.mthd);
^
[ 14%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_scriptfunction.cpp.o
In file included from ${src}/Sources/AngelScript/source/as_config.h:1249,
from ${src}/Sources/AngelScript/source/as_scriptfunction.cpp:40:
${src}/Sources/AngelScript/source/as_scriptfunction.cpp: In function 'void RegisterScriptFunction(asCScriptEngine*)':
${src}/Sources/AngelScript/source/../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (asCScriptFunction::*)() const' to 'void (asCScriptFunction::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/source/as_scriptfunction.cpp:129:102: note: in expansion of macro 'asMETHOD'
r = engine->RegisterBehaviourToObjectType(&engine->functionBehaviours, asBEHAVE_ADDREF, "void f()", asMETHOD(asCScriptFunction,AddRef), asCALL_THISCALL, 0); asASSERT( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/source/../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (asCScriptFunction::*)() const' to 'void (asCScriptFunction::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/source/as_scriptfunction.cpp:130:103: note: in expansion of macro 'asMETHOD'
r = engine->RegisterBehaviourToObjectType(&engine->functionBehaviours, asBEHAVE_RELEASE, "void f()", asMETHOD(asCScriptFunction,Release), asCALL_THISCALL, 0); asASSERT( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/source/../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (asCScriptFunction::*)()' to 'void (asCScriptFunction::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/source/as_scriptfunction.cpp:131:106: note: in expansion of macro 'asMETHOD'
r = engine->RegisterBehaviourToObjectType(&engine->functionBehaviours, asBEHAVE_GETREFCOUNT, "int f()", asMETHOD(asCScriptFunction,GetRefCount), asCALL_THISCALL, 0); asASSERT( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/source/../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (asCScriptFunction::*)()' to 'void (asCScriptFunction::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/source/as_scriptfunction.cpp:133:105: note: in expansion of macro 'asMETHOD'
r = engine->RegisterBehaviourToObjectType(&engine->functionBehaviours, asBEHAVE_GETGCFLAG, "bool f()", asMETHOD(asCScriptFunction,GetFlag), asCALL_THISCALL, 0); asASSERT( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/source/../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (asCScriptFunction::*)(asIScriptEngine*)' to 'void (asCScriptFunction::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/source/as_scriptfunction.cpp:134:110: note: in expansion of macro 'asMETHOD'
r = engine->RegisterBehaviourToObjectType(&engine->functionBehaviours, asBEHAVE_ENUMREFS, "void f(int&in)", asMETHOD(asCScriptFunction,EnumReferences), asCALL_THISCALL, 0); asASSERT( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/source/../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (asCScriptFunction::*)(asIScriptEngine*)' to 'void (asCScriptFunction::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/source/as_scriptfunction.cpp:135:113: note: in expansion of macro 'asMETHOD'
r = engine->RegisterBehaviourToObjectType(&engine->functionBehaviours, asBEHAVE_RELEASEREFS, "void f(int&in)", asMETHOD(asCScriptFunction,ReleaseAllHandles), asCALL_THISCALL, 0); asASSERT( r >= 0 );
^~~~~~~~
[ 14%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_scriptnode.cpp.o
[ 15%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_scriptobject.cpp.o
In file included from ${src}/Sources/AngelScript/source/as_config.h:1249,
from ${src}/Sources/AngelScript/source/as_scriptobject.cpp:33:
${src}/Sources/AngelScript/source/as_scriptobject.cpp: In function 'void RegisterScriptObject(asCScriptEngine*)':
${src}/Sources/AngelScript/source/../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (asCScriptObject::*)() const' to 'void (asCScriptObject::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/source/as_scriptobject.cpp:206:104: note: in expansion of macro 'asMETHOD'
r = engine->RegisterBehaviourToObjectType(&engine->scriptTypeBehaviours, asBEHAVE_ADDREF, "void f()", asMETHOD(asCScriptObject,AddRef), asCALL_THISCALL, 0); asASSERT( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/source/../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (asCScriptObject::*)() const' to 'void (asCScriptObject::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/source/as_scriptobject.cpp:207:105: note: in expansion of macro 'asMETHOD'
r = engine->RegisterBehaviourToObjectType(&engine->scriptTypeBehaviours, asBEHAVE_RELEASE, "void f()", asMETHOD(asCScriptObject,Release), asCALL_THISCALL, 0); asASSERT( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/source/../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'asILockableSharedBool* (asCScriptObject::*)() const' to 'void (asCScriptObject::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/source/as_scriptobject.cpp:211:114: note: in expansion of macro 'asMETHOD'
r = engine->RegisterBehaviourToObjectType(&engine->scriptTypeBehaviours, asBEHAVE_GET_WEAKREF_FLAG, "int &f()", asMETHOD(asCScriptObject,GetWeakRefFlag), asCALL_THISCALL, 0); asASSERT( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/source/../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (asCScriptObject::*)()' to 'void (asCScriptObject::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/source/as_scriptobject.cpp:214:108: note: in expansion of macro 'asMETHOD'
r = engine->RegisterBehaviourToObjectType(&engine->scriptTypeBehaviours, asBEHAVE_GETREFCOUNT, "int f()", asMETHOD(asCScriptObject,GetRefCount), asCALL_THISCALL, 0); asASSERT( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/source/../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (asCScriptObject::*)()' to 'void (asCScriptObject::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/source/as_scriptobject.cpp:216:107: note: in expansion of macro 'asMETHOD'
r = engine->RegisterBehaviourToObjectType(&engine->scriptTypeBehaviours, asBEHAVE_GETGCFLAG, "bool f()", asMETHOD(asCScriptObject,GetFlag), asCALL_THISCALL, 0); asASSERT( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/source/../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (asCScriptObject::*)(asIScriptEngine*)' to 'void (asCScriptObject::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/source/as_scriptobject.cpp:217:112: note: in expansion of macro 'asMETHOD'
r = engine->RegisterBehaviourToObjectType(&engine->scriptTypeBehaviours, asBEHAVE_ENUMREFS, "void f(int&in)", asMETHOD(asCScriptObject,EnumReferences), asCALL_THISCALL, 0); asASSERT( r >= 0 );
^~~~~~~~
${src}/Sources/AngelScript/source/../include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (asCScriptObject::*)(asIScriptEngine*)' to 'void (asCScriptObject::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/AngelScript/source/as_scriptobject.cpp:218:115: note: in expansion of macro 'asMETHOD'
r = engine->RegisterBehaviourToObjectType(&engine->scriptTypeBehaviours, asBEHAVE_RELEASEREFS, "void f(int&in)", asMETHOD(asCScriptObject,ReleaseAllHandles), asCALL_THISCALL, 0); asASSERT( r >= 0 );
^~~~~~~~
[ 15%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_string.cpp.o
[ 16%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_string_util.cpp.o
[ 16%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_thread.cpp.o
[ 16%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_tokenizer.cpp.o
[ 17%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_typeinfo.cpp.o
[ 17%] Building CXX object Sources/AngelScript/projects/cmake/CMakeFiles/Angelscript.dir/__/__/source/as_variablescope.cpp.o
[ 17%] Linking CXX static library ../../../../lib/libAngelscript.a
[ 17%] Built target Angelscript
[ 17%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Audio/ALDevice.cpp.o
[ 18%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Audio/ALFuncs.cpp.o
[ 18%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Audio/NullDevice.cpp.o
[ 18%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Audio/YsrDevice.cpp.o
[ 19%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/CTFGameMode.cpp.o
${src}/Sources/Client/CTFGameMode.cpp: In member function 'bool spades::client::CTFGameMode::PlayerHasIntel(spades::client::World&, spades::client::Player&)':
${src}/Sources/Client/CTFGameMode.cpp:45:41: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
return team.hasIntel && team.carrier == player.GetId();
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
${src}/Sources/Client/CTFGameMode.cpp:39:43: warning: unused parameter 'world' [-Wunused-parameter]
bool CTFGameMode::PlayerHasIntel(World &world, Player &player) {
~~~~~~~^~~~~
[ 19%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/CenterMessageView.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/CenterMessageView.cpp:22:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
[ 20%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/ChatWindow.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/ChatWindow.cpp:24:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
[ 20%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/Client.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/Client.cpp:26:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
In file included from ${src}/Sources/Client/Client.cpp:31:
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:284:27: required from 'std::__cxx11::string spades::GetText(const string&, const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:304:18: required from 'std::__cxx11::string spades::CatalogDomainHandle::Get(const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/Client/Client.cpp:583:11: required from here
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#0' [-Wunused-parameter]
template <class... T> int CheckPlural(T... args) { return 1; }
~^~~~~~~~
${src}/Sources/Client/Client.cpp: In member function 'void spades::client::Client::ShowAlert(const string&, spades::client::Client::AlertType)':
${src}/Sources/Client/Client.cpp:518:30: warning: 'timeout' may be used uninitialized in this function [-Wmaybe-uninitialized]
alertDisappearTime = time + timeout;
~~~~~^~~~~~~~~
${src}/Sources/Client/Client.cpp:505:10: note: 'timeout' was declared here
float timeout;
^~~~~~~
[ 20%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/ClientPlayer.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/ClientPlayer.cpp:25:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
${src}/Sources/Client/ClientPlayer.cpp: In member function 'virtual void spades::client::SandboxedRenderer::AddDebugLine(spades::Vector3, spades::Vector3, spades::Vector4)':
${src}/Sources/Client/ClientPlayer.cpp:124:30: warning: unused parameter 'a' [-Wunused-parameter]
void AddDebugLine(Vector3 a, Vector3 b, Vector4 color) { OnProhibitedAction(); }
~~~~~~~~^
${src}/Sources/Client/ClientPlayer.cpp:124:41: warning: unused parameter 'b' [-Wunused-parameter]
void AddDebugLine(Vector3 a, Vector3 b, Vector4 color) { OnProhibitedAction(); }
~~~~~~~~^
${src}/Sources/Client/ClientPlayer.cpp:124:52: warning: unused parameter 'color' [-Wunused-parameter]
void AddDebugLine(Vector3 a, Vector3 b, Vector4 color) { OnProhibitedAction(); }
~~~~~~~~^~~~~
${src}/Sources/Client/ClientPlayer.cpp: In member function 'virtual void spades::client::SandboxedRenderer::DrawFlatGameMap(const spades::AABB2&, const spades::AABB2&)':
${src}/Sources/Client/ClientPlayer.cpp:187:38: warning: unused parameter 'outRect' [-Wunused-parameter]
void DrawFlatGameMap(const AABB2 &outRect, const AABB2 &inRect) {
~~~~~~~~~~~~~^~~~~~~
${src}/Sources/Client/ClientPlayer.cpp:187:60: warning: unused parameter 'inRect' [-Wunused-parameter]
void DrawFlatGameMap(const AABB2 &outRect, const AABB2 &inRect) {
~~~~~~~~~~~~~^~~~~~
${src}/Sources/Client/ClientPlayer.cpp: In member function 'void spades::client::ClientPlayer::Update(float)':
${src}/Sources/Client/ClientPlayer.cpp:318:12: warning: variable 'vel' set but not used [-Wunused-but-set-variable]
Vector3 vel = player->GetVelocty();
^~~
${src}/Sources/Client/ClientPlayer.cpp: In member function 'void spades::client::ClientPlayer::SetSkinParameterForTool(spades::client::Player::ToolType, asIScriptObject*)':
${src}/Sources/Client/ClientPlayer.cpp:509:63: warning: unused parameter 'type' [-Wunused-parameter]
void ClientPlayer::SetSkinParameterForTool(Player::ToolType type, asIScriptObject *skin) {
~~~~~~~~~~~~~~~~~^~~~
${src}/Sources/Client/ClientPlayer.cpp: In member function 'void spades::client::ClientPlayer::AddToSceneThirdPersonView()':
${src}/Sources/Client/ClientPlayer.cpp:970:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
if (team.hasIntel && team.carrier == p->GetId()) {
~~~~~~~~~~~~~^~~~~~~~~~~~~
[ 21%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/ClientUI.cpp.o
In file included from ${src}/Sources/Client/ClientUI.h:26,
from ${src}/Sources/Client/ClientUI.cpp:22:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
In file included from ${src}/Sources/Client/ClientUI.cpp:26:
${src}/Sources/./Client/FontData.h: At global scope:
${src}/Sources/./Client/FontData.h:369:12: warning: 'CMUSansCondensedMap' defined but not used [-Wunused-variable]
static int CMUSansCondensedMap[256][4] = {
^~~~~~~~~~~~~~~~~~~
${src}/Sources/./Client/FontData.h:280:12: warning: 'SquareFontBigMap' defined but not used [-Wunused-variable]
static int SquareFontBigMap[256][4] = {
^~~~~~~~~~~~~~~~
${src}/Sources/./Client/FontData.h:191:12: warning: 'SquareFontMap' defined but not used [-Wunused-variable]
static int SquareFontMap[256][4] = {
^~~~~~~~~~~~~
${src}/Sources/./Client/FontData.h:145:12: warning: 'UnsteadyOversteerMap' defined but not used [-Wunused-variable]
static int UnsteadyOversteerMap[128][3] = {
^~~~~~~~~~~~~~~~~~~~
${src}/Sources/./Client/FontData.h:99:12: warning: 'UbuntuCondensedBigMap' defined but not used [-Wunused-variable]
static int UbuntuCondensedBigMap[128][3] = {
^~~~~~~~~~~~~~~~~~~~~
${src}/Sources/./Client/FontData.h:53:12: warning: 'UbuntuCondensedMap' defined but not used [-Wunused-variable]
static int UbuntuCondensedMap[128][3] = {
^~~~~~~~~~~~~~~~~~
${src}/Sources/./Client/FontData.h:7:12: warning: 'OrbitronMap' defined but not used [-Wunused-variable]
static int OrbitronMap[128][3] = {
^~~~~~~~~~~
[ 21%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/ClientUIHelper.cpp.o
In file included from ${src}/Sources/Client/ClientUI.h:26,
from ${src}/Sources/Client/ClientUIHelper.cpp:22:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
[ 21%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/Client_Draw.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/Client_Draw.cpp:24:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
In file included from ${src}/Sources/Client/Client_Draw.cpp:27:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from ${src}/Sources/Client/Client_Draw.cpp:30:
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:284:27: required from 'std::__cxx11::string spades::GetText(const string&, const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:304:18: required from 'std::__cxx11::string spades::CatalogDomainHandle::Get(const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/Client/Client_Draw.cpp:137:12: required from here
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#0' [-Wunused-parameter]
template <class... T> int CheckPlural(T... args) { return 1; }
~^~~~~~~~
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:284:27: required from 'std::__cxx11::string spades::GetText(const string&, const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:304:18: required from 'std::__cxx11::string spades::CatalogDomainHandle::Get(const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/Client/Client_Draw.cpp:656:13: required from here
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#0' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#1' [-Wunused-parameter]
[ 22%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/Client_FPSCounter.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/Client_FPSCounter.cpp:22:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
[ 22%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/Client_Input.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/Client_Input.cpp:22:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
${src}/Sources/Client/Client_Input.cpp: In member function 'virtual void spades::client::Client::KeyEvent(const string&, bool)':
${src}/Sources/Client/Client_Input.cpp:321:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (world->GetLocalPlayer()->IsAlive()) {
^~
${src}/Sources/Client/Client_Input.cpp:324:6: note: here
case ClientCameraMode::FirstPersonFollow:
^~~~
[ 23%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/Client_LocalEnts.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/Client_LocalEnts.cpp:26:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
In file included from ${src}/Sources/Client/Client_LocalEnts.cpp:28:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
${src}/Sources/Client/Client_LocalEnts.cpp: In member function 'void spades::client::Client::MuzzleFire(spades::Vector3, spades::Vector3, bool)':
${src}/Sources/Client/Client_LocalEnts.cpp:306:67: warning: unused parameter 'dir' [-Wunused-parameter]
void Client::MuzzleFire(spades::Vector3 origin, spades::Vector3 dir, bool local) {
~~~~~~~~~~~~~~~~^~~
${src}/Sources/Client/Client_LocalEnts.cpp:306:77: warning: unused parameter 'local' [-Wunused-parameter]
void Client::MuzzleFire(spades::Vector3 origin, spades::Vector3 dir, bool local) {
~~~~~^~~~~
${src}/Sources/Client/Client_LocalEnts.cpp: In member function 'float spades::client::Client::RayCastForAutoFocus(const spades::Vector3&, const spades::Vector3&)':
${src}/Sources/Client/Client_LocalEnts.cpp:700:27: warning: null argument where non-null required (argument 1) [-Wnonnull]
return std::nan(nullptr);
^
[ 23%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/Client_NetHandler.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/Client_NetHandler.cpp:24:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
In file included from ${src}/Sources/Client/Client_NetHandler.cpp:27:
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:284:27: required from 'std::__cxx11::string spades::GetText(const string&, const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:304:18: required from 'std::__cxx11::string spades::CatalogDomainHandle::Get(const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/Client/Client_NetHandler.cpp:90:11: required from here
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#0' [-Wunused-parameter]
template <class... T> int CheckPlural(T... args) { return 1; }
~^~~~~~~~
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#1' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:284:27: required from 'std::__cxx11::string spades::GetText(const string&, const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:304:18: required from 'std::__cxx11::string spades::CatalogDomainHandle::Get(const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/Client/Client_NetHandler.cpp:92:11: required from here
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#0' [-Wunused-parameter]
[ 23%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/Client_Scene.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/Client_Scene.cpp:22:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
In file included from ${src}/Sources/Client/Client_Scene.cpp:24:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 24%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/Client_Update.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/Client_Update.cpp:22:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
In file included from ${src}/Sources/Client/Client_Update.cpp:24:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
${src}/Sources/Client/Client_Update.cpp: In member function 'void spades::client::Client::UpdateLocalPlayer(float)':
${src}/Sources/Client/Client_Update.cpp:386:40: warning: unused parameter 'dt' [-Wunused-parameter]
void Client::UpdateLocalPlayer(float dt) {
~~~~~~^~
${src}/Sources/Client/Client_Update.cpp: In member function 'virtual void spades::client::Client::LocalPlayerHurt(HurtType, bool, spades::Vector3)':
${src}/Sources/Client/Client_Update.cpp:1228:41: warning: unused parameter 'type' [-Wunused-parameter]
void Client::LocalPlayerHurt(HurtType type, bool sourceGiven, spades::Vector3 source) {
~~~~~~~~~^~~~
In file included from ${src}/Sources/Client/Client_Update.cpp:26:
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:284:27: required from 'std::__cxx11::string spades::GetText(const string&, const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:304:18: required from 'std::__cxx11::string spades::CatalogDomainHandle::Get(const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/Client/Client_Update.cpp:933:14: required from here
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#0' [-Wunused-parameter]
template <class... T> int CheckPlural(T... args) { return 1; }
~^~~~~~~~
${src}/Sources/Client/Client_Update.cpp: In member function 'void spades::client::Client::UpdateLocalSpectator(float)':
${src}/Sources/Client/Client_Update.cpp:338:45: warning: '*((void*)& minResult +36)' may be used uninitialized in this function [-Wmaybe-uninitialized]
freeState.position.z += result.normal.z * .02f;
~~~~~~~~~~~~~~~~^~~~~~
${src}/Sources/Client/Client_Update.cpp:337:45: warning: '*((void*)& minResult +32)' may be used uninitialized in this function [-Wmaybe-uninitialized]
freeState.position.y += result.normal.y * .02f;
~~~~~~~~~~~~~~~~^~~~~~
${src}/Sources/Client/Client_Update.cpp:336:45: warning: '*((void*)& minResult +28)' may be used uninitialized in this function [-Wmaybe-uninitialized]
freeState.position.x += result.normal.x * .02f;
~~~~~~~~~~~~~~~~^~~~~~
In file included from ${src}/Sources/Client/IRenderer.h:23,
from ${src}/Sources/Client/Client.h:29,
from ${src}/Sources/Client/Client_Update.cpp:22:
${src}/Sources/./Core/Math.h:279:84: warning: 'minShift.spades::Vector3::z' may be used uninitialized in this function [-Wmaybe-uninitialized]
Vector3 operator-(const Vector3 &v) const { return Make(x - v.x, y - v.y, z - v.z); }
^
${src}/Sources/Client/Client_Update.cpp:305:12: note: 'minShift.spades::Vector3::z' was declared here
Vector3 minShift;
^~~~~~~~
In file included from ${src}/Sources/Client/IRenderer.h:23,
from ${src}/Sources/Client/Client.h:29,
from ${src}/Sources/Client/Client_Update.cpp:22:
${src}/Sources/./Core/Math.h:279:84: warning: 'minShift.spades::Vector3::x' may be used uninitialized in this function [-Wmaybe-uninitialized]
Vector3 operator-(const Vector3 &v) const { return Make(x - v.x, y - v.y, z - v.z); }
^
${src}/Sources/Client/Client_Update.cpp:305:12: note: 'minShift.spades::Vector3::x' was declared here
Vector3 minShift;
^~~~~~~~
In file included from ${src}/Sources/Client/IRenderer.h:23,
from ${src}/Sources/Client/Client.h:29,
from ${src}/Sources/Client/Client_Update.cpp:22:
${src}/Sources/./Core/Math.h:279:84: warning: 'minShift.spades::Vector3::y' may be used uninitialized in this function [-Wmaybe-uninitialized]
Vector3 operator-(const Vector3 &v) const { return Make(x - v.x, y - v.y, z - v.z); }
^
${src}/Sources/Client/Client_Update.cpp:305:12: note: 'minShift.spades::Vector3::y' was declared here
Vector3 minShift;
^~~~~~~~
${src}/Sources/Client/Client_Update.cpp: In member function 'virtual void spades::client::Client::AddBulletTracer(spades::client::Player*, spades::Vector3, spades::Vector3)':
${src}/Sources/Client/Client_Update.cpp:1087:59: warning: 'vel' may be used uninitialized in this function [-Wmaybe-uninitialized]
AddLocalEntity(new MapViewTracer(muzzlePos, hitPos, vel));
^
[ 24%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/Corpse.cpp.o
[ 24%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/FTFont.cpp.o
In file included from ${src}/Sources/./Draw/SWFeatureLevel.h:57,
from ${src}/Sources/./Draw/SWRenderer.h:28,
from ${src}/Sources/Client/FTFont.cpp:34:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
${src}/Sources/Client/FTFont.cpp: In member function 'void spades::ngclient::FTFont::RenderGlyph(spades::ngclient::FTFont::Glyph&)':
${src}/Sources/Client/FTFont.cpp:323:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
for (int y = 0; y < outbmp->rows; ++y) {
~~^~~~~~~~~~~~~~
${src}/Sources/Client/FTFont.cpp:327:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
for (int x = 0; x < outbmp->width; ++x) {
~~^~~~~~~~~~~~~~~
[ 25%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/FallingBlock.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/FallingBlock.cpp:24:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
[ 25%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/Fonts.cpp.o
In file included from ${src}/Sources/Client/Fonts.cpp:25:
${src}/Sources/Client/FontData.h:369:12: warning: 'CMUSansCondensedMap' defined but not used [-Wunused-variable]
static int CMUSansCondensedMap[256][4] = {
^~~~~~~~~~~~~~~~~~~
${src}/Sources/Client/FontData.h:191:12: warning: 'SquareFontMap' defined but not used [-Wunused-variable]
static int SquareFontMap[256][4] = {
^~~~~~~~~~~~~
${src}/Sources/Client/FontData.h:145:12: warning: 'UnsteadyOversteerMap' defined but not used [-Wunused-variable]
static int UnsteadyOversteerMap[128][3] = {
^~~~~~~~~~~~~~~~~~~~
${src}/Sources/Client/FontData.h:99:12: warning: 'UbuntuCondensedBigMap' defined but not used [-Wunused-variable]
static int UbuntuCondensedBigMap[128][3] = {
^~~~~~~~~~~~~~~~~~~~~
${src}/Sources/Client/FontData.h:53:12: warning: 'UbuntuCondensedMap' defined but not used [-Wunused-variable]
static int UbuntuCondensedMap[128][3] = {
^~~~~~~~~~~~~~~~~~
${src}/Sources/Client/FontData.h:7:12: warning: 'OrbitronMap' defined but not used [-Wunused-variable]
static int OrbitronMap[128][3] = {
^~~~~~~~~~~
[ 26%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/GameMap.cpp.o
[ 26%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/GameMapWrapper.cpp.o
[ 26%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/GameProperties.cpp.o
[ 27%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/Grenade.cpp.o
[ 27%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/GunCasing.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/GunCasing.cpp:22:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
[ 27%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/HitTestDebugger.cpp.o
In file included from ${src}/Sources/./Draw/SWFeatureLevel.h:57,
from ${src}/Sources/./Draw/SWRenderer.h:28,
from ${src}/Sources/Client/HitTestDebugger.cpp:34:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 28%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/HurtRingView.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/HurtRingView.cpp:22:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
[ 28%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/IAudioChunk.cpp.o
[ 28%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/IAudioDevice.cpp.o
[ 29%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/IFont.cpp.o
In file included from ${src}/Sources/./Draw/SWFeatureLevel.h:57,
from ${src}/Sources/./Draw/SWRenderer.h:28,
from ${src}/Sources/Client/IFont.cpp:30:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 29%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/IGameMapListener.cpp.o
[ 30%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/IGameMode.cpp.o
[ 30%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/IImage.cpp.o
[ 30%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/IInputInterface.cpp.o
[ 31%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/ILocalEntity.cpp.o
[ 31%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/IModel.cpp.o
[ 31%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/IRenderer.cpp.o
[ 32%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/IWorldListener.cpp.o
[ 32%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/LimboView.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/LimboView.cpp:23:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
${src}/Sources/Client/LimboView.cpp: In member function 'void spades::client::LimboView::Update(float)':
${src}/Sources/Client/LimboView.cpp:144:32: warning: unused parameter 'dt' [-Wunused-parameter]
void LimboView::Update(float dt) {
~~~~~~^~
[ 33%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/MapView.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/MapView.cpp:24:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
${src}/Sources/Client/MapView.cpp: In member function 'void spades::client::MapView::Draw()':
${src}/Sources/Client/MapView.cpp:493:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
for (int i = 0; i < world->GetNumPlayerSlots(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/Client/MapView.cpp:572:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
if (cId < world->GetNumPlayerSlots()) {
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 33%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/MumbleLink.cpp.o
[ 33%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/NetClient.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/NetClient.cpp:29:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
${src}/Sources/Client/NetClient.cpp: In member function 'spades::client::Player* spades::client::NetClient::GetPlayerOrNull(int)':
${src}/Sources/Client/NetClient.cpp:702:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
if (pId < 0 || pId >= GetWorld()->GetNumPlayerSlots())
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/Client/NetClient.cpp: In member function 'spades::client::Player* spades::client::NetClient::GetPlayer(int)':
${src}/Sources/Client/NetClient.cpp:710:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
if (pId < 0 || pId >= GetWorld()->GetNumPlayerSlots())
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/Client/NetClient.cpp: In member function 'void spades::client::NetClient::HandleGamePacket(spades::client::NetPacketReader&)':
${src}/Sources/Client/NetClient.cpp:1514:17: warning: variable 'wType' set but not used [-Wunused-but-set-variable]
WeaponType wType;
^~~~~
In file included from ${src}/Sources/Client/NetClient.cpp:45:
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(unsigned int, T ...) [with T = {unsigned int}]':
${src}/Sources/./Core/Strings.h:284:27: required from 'std::__cxx11::string spades::GetText(const string&, const string&, const string&, T ...) [with T = {unsigned int, unsigned int}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:304:18: required from 'std::__cxx11::string spades::CatalogDomainHandle::Get(const string&, const string&, T ...) [with T = {unsigned int, unsigned int}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/Client/NetClient.cpp:546:23: required from here
${src}/Sources/./Core/Strings.h:266:57: warning: unused parameter 'args#0' [-Wunused-parameter]
template <class... T> int CheckPlural(unsigned int v, T... args) { return v; }
~^~~~~~~~
${src}/Sources/Client/NetClient.cpp:1510:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
p->SetTeam(team);
~~~~~~~~~~^~~~~~
${src}/Sources/Client/NetClient.cpp:1512:5: note: here
case PacketTypeChangeWeapon: {
^~~~
[ 34%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/NoiseSampler.cpp.o
[ 34%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/PaletteView.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/PaletteView.cpp:24:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
${src}/Sources/Client/PaletteView.cpp: In member function 'void spades::client::PaletteView::Draw()':
${src}/Sources/Client/PaletteView.cpp:163:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
if ((sel == i) != (phase == 1))
~~~~^~~~
${src}/Sources/Client/PaletteView.cpp:169:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
bool selected = sel == i;
~~~~^~~~
[ 34%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/ParticleSpriteEntity.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/ParticleSpriteEntity.h:24,
from ${src}/Sources/Client/ParticleSpriteEntity.cpp:21:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
[ 35%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/Player.cpp.o
${src}/Sources/Client/Player.cpp: In member function 'void spades::client::Player::FireWeapon()':
${src}/Sources/Client/Player.cpp:588:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
for (int i = 0; i < world->GetNumPlayerSlots(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/Client/Player.cpp: In member function 'void spades::client::Player::UseSpade()':
${src}/Sources/Client/Player.cpp:873:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
for (int i = 0; i < world->GetNumPlayerSlots(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/Client/Player.cpp: In member function 'bool spades::client::Player::IsReadyToUseTool()':
${src}/Sources/Client/Player.cpp:1406:3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
${src}/Sources/Client/Player.cpp: In member function 'bool spades::client::Player::IsToolSelectable(spades::client::Player::ToolType)':
${src}/Sources/Client/Player.cpp:1415:5: warning: control reaches end of non-void function [-Wreturn-type]
default: SPAssert(false);
^~~~~~~
[ 35%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/Quake3Font.cpp.o
[ 36%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/SceneDefinition.cpp.o
[ 36%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/ScoreboardView.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/ScoreboardView.cpp:27:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
${src}/Sources/Client/ScoreboardView.cpp: In member function 'void spades::client::ScoreboardView::DrawPlayers(int, float, float, float, float)':
${src}/Sources/Client/ScoreboardView.cpp:251:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
for (int i = 0; i < world->GetNumPlayerSlots(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/Client/ScoreboardView.cpp: In member function 'void spades::client::ScoreboardView::DrawSpectators(float, float) const':
${src}/Sources/Client/ScoreboardView.cpp:328:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
for (int i = 0; i < world->GetNumPlayerSlots(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/Client/ScoreboardView.cpp: In member function 'bool spades::client::ScoreboardView::areSpectatorsPresent() const':
${src}/Sources/Client/ScoreboardView.cpp:381:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
for (auto i = 0; i < client->GetWorld()->GetNumPlayerSlots(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ${src}/Sources/Client/ScoreboardView.cpp:40:
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(T ...) [with T = {const char*, const char*}]':
${src}/Sources/./Core/Strings.h:292:27: required from 'std::__cxx11::string spades::GetTextPlural(const string&, const string&, const string&, const string&, T ...) [with T = {const char*, const char*}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:309:24: required from 'std::__cxx11::string spades::CatalogDomainHandle::GetPlural(const string&, const string&, const string&, T ...) [with T = {const char*, const char*}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/Client/ScoreboardView.cpp:63:27: required from here
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#0' [-Wunused-parameter]
template <class... T> int CheckPlural(T... args) { return 1; }
~^~~~~~~~
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#1' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(int, T ...) [with T = {const char*}]':
${src}/Sources/./Core/Strings.h:292:27: required from 'std::__cxx11::string spades::GetTextPlural(const string&, const string&, const string&, const string&, T ...) [with T = {int, const char*}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:309:24: required from 'std::__cxx11::string spades::CatalogDomainHandle::GetPlural(const string&, const string&, const string&, T ...) [with T = {int, const char*}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/Client/ScoreboardView.cpp:352:11: required from here
${src}/Sources/./Core/Strings.h:264:48: warning: unused parameter 'args#0' [-Wunused-parameter]
template <class... T> int CheckPlural(int v, T... args) { return v; }
~^~~~~~~~
[ 36%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/SmokeSpriteEntity.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/SmokeSpriteEntity.cpp:23:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
[ 37%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/TCGameMode.cpp.o
[ 37%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/TCProgressView.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/TCProgressView.cpp:22:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
In file included from ${src}/Sources/Client/TCProgressView.cpp:28:
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:284:27: required from 'std::__cxx11::string spades::GetText(const string&, const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:304:18: required from 'std::__cxx11::string spades::CatalogDomainHandle::Get(const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/Client/TCProgressView.cpp:154:13: required from here
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#0' [-Wunused-parameter]
template <class... T> int CheckPlural(T... args) { return 1; }
~^~~~~~~~
[ 37%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/Tracer.cpp.o
In file included from ${src}/Sources/Client/Client.h:37,
from ${src}/Sources/Client/Tracer.cpp:10:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
In file included from ${src}/Sources/./Draw/SWFeatureLevel.h:57,
from ${src}/Sources/./Draw/SWRenderer.h:28,
from ${src}/Sources/Client/Tracer.cpp:12:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
${src}/Sources/Client/Tracer.cpp: In member function 'virtual void spades::client::Tracer::Render3D()':
${src}/Sources/Client/Tracer.cpp:61:13: warning: variable 'col' set but not used [-Wunused-but-set-variable]
Vector4 col = {1.f, .6f, .2f, 0.f};
^~~
[ 38%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/Weapon.cpp.o
${src}/Sources/Client/Weapon.cpp: In member function 'virtual int spades::client::RifleWeapon3::GetDamage(HitType, float)':
${src}/Sources/Client/Weapon.cpp:210:38: warning: unused parameter 'distance' [-Wunused-parameter]
int GetDamage(HitType type, float distance) override {
~~~~~~^~~~~~~~
${src}/Sources/Client/Weapon.cpp: In member function 'virtual int spades::client::SMGWeapon3::GetDamage(HitType, float)':
${src}/Sources/Client/Weapon.cpp:237:38: warning: unused parameter 'distance' [-Wunused-parameter]
int GetDamage(HitType type, float distance) override {
~~~~~~^~~~~~~~
${src}/Sources/Client/Weapon.cpp: In member function 'virtual int spades::client::ShotgunWeapon3::GetDamage(HitType, float)':
${src}/Sources/Client/Weapon.cpp:264:38: warning: unused parameter 'distance' [-Wunused-parameter]
int GetDamage(HitType type, float distance) override {
~~~~~~^~~~~~~~
${src}/Sources/Client/Weapon.cpp: In member function 'virtual int spades::client::RifleWeapon4::GetDamage(HitType, float)':
${src}/Sources/Client/Weapon.cpp:294:38: warning: unused parameter 'distance' [-Wunused-parameter]
int GetDamage(HitType type, float distance) override {
~~~~~~^~~~~~~~
${src}/Sources/Client/Weapon.cpp: In member function 'virtual int spades::client::SMGWeapon4::GetDamage(HitType, float)':
${src}/Sources/Client/Weapon.cpp:327:38: warning: unused parameter 'distance' [-Wunused-parameter]
int GetDamage(HitType type, float distance) override {
~~~~~~^~~~~~~~
${src}/Sources/Client/Weapon.cpp: In member function 'virtual int spades::client::ShotgunWeapon4::GetDamage(HitType, float)':
${src}/Sources/Client/Weapon.cpp:355:38: warning: unused parameter 'distance' [-Wunused-parameter]
int GetDamage(HitType type, float distance) override {
~~~~~~^~~~~~~~
[ 38%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Client/World.cpp.o
${src}/Sources/Client/World.cpp: In member function 'std::vector<spades::IntVector3> spades::client::World::CubeLine(spades::IntVector3, spades::IntVector3, int)':
${src}/Sources/Client/World.cpp:424:30: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
if ((unsigned long)c.x >= VSID)
~~~~~~~~~~~~~~~~~~~^~~~~~~
${src}/Sources/Client/World.cpp:429:30: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
if ((unsigned long)c.y >= VSID)
~~~~~~~~~~~~~~~~~~~^~~~~~~
[ 39%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/AudioStream.cpp.o
[ 39%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/AutoLocker.cpp.o
[ 39%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/Bitmap.cpp.o
[ 40%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/BitmapAtlasGenerator.cpp.o
In file included from ${src}/Sources/Core/BitmapAtlasGenerator.cpp:23:
${src}/Sources/./binpack2d/binpack2d.hpp: In instantiation of 'BinPack2D::Content<_T>::Content(const _T&, const BinPack2D::Coord&, const BinPack2D::Size&, bool) [with _T = spades::BitmapAtlasGenerator::Item]':
${src}/Sources/Core/BitmapAtlasGenerator.cpp:95:74: required from here
${src}/Sources/./binpack2d/binpack2d.hpp:218:16: warning: 'BinPack2D::Content<spades::BitmapAtlasGenerator::Item>::content' will be initialized after [-Wreorder]
/*const*/ _T content;
^~~~~~~
${src}/Sources/./binpack2d/binpack2d.hpp:216:19: warning: 'BinPack2D::Coord BinPack2D::Content<spades::BitmapAtlasGenerator::Item>::coord' [-Wreorder]
/*const*/ Coord coord;
^~~~~
${src}/Sources/./binpack2d/binpack2d.hpp:227:3: warning: when initialized here [-Wreorder]
Content( const _T &content, const Coord &coord, const Size &size, bool rotated )
^~~~~~~
${src}/Sources/./binpack2d/binpack2d.hpp:217:19: warning: 'BinPack2D::Content<spades::BitmapAtlasGenerator::Item>::size' will be initialized after [-Wreorder]
/*const*/ Size size;
^~~~
${src}/Sources/./binpack2d/binpack2d.hpp:215:18: warning: 'bool BinPack2D::Content<spades::BitmapAtlasGenerator::Item>::rotated' [-Wreorder]
/*const*/ bool rotated;
^~~~~~~
${src}/Sources/./binpack2d/binpack2d.hpp:227:3: warning: when initialized here [-Wreorder]
Content( const _T &content, const Coord &coord, const Size &size, bool rotated )
^~~~~~~
[ 40%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/CP437.cpp.o
[ 40%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/ConcurrentDispatch.cpp.o
In file included from ${src}/Sources/Core/ConcurrentDispatch.cpp:43:
${src}/Sources/Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 41%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/CpuID.cpp.o
${src}/Sources/Core/CpuID.cpp: In constructor 'spades::CpuID::CpuID()':
${src}/Sources/Core/CpuID.cpp:28:12: warning: variable 'maxStdLevel' set but not used [-Wunused-but-set-variable]
uint32_t maxStdLevel;
^~~~~~~~~~~
${src}/Sources/Core/CpuID.cpp: In member function 'bool spades::CpuID::Supports(spades::CpuFeature)':
${src}/Sources/Core/CpuID.cpp:79:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
[ 41%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/Debug.cpp.o
[ 42%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/DeflateStream.cpp.o
In file included from ${src}/Sources/./Core/Debug.h:25,
from ${src}/Sources/Core/DeflateStream.cpp:23:
${src}/Sources/Core/DeflateStream.cpp: In destructor 'virtual spades::DeflateStream::~DeflateStream()':
${src}/Sources/./Core/Exception.h:45:86: warning: throw will always call terminate() [-Wterminate]
#define SPRaise(fmt, val...) throw ::spades::Exception(__FILE__, __LINE__, fmt, ##val)
^
${src}/Sources/./Core/Exception.h:60:25: note: in expansion of macro 'SPRaise'
#define SPUnreachable() SPRaise("Internal error; unreachable code")
^~~~~~~
${src}/Sources/Core/DeflateStream.cpp:69:5: note: in expansion of macro 'SPUnreachable'
SPUnreachable();
^~~~~~~~~~~~~
${src}/Sources/./Core/Exception.h:45:86: note: in C++11 destructors default to noexcept
#define SPRaise(fmt, val...) throw ::spades::Exception(__FILE__, __LINE__, fmt, ##val)
^
${src}/Sources/./Core/Exception.h:60:25: note: in expansion of macro 'SPRaise'
#define SPUnreachable() SPRaise("Internal error; unreachable code")
^~~~~~~
${src}/Sources/Core/DeflateStream.cpp:69:5: note: in expansion of macro 'SPUnreachable'
SPUnreachable();
^~~~~~~~~~~~~
${src}/Sources/Core/DeflateStream.cpp: In member function 'virtual void spades::DeflateStream::SetPosition(uint64_t)':
${src}/Sources/Core/DeflateStream.cpp:279:43: warning: unused parameter 'pos' [-Wunused-parameter]
void DeflateStream::SetPosition(uint64_t pos) {
~~~~~~~~~^~~
[ 42%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/Deque.cpp.o
[ 42%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/DirectoryFileSystem.cpp.o
[ 43%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/DynamicLibrary.cpp.o
[ 43%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/DynamicMemoryStream.cpp.o
[ 43%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/Exception.cpp.o
[ 44%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/FileManager.cpp.o
[ 44%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/FltkPreferenceImporter.cpp.o
[ 45%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/IAudioStream.cpp.o
[ 45%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/IBitmapCodec.cpp.o
[ 45%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/IFileSystem.cpp.o
[ 46%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/ILockable.cpp.o
[ 46%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/IRunnable.cpp.o
[ 46%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/IStream.cpp.o
${src}/Sources/Core/IStream.cpp: In member function 'virtual void spades::IStream::SetPosition(uint64_t)':
${src}/Sources/Core/IStream.cpp:89:37: warning: unused parameter 'pos' [-Wunused-parameter]
void IStream::SetPosition(uint64_t pos) { SPUnsupported(); }
~~~~~~~~~^~~
[ 47%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/JpegWriter.cpp.o
${src}/Sources/Core/JpegWriter.cpp: In member function 'virtual spades::Bitmap* spades::JpegWriter::Load(spades::IStream*)':
${src}/Sources/Core/JpegWriter.cpp:66:25: warning: unused parameter 'str' [-Wunused-parameter]
Bitmap *Load(IStream *str) override {
~~~~~~~~~^~~
[ 47%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/Math.cpp.o
[ 48%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/MemoryStream.cpp.o
${src}/Sources/Core/MemoryStream.cpp: In member function 'virtual void spades::MemoryStream::SetLength(uint64_t)':
${src}/Sources/Core/MemoryStream.cpp:111:40: warning: unused parameter 'len' [-Wunused-parameter]
void MemoryStream::SetLength(uint64_t len) {
~~~~~~~~~^~~
[ 48%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/MiniHeap.cpp.o
[ 48%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/Mutex.cpp.o
[ 49%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/OpusAudioStream.cpp.o
${src}/Sources/Core/OpusAudioStream.cpp: In member function 'virtual size_t spades::OpusAudioStream::Read(void*, size_t)':
${src}/Sources/Core/OpusAudioStream.cpp:171:25: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
while (remainingBytes >= channels * 4) {
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
[ 49%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/PngWriter.cpp.o
${src}/Sources/Core/PngWriter.cpp: In member function 'virtual spades::Bitmap* spades::PngWriter::Load(spades::IStream*)':
${src}/Sources/Core/PngWriter.cpp:55:25: warning: unused parameter 'str' [-Wunused-parameter]
Bitmap *Load(IStream *str) override {
~~~~~~~~~^~~
[ 49%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/RefCountedObject.cpp.o
[ 50%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/SdlFileStream.cpp.o
${src}/Sources/Core/SdlFileStream.cpp: In member function 'virtual void spades::SdlFileStream::SetLength(uint64_t)':
${src}/Sources/Core/SdlFileStream.cpp:106:41: warning: unused parameter 'len' [-Wunused-parameter]
void SdlFileStream::SetLength(uint64_t len) {
~~~~~~~~~^~~
[ 50%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/SdlImageReader.cpp.o
[ 51%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/Semaphore.cpp.o
[ 51%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/ServerAddress.cpp.o
[ 51%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/SettingSet.cpp.o
[ 52%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/Settings.cpp.o
[ 52%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/ShellApi.cpp.o
[ 52%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/StdStream.cpp.o
[ 53%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/Stopwatch.cpp.o
[ 53%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/Strings.cpp.o
[ 53%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/TargaReader.cpp.o
${src}/Sources/Core/TargaReader.cpp: In member function 'virtual spades::Bitmap* spades::TargaReader::Load(spades::IStream*)':
${src}/Sources/Core/TargaReader.cpp:152:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
for (column = 0; column < columns; column++) {
~~~~~~~^~~~~~~~~
${src}/Sources/Core/TargaReader.cpp:197:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
for (column = 0; column < columns;) {
~~~~~~~^~~~~~~~~
${src}/Sources/Core/TargaReader.cpp:230:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
if (column == columns) { // run spans across rows
~~~~~~~^~~~~~~~~~
${src}/Sources/Core/TargaReader.cpp:270:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
if (column == columns) { // pixel packet run spans across rows
~~~~~~~^~~~~~~~~~
${src}/Sources/Core/TargaReader.cpp: In member function 'virtual void spades::TargaReader::Save(spades::IStream*, spades::Bitmap*)':
${src}/Sources/Core/TargaReader.cpp:316:22: warning: unused parameter 'stream' [-Wunused-parameter]
void Save(IStream *stream, Bitmap *bmp) override {
~~~~~~~~~^~~~~~
${src}/Sources/Core/TargaReader.cpp:316:38: warning: unused parameter 'bmp' [-Wunused-parameter]
void Save(IStream *stream, Bitmap *bmp) override {
~~~~~~~~^~~
[ 54%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/TargaWriter.cpp.o
${src}/Sources/Core/TargaWriter.cpp:368:5: warning: multi-line comment [-Wcomment]
//{ if (fread(&(dest), 2, 1, fp) != 1) BARF(TGAERR_EOF); \
^
${src}/Sources/Core/TargaWriter.cpp: In member function 'virtual spades::Bitmap* spades::TargaWriter::Load(spades::IStream*)':
${src}/Sources/Core/TargaWriter.cpp:1303:31: warning: unused parameter 'str' [-Wunused-parameter]
Bitmap *Load(IStream *str) override {
~~~~~~~~~^~~
${src}/Sources/Core/TargaWriter.cpp: In function 'tga_result tga_desaturate(tga_image*, int, int, int, int)':
${src}/Sources/Core/TargaWriter.cpp:1126:29: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
(int)r * cr ) / dv );
^~~~~~
${src}/Sources/Core/TargaWriter.cpp:1125:29: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized]
(int)g * cg +
^~~~~~
${src}/Sources/Core/TargaWriter.cpp:1124:30: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
*dest = (uint8_t)( ( (int)b * cb +
^~~~~~
${src}/Sources/Core/TargaWriter.cpp: In function 'tga_result tga_desaturate_rec_601_1(tga_image*)':
${src}/Sources/Core/TargaWriter.cpp:1126:29: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
(int)r * cr ) / dv );
^~~~~~
${src}/Sources/Core/TargaWriter.cpp:1121:23: note: 'r' was declared here
uint8_t b, g, r;
^
${src}/Sources/Core/TargaWriter.cpp:1125:29: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized]
(int)g * cg +
^~~~~~
${src}/Sources/Core/TargaWriter.cpp:1121:20: note: 'g' was declared here
uint8_t b, g, r;
^
${src}/Sources/Core/TargaWriter.cpp:1124:30: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
*dest = (uint8_t)( ( (int)b * cb +
^~~~~~
${src}/Sources/Core/TargaWriter.cpp:1121:17: note: 'b' was declared here
uint8_t b, g, r;
^
${src}/Sources/Core/TargaWriter.cpp: In function 'tga_result tga_desaturate_rec_709(tga_image*)':
${src}/Sources/Core/TargaWriter.cpp:1126:29: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
(int)r * cr ) / dv );
^~~~~~
${src}/Sources/Core/TargaWriter.cpp:1121:23: note: 'r' was declared here
uint8_t b, g, r;
^
${src}/Sources/Core/TargaWriter.cpp:1125:29: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized]
(int)g * cg +
^~~~~~
${src}/Sources/Core/TargaWriter.cpp:1121:20: note: 'g' was declared here
uint8_t b, g, r;
^
${src}/Sources/Core/TargaWriter.cpp:1124:30: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
*dest = (uint8_t)( ( (int)b * cb +
^~~~~~
${src}/Sources/Core/TargaWriter.cpp:1121:17: note: 'b' was declared here
uint8_t b, g, r;
^
${src}/Sources/Core/TargaWriter.cpp: In function 'tga_result tga_desaturate_itu(tga_image*)':
${src}/Sources/Core/TargaWriter.cpp:1126:29: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
(int)r * cr ) / dv );
^~~~~~
${src}/Sources/Core/TargaWriter.cpp:1121:23: note: 'r' was declared here
uint8_t b, g, r;
^
${src}/Sources/Core/TargaWriter.cpp:1125:29: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized]
(int)g * cg +
^~~~~~
${src}/Sources/Core/TargaWriter.cpp:1121:20: note: 'g' was declared here
uint8_t b, g, r;
^
${src}/Sources/Core/TargaWriter.cpp:1124:30: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
*dest = (uint8_t)( ( (int)b * cb +
^~~~~~
${src}/Sources/Core/TargaWriter.cpp:1121:17: note: 'b' was declared here
uint8_t b, g, r;
^
${src}/Sources/Core/TargaWriter.cpp: In function 'tga_result tga_desaturate_avg(tga_image*)':
${src}/Sources/Core/TargaWriter.cpp:1126:29: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
(int)r * cr ) / dv );
^~~~~~
${src}/Sources/Core/TargaWriter.cpp:1121:23: note: 'r' was declared here
uint8_t b, g, r;
^
${src}/Sources/Core/TargaWriter.cpp:1125:29: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized]
(int)g * cg +
^~~~~~
${src}/Sources/Core/TargaWriter.cpp:1121:20: note: 'g' was declared here
uint8_t b, g, r;
^
${src}/Sources/Core/TargaWriter.cpp:1124:30: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
*dest = (uint8_t)( ( (int)b * cb +
^~~~~~
${src}/Sources/Core/TargaWriter.cpp:1121:17: note: 'b' was declared here
uint8_t b, g, r;
^
${src}/Sources/Core/TargaWriter.cpp: In function 'tga_result tga_convert_depth(tga_image*, uint8_t)':
${src}/Sources/Core/TargaWriter.cpp:1065:21: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
dest[3] = a;
~~~~~~~~^~~
${src}/Sources/Core/TargaWriter.cpp:1225:27: note: 'a' was declared here
uint8_t r,g,b,a;
^
${src}/Sources/Core/TargaWriter.cpp:1081:30: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
tmp |= ((r >> 3) & FIVE_BITS) << 10;
~~~~~~~~~~^~~~~~~~~~~~
${src}/Sources/Core/TargaWriter.cpp:1225:25: note: 'b' was declared here
uint8_t r,g,b,a;
^
${src}/Sources/Core/TargaWriter.cpp:1080:30: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized]
tmp |= ((g >> 3) & FIVE_BITS) << 5;
~~~~~~~~~~^~~~~~~~~~~~
${src}/Sources/Core/TargaWriter.cpp:1225:23: note: 'g' was declared here
uint8_t r,g,b,a;
^
${src}/Sources/Core/TargaWriter.cpp:1079:30: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
tmp = (b >> 3) & FIVE_BITS;
^
${src}/Sources/Core/TargaWriter.cpp:1225:21: note: 'r' was declared here
uint8_t r,g,b,a;
^
${src}/Sources/Core/TargaWriter.cpp:1065:21: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
dest[3] = a;
~~~~~~~~^~~
${src}/Sources/Core/TargaWriter.cpp:1200:27: note: 'a' was declared here
uint8_t r,g,b,a;
^
${src}/Sources/Core/TargaWriter.cpp:1081:30: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
tmp |= ((r >> 3) & FIVE_BITS) << 10;
~~~~~~~~~~^~~~~~~~~~~~
${src}/Sources/Core/TargaWriter.cpp:1200:25: note: 'b' was declared here
uint8_t r,g,b,a;
^
${src}/Sources/Core/TargaWriter.cpp:1080:30: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized]
tmp |= ((g >> 3) & FIVE_BITS) << 5;
~~~~~~~~~~^~~~~~~~~~~~
${src}/Sources/Core/TargaWriter.cpp:1200:23: note: 'g' was declared here
uint8_t r,g,b,a;
^
${src}/Sources/Core/TargaWriter.cpp:1079:30: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
tmp = (b >> 3) & FIVE_BITS;
^
${src}/Sources/Core/TargaWriter.cpp:1200:21: note: 'r' was declared here
uint8_t r,g,b,a;
^
${src}/Sources/Core/TargaWriter.cpp: In function 'tga_result tga_swap_red_blue(tga_image*)':
${src}/Sources/Core/TargaWriter.cpp:1082:13: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (a > 127) tmp |= BIT(15);
^~
${src}/Sources/Core/TargaWriter.cpp:1252:23: note: 'a' was declared here
uint8_t r,g,b,a;
^
${src}/Sources/Core/TargaWriter.cpp:1081:30: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
tmp |= ((r >> 3) & FIVE_BITS) << 10;
~~~~~~~~~~^~~~~~~~~~~~
${src}/Sources/Core/TargaWriter.cpp:1252:21: note: 'b' was declared here
uint8_t r,g,b,a;
^
${src}/Sources/Core/TargaWriter.cpp:1080:30: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized]
tmp |= ((g >> 3) & FIVE_BITS) << 5;
~~~~~~~~~~^~~~~~~~~~~~
${src}/Sources/Core/TargaWriter.cpp:1252:19: note: 'g' was declared here
uint8_t r,g,b,a;
^
${src}/Sources/Core/TargaWriter.cpp:1079:30: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
tmp = (b >> 3) & FIVE_BITS;
^
${src}/Sources/Core/TargaWriter.cpp:1252:17: note: 'r' was declared here
uint8_t r,g,b,a;
^
${src}/Sources/Core/TargaWriter.cpp: In member function 'virtual void spades::TargaWriter::Save(spades::IStream*, spades::Bitmap*)':
${src}/Sources/Core/TargaWriter.cpp:1082:13: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (a > 127) tmp |= BIT(15);
^~
${src}/Sources/Core/TargaWriter.cpp:1252:23: note: 'a' was declared here
uint8_t r,g,b,a;
^
${src}/Sources/Core/TargaWriter.cpp:1081:30: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
tmp |= ((r >> 3) & FIVE_BITS) << 10;
~~~~~~~~~~^~~~~~~~~~~~
${src}/Sources/Core/TargaWriter.cpp:1252:21: note: 'b' was declared here
uint8_t r,g,b,a;
^
${src}/Sources/Core/TargaWriter.cpp:1080:30: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized]
tmp |= ((g >> 3) & FIVE_BITS) << 5;
~~~~~~~~~~^~~~~~~~~~~~
${src}/Sources/Core/TargaWriter.cpp:1252:19: note: 'g' was declared here
uint8_t r,g,b,a;
^
${src}/Sources/Core/TargaWriter.cpp:1079:30: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
tmp = (b >> 3) & FIVE_BITS;
^
${src}/Sources/Core/TargaWriter.cpp:1252:17: note: 'r' was declared here
uint8_t r,g,b,a;
^
[ 54%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/Thread.cpp.o
In file included from ${src}/Sources/Core/Thread.cpp:26:
${src}/Sources/Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 55%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/ThreadLocalStorage.cpp.o
[ 55%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/VersionInfo.cpp.o
[ 55%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/VoxelModel.cpp.o
[ 56%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/WavAudioStream.cpp.o
[ 56%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/ZipFileSystem.cpp.o
${src}/Sources/Core/ZipFileSystem.cpp: In member function 'virtual void spades::ZipFileSystem::ZipFileInputStream::Write(const void*, size_t)':
${src}/Sources/Core/ZipFileSystem.cpp:139:35: warning: unused parameter 'bytes' [-Wunused-parameter]
void Write(const void *, size_t bytes) override {
~~~~~~~^~~~~
${src}/Sources/Core/ZipFileSystem.cpp: In static member function 'static spades::ZipFileSystem::ZipFileHandle* spades::ZipFileSystem::InternalOpen(spades::ZipFileSystem*, const char*, int)':
${src}/Sources/Core/ZipFileSystem.cpp:226:72: warning: unused parameter 'fn' [-Wunused-parameter]
const char *fn, int mode) {
~~~~~~~~~~~~^~
${src}/Sources/Core/ZipFileSystem.cpp:226:80: warning: unused parameter 'mode' [-Wunused-parameter]
const char *fn, int mode) {
~~~~^~~~
${src}/Sources/Core/ZipFileSystem.cpp: In static member function 'static uint32_t spades::ZipFileSystem::InternalRead(spades::ZipFileSystem*, spades::ZipFileSystem::ZipFileHandle*, void*, uint32_t)':
${src}/Sources/Core/ZipFileSystem.cpp:231:62: warning: unused parameter 'fs' [-Wunused-parameter]
uint32_t ZipFileSystem::InternalRead(spades::ZipFileSystem *fs,
~~~~~~~~~~~~~~~~~~~~~~~^~
${src}/Sources/Core/ZipFileSystem.cpp: In static member function 'static uint32_t spades::ZipFileSystem::InternalWrite(spades::ZipFileSystem*, spades::ZipFileSystem::ZipFileHandle*, void*, uint32_t)':
${src}/Sources/Core/ZipFileSystem.cpp:238:63: warning: unused parameter 'fs' [-Wunused-parameter]
uint32_t ZipFileSystem::InternalWrite(spades::ZipFileSystem *fs,
~~~~~~~~~~~~~~~~~~~~~~~^~
${src}/Sources/Core/ZipFileSystem.cpp: In static member function 'static long int spades::ZipFileSystem::InternalTell(spades::ZipFileSystem*, spades::ZipFileSystem::ZipFileHandle*)':
${src}/Sources/Core/ZipFileSystem.cpp:245:58: warning: unused parameter 'fs' [-Wunused-parameter]
long ZipFileSystem::InternalTell(spades::ZipFileSystem *fs,
~~~~~~~~~~~~~~~~~~~~~~~^~
${src}/Sources/Core/ZipFileSystem.cpp: In static member function 'static long int spades::ZipFileSystem::InternalSeek(spades::ZipFileSystem*, spades::ZipFileSystem::ZipFileHandle*, int32_t, int)':
${src}/Sources/Core/ZipFileSystem.cpp:251:58: warning: unused parameter 'fs' [-Wunused-parameter]
long ZipFileSystem::InternalSeek(spades::ZipFileSystem *fs,
~~~~~~~~~~~~~~~~~~~~~~~^~
${src}/Sources/Core/ZipFileSystem.cpp: In static member function 'static int spades::ZipFileSystem::InternalClose(spades::ZipFileSystem*, spades::ZipFileSystem::ZipFileHandle*)':
${src}/Sources/Core/ZipFileSystem.cpp:258:58: warning: unused parameter 'fs' [-Wunused-parameter]
int ZipFileSystem::InternalClose(spades::ZipFileSystem *fs,
~~~~~~~~~~~~~~~~~~~~~~~^~
${src}/Sources/Core/ZipFileSystem.cpp: In static member function 'static int spades::ZipFileSystem::InternalTestError(spades::ZipFileSystem*, spades::ZipFileSystem::ZipFileHandle*)':
${src}/Sources/Core/ZipFileSystem.cpp:265:62: warning: unused parameter 'fs' [-Wunused-parameter]
int ZipFileSystem::InternalTestError(spades::ZipFileSystem *fs,
~~~~~~~~~~~~~~~~~~~~~~~^~
${src}/Sources/Core/ZipFileSystem.cpp: In member function 'virtual spades::IStream* spades::ZipFileSystem::OpenForWriting(const char*)':
${src}/Sources/Core/ZipFileSystem.cpp:375:53: warning: unused parameter 'fn' [-Wunused-parameter]
IStream *ZipFileSystem::OpenForWriting(const char *fn) {
~~~~~~~~~~~~^~
[ 56%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Core/jpge.cpp.o
[ 57%] Building C object Sources/CMakeFiles/OpenSpades.dir/Core/pnglite.c.o
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C
${src}/Sources/Core/pnglite.c: In function 'png_filter_up':
${src}/Sources/Core/pnglite.c:613:31: warning: unused parameter 'stride' [-Wunused-parameter]
static void png_filter_up(int stride, unsigned char* in, unsigned char* out, unsigned char* prev_line, int len)
~~~~^~~~~~
${src}/Sources/Core/pnglite.c: In function 'png_filter':
${src}/Sources/Core/pnglite.c:701:30: warning: unused parameter 'png' [-Wunused-parameter]
static int png_filter(png_t* png, unsigned char* data)
~~~~~~~^~~
${src}/Sources/Core/pnglite.c:701:50: warning: unused parameter 'data' [-Wunused-parameter]
static int png_filter(png_t* png, unsigned char* data)
~~~~~~~~~~~~~~~^~~~
${src}/Sources/Core/pnglite.c: In function 'png_set_data':
${src}/Sources/Core/pnglite.c:816:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
for(i = 0; i < png->height; i++)
^
${src}/Sources/Core/pnglite.c: In function 'png_get_data':
${src}/Sources/Core/pnglite.c:433:19: warning: 'length' may be used uninitialized in this function [-Wmaybe-uninitialized]
stream->avail_in = len;
~~~~~~~~~~~~~~~~~^~~~~
${src}/Sources/Core/pnglite.c:560:11: note: 'length' was declared here
unsigned length;
^~~~~~
[ 57%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLAmbientShadowRenderer.cpp.o
In file included from ${src}/Sources/Draw/GLAmbientShadowRenderer.cpp:29:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 58%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLAutoExposureFilter.cpp.o
[ 58%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLBasicShadowMapRenderer.cpp.o
[ 58%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLBloomFilter.cpp.o
[ 59%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLCameraBlurFilter.cpp.o
[ 59%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLColorCorrectionFilter.cpp.o
[ 59%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLDepthOfFieldFilter.cpp.o
[ 60%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLDynamicLight.cpp.o
[ 60%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLDynamicLightShader.cpp.o
[ 61%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLFXAAFilter.cpp.o
[ 61%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLFlatMapRenderer.cpp.o
${src}/Sources/Draw/GLFlatMapRenderer.cpp: In member function 'void spades::draw::GLFlatMapRenderer::GameMapChanged(int, int, int, spades::client::GameMap*)':
${src}/Sources/Draw/GLFlatMapRenderer.cpp:82:60: warning: unused parameter 'z' [-Wunused-parameter]
void GLFlatMapRenderer::GameMapChanged(int x, int y, int z, client::GameMap *map) {
~~~~^
[ 61%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLFogFilter.cpp.o
[ 62%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLFramebufferManager.cpp.o
[ 62%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLImage.cpp.o
In file included from ${src}/Sources/Draw/GLImage.cpp:21:
${src}/Sources/Draw/GLImage.h: In constructor 'spades::draw::GLImage::GLImage(spades::draw::IGLDevice::UInteger, spades::draw::IGLDevice*, float, float, bool)':
${src}/Sources/Draw/GLImage.h:32:24: warning: 'spades::draw::GLImage::tex' will be initialized after [-Wreorder]
IGLDevice::UInteger tex;
^~~
${src}/Sources/Draw/GLImage.h:31:15: warning: 'spades::draw::IGLDevice* spades::draw::GLImage::device' [-Wreorder]
IGLDevice *device;
^~~~~~
${src}/Sources/Draw/GLImage.cpp:27:3: warning: when initialized here [-Wreorder]
GLImage::GLImage(IGLDevice::UInteger texObj, IGLDevice *dev, float w, float h,
^~~~~~~
In file included from ${src}/Sources/Draw/GLImage.cpp:21:
${src}/Sources/Draw/GLImage.h:35:9: warning: 'spades::draw::GLImage::autoDelete' will be initialized after [-Wreorder]
bool autoDelete;
^~~~~~~~~~
${src}/Sources/Draw/GLImage.h:34:10: warning: 'float spades::draw::GLImage::invWidth' [-Wreorder]
float invWidth, invHeight;
^~~~~~~~
${src}/Sources/Draw/GLImage.cpp:27:3: warning: when initialized here [-Wreorder]
GLImage::GLImage(IGLDevice::UInteger texObj, IGLDevice *dev, float w, float h,
^~~~~~~
[ 62%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLImageManager.cpp.o
[ 63%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLImageRenderer.cpp.o
[ 63%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLLensDustFilter.cpp.o
[ 64%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLLensFilter.cpp.o
[ 64%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLLensFlareFilter.cpp.o
[ 64%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLLongSpriteRenderer.cpp.o
In file included from ${src}/Sources/Draw/SWFeatureLevel.h:57,
from ${src}/Sources/Draw/GLLongSpriteRenderer.cpp:27:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 65%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLMapChunk.cpp.o
[ 65%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLMapRenderer.cpp.o
${src}/Sources/Draw/GLMapRenderer.cpp: In member function 'void spades::draw::GLMapRenderer::GameMapChanged(int, int, int, spades::client::GameMap*)':
${src}/Sources/Draw/GLMapRenderer.cpp:95:76: warning: unused parameter 'map' [-Wunused-parameter]
void GLMapRenderer::GameMapChanged(int x, int y, int z, client::GameMap *map) {
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/Draw/GLMapRenderer.cpp: In member function 'void spades::draw::GLMapRenderer::DrawColumnDepth(int, int, int, spades::Vector3)':
${src}/Sources/Draw/GLMapRenderer.cpp:391:79: warning: unused parameter 'eye' [-Wunused-parameter]
void GLMapRenderer::DrawColumnDepth(int cx, int cy, int cz, spades::Vector3 eye) {
~~~~~~~~~~~~~~~~^~~
${src}/Sources/Draw/GLMapRenderer.cpp: In member function 'void spades::draw::GLMapRenderer::DrawColumnSunlight(int, int, int, spades::Vector3)':
${src}/Sources/Draw/GLMapRenderer.cpp:399:82: warning: unused parameter 'eye' [-Wunused-parameter]
void GLMapRenderer::DrawColumnSunlight(int cx, int cy, int cz, spades::Vector3 eye) {
~~~~~~~~~~~~~~~~^~~
${src}/Sources/Draw/GLMapRenderer.cpp: In member function 'void spades::draw::GLMapRenderer::DrawColumnDLight(int, int, int, spades::Vector3, const std::vector<spades::draw::GLDynamicLight>&)':
${src}/Sources/Draw/GLMapRenderer.cpp:408:80: warning: unused parameter 'eye' [-Wunused-parameter]
void GLMapRenderer::DrawColumnDLight(int cx, int cy, int cz, spades::Vector3 eye,
~~~~~~~~~~~~~~~~^~~
[ 65%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLMapShadowRenderer.cpp.o
${src}/Sources/Draw/GLMapShadowRenderer.cpp: In member function 'void spades::draw::GLMapShadowRenderer::GameMapChanged(int, int, int, spades::client::GameMap*)':
${src}/Sources/Draw/GLMapShadowRenderer.cpp:225:82: warning: unused parameter 'm' [-Wunused-parameter]
void GLMapShadowRenderer::GameMapChanged(int x, int y, int z, client::GameMap *m) {
~~~~~~~~~~~~~~~~~^
[ 66%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLModel.cpp.o
[ 66%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLModelManager.cpp.o
[ 67%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLModelRenderer.cpp.o
In file included from ${src}/Sources/Draw/GLModelRenderer.cpp:21:
${src}/Sources/Draw/GLModelRenderer.h: In constructor 'spades::draw::GLModelRenderer::GLModelRenderer(spades::draw::GLRenderer*)':
${src}/Sources/Draw/GLModelRenderer.h:39:15: warning: 'spades::draw::GLModelRenderer::device' will be initialized after [-Wreorder]
IGLDevice *device;
^~~~~~
${src}/Sources/Draw/GLModelRenderer.h:38:16: warning: 'spades::draw::GLRenderer* spades::draw::GLModelRenderer::renderer' [-Wreorder]
GLRenderer *renderer;
^~~~~~~~
${src}/Sources/Draw/GLModelRenderer.cpp:29:3: warning: when initialized here [-Wreorder]
GLModelRenderer::GLModelRenderer(GLRenderer *r) : device(r->GetGLDevice()), renderer(r) {
^~~~~~~~~~~~~~~
[ 67%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLNonlinearizeFilter.cpp.o
[ 67%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLOptimizedVoxelModel.cpp.o
[ 68%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLProfiler.cpp.o
[ 68%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLProgram.cpp.o
[ 68%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLProgramAttribute.cpp.o
[ 69%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLProgramManager.cpp.o
In file included from ${src}/Sources/Draw/GLProgramManager.cpp:21:
${src}/Sources/Draw/GLProgramManager.h: In constructor 'spades::draw::GLProgramManager::GLProgramManager(spades::draw::IGLDevice*, spades::draw::IGLShadowMapRenderer*, spades::draw::GLSettings&)':
${src}/Sources/Draw/GLProgramManager.h:35:26: warning: 'spades::draw::GLProgramManager::shadowMapRenderer' will be initialized after [-Wreorder]
IGLShadowMapRenderer *shadowMapRenderer;
^~~~~~~~~~~~~~~~~
${src}/Sources/Draw/GLProgramManager.h:34:16: warning: 'spades::draw::GLSettings& spades::draw::GLProgramManager::settings' [-Wreorder]
GLSettings &settings;
^~~~~~~~
${src}/Sources/Draw/GLProgramManager.cpp:37:3: warning: when initialized here [-Wreorder]
GLProgramManager::GLProgramManager(IGLDevice *d, IGLShadowMapRenderer *smr,
^~~~~~~~~~~~~~~~
[ 69%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLProgramUniform.cpp.o
[ 70%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLQuadRenderer.cpp.o
[ 70%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLRadiosityRenderer.cpp.o
In file included from ${src}/Sources/Draw/GLRadiosityRenderer.cpp:29:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 70%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLRenderer.cpp.o
[ 71%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLSSAOFilter.cpp.o
[ 71%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLSettings.cpp.o
[ 71%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLShader.cpp.o
[ 72%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLShadowMapShader.cpp.o
[ 72%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLShadowShader.cpp.o
[ 73%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLSoftLitSpriteRenderer.cpp.o
In file included from ${src}/Sources/Draw/SWFeatureLevel.h:57,
from ${src}/Sources/Draw/GLSoftLitSpriteRenderer.cpp:32:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 73%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLSoftSpriteRenderer.cpp.o
In file included from ${src}/Sources/Draw/SWFeatureLevel.h:57,
from ${src}/Sources/Draw/GLSoftSpriteRenderer.cpp:30:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 73%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLSparseShadowMapRenderer.cpp.o
${src}/Sources/Draw/GLSparseShadowMapRenderer.cpp: In member function 'virtual bool spades::draw::GLSparseShadowMapRenderer::SphereCull(const spades::Vector3&, float)':
${src}/Sources/Draw/GLSparseShadowMapRenderer.cpp:810:69: warning: unused parameter 'center' [-Wunused-parameter]
bool GLSparseShadowMapRenderer::SphereCull(const spades::Vector3 ¢er, float rad) {
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
${src}/Sources/Draw/GLSparseShadowMapRenderer.cpp:810:83: warning: unused parameter 'rad' [-Wunused-parameter]
bool GLSparseShadowMapRenderer::SphereCull(const spades::Vector3 ¢er, float rad) {
~~~~~~^~~
[ 74%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLSpriteRenderer.cpp.o
In file included from ${src}/Sources/Draw/SWFeatureLevel.h:57,
from ${src}/Sources/Draw/GLSpriteRenderer.cpp:27:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 74%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLVoxelModel.cpp.o
[ 74%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/GLWaterRenderer.cpp.o
In file included from ${src}/Sources/Draw/GLWaterRenderer.cpp:27:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 75%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/IGLDevice.cpp.o
[ 75%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/IGLShadowMapRenderer.cpp.o
[ 76%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/IGLSpriteRenderer.cpp.o
[ 76%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/SWFeatureLevel.cpp.o
In file included from ${src}/Sources/Draw/SWFeatureLevel.h:57,
from ${src}/Sources/Draw/SWFeatureLevel.cpp:21:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 76%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/SWFlatMapRenderer.cpp.o
In file included from ${src}/Sources/Draw/SWFeatureLevel.h:57,
from ${src}/Sources/Draw/SWMapRenderer.h:26,
from ${src}/Sources/Draw/SWFlatMapRenderer.cpp:25:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 77%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/SWImage.cpp.o
[ 77%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/SWImageRenderer.cpp.o
In file included from ${src}/Sources/Draw/SWFeatureLevel.h:57,
from ${src}/Sources/Draw/SWImageRenderer.h:23,
from ${src}/Sources/Draw/SWImageRenderer.cpp:21:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
${src}/Sources/Draw/SWImageRenderer.cpp: In instantiation of 'static void spades::draw::SWImageRenderer::PolygonRenderer2<<anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&, spades::draw::SWFeatureLevel) [with bool needTransform = true; bool ndc = true; bool depthTest = true; bool lerp = true]':
${src}/Sources/Draw/SWImageRenderer.cpp:1452:26: required from here
${src}/Sources/Draw/SWImageRenderer.cpp:1430:51: warning: unused parameter 'lvl' [-Wunused-parameter]
SWFeatureLevel lvl) {
~~~~~~~~~~~~~~~^~~
${src}/Sources/Draw/SWImageRenderer.cpp: In instantiation of 'static void spades::draw::SWImageRenderer::PolygonRenderer2<<anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&, spades::draw::SWFeatureLevel) [with bool needTransform = false; bool ndc = false; bool depthTest = false; bool lerp = false]':
${src}/Sources/Draw/SWImageRenderer.cpp:1459:26: required from here
${src}/Sources/Draw/SWImageRenderer.cpp:1430:51: warning: unused parameter 'lvl' [-Wunused-parameter]
${src}/Sources/Draw/SWImageRenderer.cpp: In instantiation of 'static void spades::draw::SWImageRenderer::PolygonRenderer<<anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternalInner(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0; bool needTransform = false; bool ndc = false; bool depthTest = false; bool solidFill = true; bool linearInterpolate = false]':
${src}/Sources/Draw/SWImageRenderer.cpp:520:31: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer<<anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0; bool needTransform = false; bool ndc = false; bool depthTest = false; bool solidFill = true; bool linearInterpolate = false]'
${src}/Sources/Draw/SWImageRenderer.cpp:1416:48: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer3<<anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0; bool needTransform = false; bool ndc = false; bool depthTest = false; bool lerp = false]'
${src}/Sources/Draw/SWImageRenderer.cpp:1439:48: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer2<<anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&, spades::draw::SWFeatureLevel) [with bool needTransform = false; bool ndc = false; bool depthTest = false; bool lerp = false]'
${src}/Sources/Draw/SWImageRenderer.cpp:1459:26: required from here
${src}/Sources/Draw/SWImageRenderer.cpp:408:83: warning: unused parameter 'z2' [-Wunused-parameter]
const SWImageVarying &vary2, float z1, float z2) {
~~~~~~^~
${src}/Sources/Draw/SWImageRenderer.cpp: In instantiation of 'static void spades::draw::SWImageRenderer::PolygonRenderer<<anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternalInner(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0; bool needTransform = false; bool ndc = false; bool depthTest = false; bool solidFill = false; bool linearInterpolate = false]':
${src}/Sources/Draw/SWImageRenderer.cpp:520:31: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer<<anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0; bool needTransform = false; bool ndc = false; bool depthTest = false; bool solidFill = false; bool linearInterpolate = false]'
${src}/Sources/Draw/SWImageRenderer.cpp:1420:47: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer3<<anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0; bool needTransform = false; bool ndc = false; bool depthTest = false; bool lerp = false]'
${src}/Sources/Draw/SWImageRenderer.cpp:1439:48: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer2<<anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&, spades::draw::SWFeatureLevel) [with bool needTransform = false; bool ndc = false; bool depthTest = false; bool lerp = false]'
${src}/Sources/Draw/SWImageRenderer.cpp:1459:26: required from here
${src}/Sources/Draw/SWImageRenderer.cpp:408:83: warning: unused parameter 'z2' [-Wunused-parameter]
${src}/Sources/Draw/SWImageRenderer.cpp: In instantiation of 'static void spades::draw::SWImageRenderer::PolygonRenderer<<anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternalInner(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0; bool needTransform = false; bool ndc = false; bool depthTest = true; bool solidFill = true; bool linearInterpolate = true]':
${src}/Sources/Draw/SWImageRenderer.cpp:520:31: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer<<anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0; bool needTransform = false; bool ndc = false; bool depthTest = true; bool solidFill = true; bool linearInterpolate = true]'
${src}/Sources/Draw/SWImageRenderer.cpp:1257:47: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer<featureLvl, false, true, depthTest, solidFill, lerp>::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel featureLvl = (spades::draw::SWFeatureLevel)0; bool depthTest = true; bool solidFill = true; bool lerp = true]'
${src}/Sources/Draw/SWImageRenderer.cpp:1397:53: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer<featureLvl, true, ndc, depthTest, solidFill, lerp>::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel featureLvl = (spades::draw::SWFeatureLevel)0; bool ndc = true; bool depthTest = true; bool solidFill = true; bool lerp = true]'
${src}/Sources/Draw/SWImageRenderer.cpp:1416:48: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer3<<anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0; bool needTransform = true; bool ndc = true; bool depthTest = true; bool lerp = true]'
${src}/Sources/Draw/SWImageRenderer.cpp:1439:48: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer2<<anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&, spades::draw::SWFeatureLevel) [with bool needTransform = true; bool ndc = true; bool depthTest = true; bool lerp = true]'
${src}/Sources/Draw/SWImageRenderer.cpp:1452:26: required from here
${src}/Sources/Draw/SWImageRenderer.cpp:408:83: warning: unused parameter 'z2' [-Wunused-parameter]
${src}/Sources/Draw/SWImageRenderer.cpp: In instantiation of 'static void spades::draw::SWImageRenderer::PolygonRenderer<<anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternalInner(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0; bool needTransform = false; bool ndc = false; bool depthTest = true; bool solidFill = false; bool linearInterpolate = true]':
${src}/Sources/Draw/SWImageRenderer.cpp:520:31: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer<<anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0; bool needTransform = false; bool ndc = false; bool depthTest = true; bool solidFill = false; bool linearInterpolate = true]'
${src}/Sources/Draw/SWImageRenderer.cpp:1257:47: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer<featureLvl, false, true, depthTest, solidFill, lerp>::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel featureLvl = (spades::draw::SWFeatureLevel)0; bool depthTest = true; bool solidFill = false; bool lerp = true]'
${src}/Sources/Draw/SWImageRenderer.cpp:1397:53: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer<featureLvl, true, ndc, depthTest, solidFill, lerp>::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel featureLvl = (spades::draw::SWFeatureLevel)0; bool ndc = true; bool depthTest = true; bool solidFill = false; bool lerp = true]'
${src}/Sources/Draw/SWImageRenderer.cpp:1420:47: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer3<<anonymous>, <anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0; bool needTransform = true; bool ndc = true; bool depthTest = true; bool lerp = true]'
${src}/Sources/Draw/SWImageRenderer.cpp:1439:48: required from 'static void spades::draw::SWImageRenderer::PolygonRenderer2<<anonymous>, <anonymous>, <anonymous>, <anonymous> >::DrawPolygonInternal(spades::draw::SWImage*, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, const spades::draw::SWImageRenderer::Vertex&, spades::draw::SWImageRenderer&, spades::draw::SWFeatureLevel) [with bool needTransform = true; bool ndc = true; bool depthTest = true; bool lerp = true]'
${src}/Sources/Draw/SWImageRenderer.cpp:1452:26: required from here
${src}/Sources/Draw/SWImageRenderer.cpp:408:83: warning: unused parameter 'z2' [-Wunused-parameter]
[ 77%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/SWMapRenderer.cpp.o
In file included from ${src}/Sources/Draw/SWFeatureLevel.h:57,
from ${src}/Sources/Draw/SWMapRenderer.h:26,
from ${src}/Sources/Draw/SWMapRenderer.cpp:25:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
${src}/Sources/Draw/SWMapRenderer.cpp: In instantiation of 'void spades::draw::SWMapRenderer::BuildLine(spades::draw::SWMapRenderer::Line&, float, float) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0]':
${src}/Sources/Draw/SWMapRenderer.cpp:1152:7: required from 'void spades::draw::SWMapRenderer::RenderInner(const spades::client::SceneDefinition&, spades::Bitmap*, float*) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0]'
${src}/Sources/Draw/SWMapRenderer.cpp:1196:61: required from here
${src}/Sources/Draw/SWMapRenderer.cpp:384:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
for (size_t i = 0; i < lineResolution; i++)
~~^~~~~~~~~~~~~~~~
${src}/Sources/Draw/SWMapRenderer.cpp:418:29: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
auto ref = rle[(irx & w - 1) + ((iry & h - 1) * w)];
~~^~~
${src}/Sources/Draw/SWMapRenderer.cpp:418:46: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
auto ref = rle[(irx & w - 1) + ((iry & h - 1) * w)];
~~^~~
${src}/Sources/Draw/SWMapRenderer.cpp:629:61: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
auto ref = rle[static_cast<std::uint_fast32_t>(irx & w - 1) +
~~^~~
${src}/Sources/Draw/SWMapRenderer.cpp:630:61: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
static_cast<std::uint_fast32_t>(iry & h - 1) * w];
~~^~~
${src}/Sources/Draw/SWMapRenderer.cpp:663:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
if ((transform(invDist, 0) >= lineResolution - 1 && icz >= 0) ||
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
${src}/Sources/Draw/SWMapRenderer.cpp: In instantiation of 'void spades::draw::SWMapRenderer::RenderFinal(float, float, unsigned int, unsigned int, unsigned int) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0; int undersamp = 1]':
${src}/Sources/Draw/SWMapRenderer.cpp:1162:6: required from 'void spades::draw::SWMapRenderer::RenderInner(const spades::client::SceneDefinition&, spades::Bitmap*, float*) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0]'
${src}/Sources/Draw/SWMapRenderer.cpp:1196:61: required from here
${src}/Sources/Draw/SWMapRenderer.cpp:805:5: warning: label 'FastBlockPath' defined but not used [-Wunused-label]
FastBlockPath : {
^~~~~~~~~~~~~
${src}/Sources/Draw/SWMapRenderer.cpp: In instantiation of 'void spades::draw::SWMapRenderer::RenderFinal(float, float, unsigned int, unsigned int, unsigned int) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0; int undersamp = 2]':
${src}/Sources/Draw/SWMapRenderer.cpp:1165:6: required from 'void spades::draw::SWMapRenderer::RenderInner(const spades::client::SceneDefinition&, spades::Bitmap*, float*) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0]'
${src}/Sources/Draw/SWMapRenderer.cpp:1196:61: required from here
${src}/Sources/Draw/SWMapRenderer.cpp:805:5: warning: label 'FastBlockPath' defined but not used [-Wunused-label]
${src}/Sources/Draw/SWMapRenderer.cpp: In instantiation of 'void spades::draw::SWMapRenderer::RenderFinal(float, float, unsigned int, unsigned int, unsigned int) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0; int undersamp = 4]':
${src}/Sources/Draw/SWMapRenderer.cpp:1168:6: required from 'void spades::draw::SWMapRenderer::RenderInner(const spades::client::SceneDefinition&, spades::Bitmap*, float*) [with spades::draw::SWFeatureLevel level = (spades::draw::SWFeatureLevel)0]'
${src}/Sources/Draw/SWMapRenderer.cpp:1196:61: required from here
${src}/Sources/Draw/SWMapRenderer.cpp:805:5: warning: label 'FastBlockPath' defined but not used [-Wunused-label]
[ 78%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/SWModel.cpp.o
[ 78%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/SWModelRenderer.cpp.o
In file included from ${src}/Sources/Draw/SWFeatureLevel.h:57,
from ${src}/Sources/Draw/SWModelRenderer.h:23,
from ${src}/Sources/Draw/SWModelRenderer.cpp:21:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
${src}/Sources/Draw/SWModelRenderer.cpp: In instantiation of 'void spades::draw::SWModelRenderer::RenderInner(spades::draw::SWModel*, const spades::client::ModelRenderParam&) [with spades::draw::SWFeatureLevel <anonymous> = (spades::draw::SWFeatureLevel)0]':
${src}/Sources/Draw/SWModelRenderer.cpp:283:51: required from here
${src}/Sources/Draw/SWModelRenderer.cpp:184:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
while (*mp != -1) {
~~~~^~~~~
[ 78%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/SWPort.cpp.o
[ 79%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/SWRenderer.cpp.o
In file included from ${src}/Sources/Draw/SWFeatureLevel.h:57,
from ${src}/Sources/Draw/SWImageRenderer.h:23,
from ${src}/Sources/Draw/SWRenderer.cpp:28:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
${src}/Sources/Draw/SWRenderer.cpp: In member function 'virtual void spades::draw::SWRenderer::AddLongSprite(spades::client::IImage*, spades::Vector3, spades::Vector3, float)':
${src}/Sources/Draw/SWRenderer.cpp:725:68: warning: unused parameter 'p1' [-Wunused-parameter]
void SWRenderer::AddLongSprite(client::IImage *, spades::Vector3 p1, spades::Vector3 p2,
~~~~~~~~~~~~~~~~^~
${src}/Sources/Draw/SWRenderer.cpp:725:88: warning: unused parameter 'p2' [-Wunused-parameter]
void SWRenderer::AddLongSprite(client::IImage *, spades::Vector3 p1, spades::Vector3 p2,
~~~~~~~~~~~~~~~~^~
${src}/Sources/Draw/SWRenderer.cpp:726:40: warning: unused parameter 'radius' [-Wunused-parameter]
float radius) {
~~~~~~^~~~~~
${src}/Sources/Draw/SWRenderer.cpp: In member function 'virtual void spades::draw::SWRenderer::MultiplyScreenColor(spades::Vector3)':
${src}/Sources/Draw/SWRenderer.cpp:957:56: warning: unused parameter 'v' [-Wunused-parameter]
void SWRenderer::MultiplyScreenColor(spades::Vector3 v) { EnsureSceneNotStarted(); }
~~~~~~~~~~~~~~~~^
${src}/Sources/Draw/SWRenderer.cpp: In member function 'virtual void spades::draw::SWRenderer::GameMapChanged(int, int, int, spades::client::GameMap*)':
${src}/Sources/Draw/SWRenderer.cpp:1182:53: warning: unused parameter 'z' [-Wunused-parameter]
void SWRenderer::GameMapChanged(int x, int y, int z, client::GameMap *map) {
~~~~^
[ 79%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Draw/SWUtils.cpp.o
In file included from ${src}/Sources/Draw/SWUtils.h:27,
from ${src}/Sources/Draw/SWUtils.cpp:21:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 80%] Building C object Sources/CMakeFiles/OpenSpades.dir/ENet/callbacks.c.o
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C
[ 80%] Building C object Sources/CMakeFiles/OpenSpades.dir/ENet/compress.c.o
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C
[ 80%] Building C object Sources/CMakeFiles/OpenSpades.dir/ENet/host.c.o
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C
[ 81%] Building C object Sources/CMakeFiles/OpenSpades.dir/ENet/list.c.o
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C
[ 81%] Building C object Sources/CMakeFiles/OpenSpades.dir/ENet/packet.c.o
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C
[ 81%] Building C object Sources/CMakeFiles/OpenSpades.dir/ENet/peer.c.o
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C
${src}/Sources/ENet/peer.c: In function 'enet_peer_remove_incoming_commands':
${src}/Sources/ENet/peer.c:265:48: warning: unused parameter 'queue' [-Wunused-parameter]
enet_peer_remove_incoming_commands (ENetList * queue, ENetListIterator startCommand, ENetListIterator endCommand)
~~~~~~~~~~~^~~~~
[ 82%] Building C object Sources/CMakeFiles/OpenSpades.dir/ENet/protocol.c.o
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C
${src}/Sources/ENet/protocol.c: In function 'enet_protocol_handle_connect':
${src}/Sources/ENet/protocol.c:251:69: warning: unused parameter 'header' [-Wunused-parameter]
enet_protocol_handle_connect (ENetHost * host, ENetProtocolHeader * header, ENetProtocol * command)
~~~~~~~~~~~~~~~~~~~~~^~~~~~
${src}/Sources/ENet/protocol.c: In function 'enet_protocol_handle_ping':
${src}/Sources/ENet/protocol.c:724:39: warning: unused parameter 'host' [-Wunused-parameter]
enet_protocol_handle_ping (ENetHost * host, ENetPeer * peer, const ENetProtocol * command)
~~~~~~~~~~~^~~~
${src}/Sources/ENet/protocol.c:724:56: warning: unused parameter 'peer' [-Wunused-parameter]
enet_protocol_handle_ping (ENetHost * host, ENetPeer * peer, const ENetProtocol * command)
~~~~~~~~~~~^~~~
${src}/Sources/ENet/protocol.c:724:83: warning: unused parameter 'command' [-Wunused-parameter]
enet_protocol_handle_ping (ENetHost * host, ENetPeer * peer, const ENetProtocol * command)
~~~~~~~~~~~~~~~~~~~~~^~~~~~~
${src}/Sources/ENet/protocol.c: In function 'enet_protocol_handle_throttle_configure':
${src}/Sources/ENet/protocol.c:751:53: warning: unused parameter 'host' [-Wunused-parameter]
enet_protocol_handle_throttle_configure (ENetHost * host, ENetPeer * peer, const ENetProtocol * command)
~~~~~~~~~~~^~~~
[ 82%] Building C object Sources/CMakeFiles/OpenSpades.dir/ENet/unix.c.o
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C
[ 83%] Building C object Sources/CMakeFiles/OpenSpades.dir/ENet/win32.c.o
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C
[ 83%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Gui/Icon.cpp.o
[ 83%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Gui/Main.cpp.o
In file included from ${src}/Sources/Gui/MainScreen.h:23,
from ${src}/Sources/Gui/Main.cpp:34:
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
In file included from ${src}/Sources/Gui/Main.cpp:40:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
${src}/Sources/Gui/Main.cpp: In function 'int {anonymous}::handleCommandLineArgument(int, char**, int&)':
${src}/Sources/Gui/Main.cpp:190:36: warning: unused parameter 'argc' [-Wunused-parameter]
int handleCommandLineArgument(int argc, char **argv, int &i) {
~~~~^~~~
In file included from ${src}/Sources/Gui/Main.cpp:47:
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:284:27: required from 'std::__cxx11::string spades::GetText(const string&, const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:304:18: required from 'std::__cxx11::string spades::CatalogDomainHandle::Get(const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/Gui/Main.cpp:633:9: required from here
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#0' [-Wunused-parameter]
template <class... T> int CheckPlural(T... args) { return 1; }
~^~~~~~~~
[ 84%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Gui/MainScreen.cpp.o
In file included from ${src}/Sources/Gui/MainScreen.h:23,
from ${src}/Sources/Gui/MainScreen.cpp:21:
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
[ 84%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Gui/MainScreenHelper.cpp.o
In file included from ${src}/Sources/Gui/MainScreen.h:23,
from ${src}/Sources/Gui/MainScreenHelper.cpp:30:
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
[ 84%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Gui/PackageUpdateManager.cpp.o
[ 85%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Gui/Runner.cpp.o
In file included from ${src}/Sources/Gui/Runner.cpp:23:
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
In file included from ${src}/Sources/Gui/Runner.cpp:26:
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:284:27: required from 'std::__cxx11::string spades::GetText(const string&, const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:304:18: required from 'std::__cxx11::string spades::CatalogDomainHandle::Get(const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/Gui/Runner.cpp:56:11: required from here
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#0' [-Wunused-parameter]
template <class... T> int CheckPlural(T... args) { return 1; }
~^~~~~~~~
[ 85%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Gui/SDLGLDevice.cpp.o
[ 86%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Gui/SDLRunner.cpp.o
In file included from ${src}/Sources/./Client/Client.h:37,
from ${src}/Sources/Gui/SDLRunner.cpp:31:
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/./Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/./Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/./Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/./Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/./Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/./Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/./Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
In file included from ${src}/Sources/Gui/SDLRunner.cpp:32:
${src}/Sources/./Core/ConcurrentDispatch.h: In member function 'void spades::ConcurrentDispatch::operator=(const spades::ConcurrentDispatch&)':
${src}/Sources/./Core/ConcurrentDispatch.h:63:44: warning: unused parameter 'disp' [-Wunused-parameter]
void operator=(const ConcurrentDispatch &disp) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
${src}/Sources/Gui/SDLRunner.cpp: In member function 'void spades::gui::SDLRunner::Run(int, int)':
${src}/Sources/Gui/SDLRunner.cpp:475:16: warning: 'sdlFlags' may be used uninitialized in this function [-Wmaybe-uninitialized]
sdlFlags |= SDL_WINDOW_FULLSCREEN;
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
[ 86%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Gui/SplashWindow.cpp.o
[ 86%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Gui/StartupScreen.cpp.o
In file included from ${src}/Sources/Gui/StartupScreen.h:23,
from ${src}/Sources/Gui/StartupScreen.cpp:21:
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
[ 87%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Gui/StartupScreenHelper.cpp.o
In file included from ${src}/Sources/Gui/StartupScreen.h:23,
from ${src}/Sources/Gui/StartupScreenHelper.cpp:33:
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
[ 87%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/Gui/View.cpp.o
In file included from ${src}/Sources/Gui/View.cpp:21:
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::MouseEvent(float, float)':
${src}/Sources/Gui/View.h:35:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h:35:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void MouseEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::KeyEvent(const string&, bool)':
${src}/Sources/Gui/View.h:36:52: warning: unused parameter 'down' [-Wunused-parameter]
virtual void KeyEvent(const std::string &, bool down) {}
~~~~~^~~~
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::TextEditingEvent(const string&, int, int)':
${src}/Sources/Gui/View.h:38:59: warning: unused parameter 'start' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~~~
${src}/Sources/Gui/View.h:38:70: warning: unused parameter 'len' [-Wunused-parameter]
virtual void TextEditingEvent(const std::string &, int start, int len) {}
~~~~^~~
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::WheelEvent(float, float)':
${src}/Sources/Gui/View.h:42:34: warning: unused parameter 'x' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h:42:43: warning: unused parameter 'y' [-Wunused-parameter]
virtual void WheelEvent(float x, float y) {}
~~~~~~^
${src}/Sources/Gui/View.h: In member function 'virtual void spades::gui::View::RunFrame(float)':
${src}/Sources/Gui/View.h:44:32: warning: unused parameter 'dt' [-Wunused-parameter]
virtual void RunFrame(float dt) {}
~~~~~~^~
[ 87%] Building C object Sources/CMakeFiles/OpenSpades.dir/kiss_fft130/kiss_fft.c.o
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C
[ 88%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/json/json_reader.cpp.o
${src}/Sources/json/json_reader.cpp: In member function 'bool Json::Reader::readObject(Json::Reader::Token&)':
${src}/Sources/json/json_reader.cpp:480:28: warning: unused parameter 'tokenStart' [-Wunused-parameter]
Reader::readObject( Token &tokenStart )
~~~~~~~^~~~~~~~~~
${src}/Sources/json/json_reader.cpp: In member function 'bool Json::Reader::readArray(Json::Reader::Token&)':
${src}/Sources/json/json_reader.cpp:539:27: warning: unused parameter 'tokenStart' [-Wunused-parameter]
Reader::readArray( Token &tokenStart )
~~~~~~~^~~~~~~~~~
[ 88%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/json/json_value.cpp.o
${src}/Sources/json/json_value.cpp: In member function 'int Json::Value::compare(const Json::Value&)':
${src}/Sources/json/json_value.cpp:535:30: warning: unused parameter 'other' [-Wunused-parameter]
Value::compare( const Value &other )
~~~~~~~~~~~~~^~~~~
${src}/Sources/json/json_value.cpp: In member function 'void Json::Path::addPathInArg(const string&, const InArgs&, std::vector<const Json::PathArgument*>::const_iterator&, Json::PathArgument::Kind)':
${src}/Sources/json/json_value.cpp:1603:40: warning: unused parameter 'path' [-Wunused-parameter]
Path::addPathInArg( const std::string &path,
~~~~~~~~~~~~~~~~~~~^~~~
${src}/Sources/json/json_value.cpp: In member function 'void Json::Path::invalidPath(const string&, int)':
${src}/Sources/json/json_value.cpp:1624:39: warning: unused parameter 'path' [-Wunused-parameter]
Path::invalidPath( const std::string &path,
~~~~~~~~~~~~~~~~~~~^~~~
${src}/Sources/json/json_value.cpp:1625:24: warning: unused parameter 'location' [-Wunused-parameter]
int location )
~~~~^~~~~~~~
[ 89%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/json/json_writer.cpp.o
[ 89%] Building C object Sources/CMakeFiles/OpenSpades.dir/unzip/ioapi.c.o
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C
${src}/Sources/unzip/ioapi.c: In function 'fopen_file_func':
${src}/Sources/unzip/ioapi.c:74:11: warning: unused parameter 'opaque' [-Wunused-parameter]
voidpf opaque;
^~~~~~
${src}/Sources/unzip/ioapi.c: In function 'fread_file_func':
${src}/Sources/unzip/ioapi.c:96:11: warning: unused parameter 'opaque' [-Wunused-parameter]
voidpf opaque;
^~~~~~
${src}/Sources/unzip/ioapi.c: In function 'fwrite_file_func':
${src}/Sources/unzip/ioapi.c:108:11: warning: unused parameter 'opaque' [-Wunused-parameter]
voidpf opaque;
^~~~~~
${src}/Sources/unzip/ioapi.c: In function 'ftell_file_func':
${src}/Sources/unzip/ioapi.c:119:11: warning: unused parameter 'opaque' [-Wunused-parameter]
voidpf opaque;
^~~~~~
${src}/Sources/unzip/ioapi.c: In function 'fseek_file_func':
${src}/Sources/unzip/ioapi.c:128:11: warning: unused parameter 'opaque' [-Wunused-parameter]
voidpf opaque;
^~~~~~
${src}/Sources/unzip/ioapi.c: In function 'fclose_file_func':
${src}/Sources/unzip/ioapi.c:154:11: warning: unused parameter 'opaque' [-Wunused-parameter]
voidpf opaque;
^~~~~~
${src}/Sources/unzip/ioapi.c: In function 'ferror_file_func':
${src}/Sources/unzip/ioapi.c:163:11: warning: unused parameter 'opaque' [-Wunused-parameter]
voidpf opaque;
^~~~~~
[ 89%] Building C object Sources/CMakeFiles/OpenSpades.dir/unzip/unzip.c.o
cc1: warning: command line option '-std=gnu++11' is valid for C++/ObjC++ but not for C
[ 90%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/Bitmap.cpp.o
In file included from ${src}/Sources/ScriptBindings/ScriptManager.h:23,
from ${src}/Sources/ScriptBindings/Bitmap.cpp:21:
${src}/Sources/ScriptBindings/Bitmap.cpp: In member function 'virtual void spades::BitmapRegistrar::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase)':
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::Bitmap::*)()' to 'void (spades::Bitmap::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/Bitmap.cpp:124:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Bitmap, GetWidth),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::Bitmap::*)()' to 'void (spades::Bitmap::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/Bitmap.cpp:129:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Bitmap, GetHeight),
^~~~~~~~
[ 90%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/ClientUIHelper.cpp.o
In file included from ${src}/Sources/ScriptBindings/ScriptManager.h:23,
from ${src}/Sources/ScriptBindings/ClientUIHelper.cpp:21:
${src}/Sources/ScriptBindings/ClientUIHelper.cpp: In member function 'virtual void spades::client::ClientUIHelperRegistrar::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase)':
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::ClientUIHelper::*)(const string&)' {aka 'void (spades::client::ClientUIHelper::*)(const std::__cxx11::basic_string<char>&)'} to 'void (spades::client::ClientUIHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/ClientUIHelper.cpp:58:16: note: in expansion of macro 'asMETHOD'
asMETHOD(ClientUIHelper, SayGlobal),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::ClientUIHelper::*)(const string&)' {aka 'void (spades::client::ClientUIHelper::*)(const std::__cxx11::basic_string<char>&)'} to 'void (spades::client::ClientUIHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/ClientUIHelper.cpp:63:16: note: in expansion of macro 'asMETHOD'
asMETHOD(ClientUIHelper, SayTeam),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::ClientUIHelper::*)(const string&)' {aka 'void (spades::client::ClientUIHelper::*)(const std::__cxx11::basic_string<char>&)'} to 'void (spades::client::ClientUIHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/ClientUIHelper.cpp:68:16: note: in expansion of macro 'asMETHOD'
asMETHOD(ClientUIHelper, AlertNotice),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::ClientUIHelper::*)(const string&)' {aka 'void (spades::client::ClientUIHelper::*)(const std::__cxx11::basic_string<char>&)'} to 'void (spades::client::ClientUIHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/ClientUIHelper.cpp:73:16: note: in expansion of macro 'asMETHOD'
asMETHOD(ClientUIHelper, AlertWarning),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::ClientUIHelper::*)(const string&)' {aka 'void (spades::client::ClientUIHelper::*)(const std::__cxx11::basic_string<char>&)'} to 'void (spades::client::ClientUIHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/ClientUIHelper.cpp:78:16: note: in expansion of macro 'asMETHOD'
asMETHOD(ClientUIHelper, AlertError),
^~~~~~~~
[ 90%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/Clipboard.cpp.o
[ 91%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/Config.cpp.o
In file included from ${src}/Sources/ScriptBindings/ScriptManager.h:23,
from ${src}/Sources/ScriptBindings/Config.cpp:21:
${src}/Sources/ScriptBindings/Config.cpp: In member function 'virtual void spades::ConfigRegistrar::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase)':
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::ConfigRegistrar::ConfigItem::*)()' to 'void (spades::ConfigRegistrar::ConfigItem::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/Config.cpp:218:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ConfigItem, GetIntValue),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::ConfigRegistrar::ConfigItem::*)()' to 'void (spades::ConfigRegistrar::ConfigItem::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/Config.cpp:223:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ConfigItem, GetFloatValue),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::ConfigRegistrar::ConfigItem::*)()' {aka 'std::__cxx11::basic_string<char> (spades::ConfigRegistrar::ConfigItem::*)()'} to 'void (spades::ConfigRegistrar::ConfigItem::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/Config.cpp:228:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ConfigItem, GetStringValue),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::ConfigRegistrar::ConfigItem::*)()' {aka 'std::__cxx11::basic_string<char> (spades::ConfigRegistrar::ConfigItem::*)()'} to 'void (spades::ConfigRegistrar::ConfigItem::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/Config.cpp:233:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ConfigItem, GetDefaultValue),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (spades::ConfigRegistrar::ConfigItem::*)()' to 'void (spades::ConfigRegistrar::ConfigItem::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/Config.cpp:238:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ConfigItem, IsUnknown),
^~~~~~~~
[ 91%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/FontManager.cpp.o
[ 92%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/GameMap.cpp.o
In file included from ${src}/Sources/ScriptBindings/ScriptManager.h:23,
from ${src}/Sources/ScriptBindings/GameMap.cpp:22:
${src}/Sources/ScriptBindings/GameMap.cpp: In member function 'virtual void spades::client::GameMapRegistrar::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase)':
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::client::GameMap::*)()' to 'void (spades::client::GameMap::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/GameMap.cpp:182:16: note: in expansion of macro 'asMETHOD'
asMETHOD(GameMap, Width),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::client::GameMap::*)()' to 'void (spades::client::GameMap::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/GameMap.cpp:187:16: note: in expansion of macro 'asMETHOD'
asMETHOD(GameMap, Height),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::client::GameMap::*)()' to 'void (spades::client::GameMap::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/GameMap.cpp:192:16: note: in expansion of macro 'asMETHOD'
asMETHOD(GameMap, Depth),
^~~~~~~~
[ 92%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/IAudioChunk.cpp.o
[ 92%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/IAudioDevice.cpp.o
In file included from ${src}/Sources/ScriptBindings/ScriptManager.h:23,
from ${src}/Sources/ScriptBindings/IAudioDevice.cpp:21:
${src}/Sources/ScriptBindings/IAudioDevice.cpp: In member function 'virtual void spades::client::AudioDeviceRegistrar::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase)':
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::IAudioDevice::*)(spades::client::GameMap*)' to 'void (spades::client::IAudioDevice::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IAudioDevice.cpp:81:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IAudioDevice, SetGameMap),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::IAudioDevice::*)(spades::client::IAudioChunk*, const spades::Vector3&, const spades::client::AudioParam&)' to 'void (spades::client::IAudioDevice::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IAudioDevice.cpp:86:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IAudioDevice, Play),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::IAudioDevice::*)(const spades::Vector3&, const spades::Vector3&, const spades::Vector3&)' to 'void (spades::client::IAudioDevice::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IAudioDevice.cpp:101:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IAudioDevice, Respatialize),
^~~~~~~~
[ 93%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/IBlockSkin.cpp.o
[ 93%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/IFont.cpp.o
In file included from ${src}/Sources/ScriptBindings/ScriptManager.h:23,
from ${src}/Sources/ScriptBindings/IFont.cpp:21:
${src}/Sources/ScriptBindings/IFont.cpp: In member function 'virtual void spades::FontRegistrar::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase)':
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::Vector2 (spades::client::IFont::*)(const string&)' {aka 'spades::Vector2 (spades::client::IFont::*)(const std::__cxx11::basic_string<char>&)'} to 'void (spades::client::IFont::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IFont.cpp:57:15: note: in expansion of macro 'asMETHOD'
asMETHOD(client::IFont, Measure),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::IFont::*)(const string&, spades::Vector2, float, spades::Vector4)' {aka 'void (spades::client::IFont::*)(const std::__cxx11::basic_string<char>&, spades::Vector2, float, spades::Vector4)'} to 'void (spades::client::IFont::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IFont.cpp:62:15: note: in expansion of macro 'asMETHOD'
asMETHOD(client::IFont, Draw),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::IFont::*)(const string&, const spades::Vector2&, float, const spades::Vector4&, const spades::Vector4&)' {aka 'void (spades::client::IFont::*)(const std::__cxx11::basic_string<char>&, const spades::Vector2&, float, const spades::Vector4&, const spades::Vector4&)'} to 'void (spades::client::IFont::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IFont.cpp:67:15: note: in expansion of macro 'asMETHOD'
asMETHOD(client::IFont, DrawShadow),
^~~~~~~~
[ 93%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/IGrenadeSkin.cpp.o
[ 94%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/IImage.cpp.o
In file included from ${src}/Sources/ScriptBindings/ScriptManager.h:23,
from ${src}/Sources/ScriptBindings/IImage.cpp:21:
${src}/Sources/ScriptBindings/IImage.cpp: In member function 'virtual void spades::client::ImageRegistrar::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase)':
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::client::IImage::*)()' to 'void (spades::client::IImage::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IImage.cpp:57:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IImage, GetWidth),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::client::IImage::*)()' to 'void (spades::client::IImage::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IImage.cpp:62:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IImage, GetHeight),
^~~~~~~~
[ 94%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/IModel.cpp.o
[ 95%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/IRenderer.cpp.o
In file included from ${src}/Sources/ScriptBindings/ScriptManager.h:23,
from ${src}/Sources/ScriptBindings/IRenderer.cpp:21:
${src}/Sources/ScriptBindings/IRenderer.cpp: In member function 'virtual void spades::client::RendererRegistrar::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase)':
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::client::IImage* (spades::client::IRenderer::*)(spades::Bitmap*)' to 'void (spades::client::IRenderer::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IRenderer.cpp:399:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IRenderer, CreateImage),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::client::IModel* (spades::client::IRenderer::*)(spades::VoxelModel*)' to 'void (spades::client::IRenderer::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IRenderer.cpp:404:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IRenderer, CreateModel),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::IRenderer::*)(spades::client::GameMap*)' to 'void (spades::client::IRenderer::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IRenderer.cpp:409:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IRenderer, SetGameMap),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::IRenderer::*)(float)' to 'void (spades::client::IRenderer::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IRenderer.cpp:414:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IRenderer, SetFogDistance),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::IRenderer::*)(const spades::client::SceneDefinition&)' to 'void (spades::client::IRenderer::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IRenderer.cpp:424:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IRenderer, StartScene),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::IRenderer::*)(const spades::client::DynamicLightParam&)' to 'void (spades::client::IRenderer::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IRenderer.cpp:429:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IRenderer, AddLight),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::IRenderer::*)(spades::client::IModel*, const spades::client::ModelRenderParam&)' to 'void (spades::client::IRenderer::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IRenderer.cpp:434:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IRenderer, RenderModel),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::client::IRenderer::*)(const spades::AABB2&, const spades::AABB2&)' to 'void (spades::client::IRenderer::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IRenderer.cpp:519:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IRenderer,DrawFlatGameMap),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::Bitmap* (spades::client::IRenderer::*)()' to 'void (spades::client::IRenderer::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IRenderer.cpp:534:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IRenderer,ReadBitmap),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::client::IRenderer::*)()' to 'void (spades::client::IRenderer::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IRenderer.cpp:539:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IRenderer,ScreenWidth),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::client::IRenderer::*)()' to 'void (spades::client::IRenderer::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/IRenderer.cpp:544:16: note: in expansion of macro 'asMETHOD'
asMETHOD(IRenderer,ScreenHeight),
^~~~~~~~
[ 95%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/ISpadeSkin.cpp.o
[ 95%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/IThirdPersonToolSkin.cpp.o
[ 96%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/IToolSkin.cpp.o
[ 96%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/IViewToolSkin.cpp.o
[ 96%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/IWeaponSkin.cpp.o
[ 97%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/MainScreenHelper.cpp.o
In file included from ${src}/Sources/ScriptBindings/ScriptManager.h:23,
from ${src}/Sources/ScriptBindings/MainScreenHelper.cpp:21:
${src}/Sources/ScriptBindings/MainScreenHelper.cpp: In member function 'virtual void spades::MainScreenHelperRegistrar::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase)':
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'void (spades::gui::MainScreenHelper::*)(std::__cxx11::string, bool)' {aka 'void (spades::gui::MainScreenHelper::*)(std::__cxx11::basic_string<char>, bool)'} to 'void (spades::gui::MainScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:66:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenHelper, SetServerFavorite),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (spades::gui::MainScreenHelper::*)()' to 'void (spades::gui::MainScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:71:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenHelper, PollServerListState),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::MainScreenHelper::*)()' {aka 'std::__cxx11::basic_string<char> (spades::gui::MainScreenHelper::*)()'} to 'void (spades::gui::MainScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:76:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenHelper, GetServerListQueryMessage),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'CScriptArray* (spades::gui::MainScreenHelper::*)(std::__cxx11::string, bool)' {aka 'CScriptArray* (spades::gui::MainScreenHelper::*)(std::__cxx11::basic_string<char>, bool)'} to 'void (spades::gui::MainScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:81:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenHelper, GetServerList),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::MainScreenHelper::*)(std::__cxx11::string, int)' {aka 'std::__cxx11::basic_string<char> (spades::gui::MainScreenHelper::*)(std::__cxx11::basic_string<char>, int)'} to 'void (spades::gui::MainScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:86:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenHelper, ConnectServer),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::MainScreenHelper::*)()' {aka 'std::__cxx11::basic_string<char> (spades::gui::MainScreenHelper::*)()'} to 'void (spades::gui::MainScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:91:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenHelper, GetPendingErrorMessage),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::MainScreenHelper::*)()' {aka 'std::__cxx11::basic_string<char> (spades::gui::MainScreenHelper::*)()'} to 'void (spades::gui::MainScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:96:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenHelper, GetCredits),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::PackageUpdateManager& (spades::gui::MainScreenHelper::*)()' to 'void (spades::gui::MainScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:101:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenHelper, GetPackageUpdateManager),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::MainScreenServerItem::*)() const' {aka 'std::__cxx11::basic_string<char> (spades::gui::MainScreenServerItem::*)() const'} to 'void (spades::gui::MainScreenServerItem::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:120:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenServerItem, GetName),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::MainScreenServerItem::*)() const' {aka 'std::__cxx11::basic_string<char> (spades::gui::MainScreenServerItem::*)() const'} to 'void (spades::gui::MainScreenServerItem::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:125:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenServerItem, GetAddress),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::MainScreenServerItem::*)() const' {aka 'std::__cxx11::basic_string<char> (spades::gui::MainScreenServerItem::*)() const'} to 'void (spades::gui::MainScreenServerItem::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:130:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenServerItem, GetMapName),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::MainScreenServerItem::*)() const' {aka 'std::__cxx11::basic_string<char> (spades::gui::MainScreenServerItem::*)() const'} to 'void (spades::gui::MainScreenServerItem::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:135:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenServerItem, GetGameMode),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::MainScreenServerItem::*)() const' {aka 'std::__cxx11::basic_string<char> (spades::gui::MainScreenServerItem::*)() const'} to 'void (spades::gui::MainScreenServerItem::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:140:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenServerItem, GetCountry),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::MainScreenServerItem::*)() const' {aka 'std::__cxx11::basic_string<char> (spades::gui::MainScreenServerItem::*)() const'} to 'void (spades::gui::MainScreenServerItem::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:145:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenServerItem, GetProtocol),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::gui::MainScreenServerItem::*)() const' to 'void (spades::gui::MainScreenServerItem::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:150:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenServerItem, GetPing),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::gui::MainScreenServerItem::*)() const' to 'void (spades::gui::MainScreenServerItem::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:155:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenServerItem, GetNumPlayers),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::gui::MainScreenServerItem::*)() const' to 'void (spades::gui::MainScreenServerItem::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:160:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenServerItem, GetMaxPlayers),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (spades::gui::MainScreenServerItem::*)() const' to 'void (spades::gui::MainScreenServerItem::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MainScreenHelper.cpp:165:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::MainScreenServerItem, IsFavorite),
^~~~~~~~
[ 97%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/MathScript.cpp.o
In file included from ${src}/Sources/ScriptBindings/ScriptManager.h:23,
from ${src}/Sources/ScriptBindings/MathScript.cpp:22:
${src}/Sources/ScriptBindings/MathScript.cpp: In member function 'virtual void spades::MathScriptObjectRegistrar::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase)':
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::IntVector3::*)() const' to 'void (spades::IntVector3::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:212:15: note: in expansion of macro 'asMETHOD'
asMETHOD(IntVector3, GetManhattanLength),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::IntVector3::*)() const' to 'void (spades::IntVector3::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:218:15: note: in expansion of macro 'asMETHOD'
asMETHOD(IntVector3, GetChebyshevLength),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::Vector2::*)() const' to 'void (spades::Vector2::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:344:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Vector2, GetLength),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::Vector2::*)() const' to 'void (spades::Vector2::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:350:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Vector2, GetPoweredLength),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::Vector2::*)() const' to 'void (spades::Vector2::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:356:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Vector2, GetManhattanLength),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::Vector2::*)() const' to 'void (spades::Vector2::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:362:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Vector2, GetChebyshevLength),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::Vector2 (spades::Vector2::*)() const' to 'void (spades::Vector2::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:368:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Vector2, Normalize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::Vector3::*)() const' to 'void (spades::Vector3::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:512:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Vector3, GetLength),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::Vector3::*)() const' to 'void (spades::Vector3::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:518:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Vector3, GetPoweredLength),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::Vector3::*)() const' to 'void (spades::Vector3::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:524:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Vector3, GetManhattanLength),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::Vector3::*)() const' to 'void (spades::Vector3::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:530:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Vector3, GetChebyshevLength),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::Vector3 (spades::Vector3::*)() const' to 'void (spades::Vector3::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:536:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Vector3, Normalize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::Vector4::*)() const' to 'void (spades::Vector4::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:689:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Vector4, GetLength),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::Vector4::*)() const' to 'void (spades::Vector4::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:695:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Vector4, GetPoweredLength),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::Vector4::*)() const' to 'void (spades::Vector4::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:701:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Vector4, GetManhattanLength),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'float (spades::Vector4::*)() const' to 'void (spades::Vector4::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:707:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Vector4, GetChebyshevLength),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::Vector4 (spades::Vector4::*)() const' to 'void (spades::Vector4::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:713:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Vector4, Normalize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::Matrix4 (spades::Matrix4::*)() const' to 'void (spades::Matrix4::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:814:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Matrix4, Transposed),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::Matrix4 (spades::Matrix4::*)() const' to 'void (spades::Matrix4::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:820:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Matrix4, Inversed),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::Matrix4 (spades::Matrix4::*)() const' to 'void (spades::Matrix4::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:826:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Matrix4, InversedFast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::Vector3 (spades::Matrix4::*)() const' to 'void (spades::Matrix4::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:832:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Matrix4, GetOrigin),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::Vector3 (spades::Matrix4::*)(int) const' to 'void (spades::Matrix4::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:838:15: note: in expansion of macro 'asMETHOD'
asMETHOD(Matrix4, GetAxis),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (spades::AABB2::*)(const spades::Vector2&) const' to 'void (spades::AABB2::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:940:15: note: in expansion of macro 'asMETHOD'
asMETHOD(AABB2, Contains), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (spades::AABB2::*)(const spades::AABB2&) const' to 'void (spades::AABB2::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/MathScript.cpp:944:15: note: in expansion of macro 'asMETHOD'
asMETHOD(AABB2, Intersects), asCALL_THISCALL);
^~~~~~~~
[ 98%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/PackageUpdateManager.cpp.o
In file included from ${src}/Sources/ScriptBindings/ScriptManager.h:23,
from ${src}/Sources/ScriptBindings/PackageUpdateManager.cpp:21:
${src}/Sources/ScriptBindings/PackageUpdateManager.cpp: In member function 'virtual void spades::client::PackageUpdateManagerRegistrar::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase)':
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::PackageUpdateManager::ReadyState (spades::PackageUpdateManager::*)()' to 'void (spades::PackageUpdateManager::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/PackageUpdateManager.cpp:59:16: note: in expansion of macro 'asMETHOD'
asMETHOD(PackageUpdateManager, GetUpdateInfoReadyState),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (spades::PackageUpdateManager::*)()' to 'void (spades::PackageUpdateManager::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/PackageUpdateManager.cpp:64:16: note: in expansion of macro 'asMETHOD'
asMETHOD(PackageUpdateManager, IsUpdateAvailable),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::PackageUpdateManager::VersionInfo (spades::PackageUpdateManager::*)()' to 'void (spades::PackageUpdateManager::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/PackageUpdateManager.cpp:69:16: note: in expansion of macro 'asMETHOD'
asMETHOD(PackageUpdateManager, GetLatestVersionInfo),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::PackageUpdateManager::VersionInfo (spades::PackageUpdateManager::*)()' to 'void (spades::PackageUpdateManager::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/PackageUpdateManager.cpp:74:16: note: in expansion of macro 'asMETHOD'
asMETHOD(PackageUpdateManager, GetCurrentVersionInfo),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::PackageUpdateManager::*)()' {aka 'std::__cxx11::basic_string<char> (spades::PackageUpdateManager::*)()'} to 'void (spades::PackageUpdateManager::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/PackageUpdateManager.cpp:79:16: note: in expansion of macro 'asMETHOD'
asMETHOD(PackageUpdateManager, GetLatestVersionInfoPageURL),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::PackageUpdateManager::VersionInfo::*)() const' {aka 'std::__cxx11::basic_string<char> (spades::PackageUpdateManager::VersionInfo::*)() const'} to 'void (spades::PackageUpdateManager::VersionInfo::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/PackageUpdateManager.cpp:108:16: note: in expansion of macro 'asMETHOD'
asMETHOD(PackageUpdateManager::VersionInfo, ToString),
^~~~~~~~
[ 98%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/PrimitiveArray.cpp.o
In file included from ${src}/Sources/ScriptBindings/ScriptManager.h:23,
from ${src}/Sources/ScriptBindings/PrimitiveArray.cpp:21:
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = double]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<double>::*)()' to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:307:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetGCFlag), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'int (spades::PrimitiveArray<double>::*)()' to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:311:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetRefCount), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<double>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, EnumReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<double>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, ReleaseAllReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<double>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<double>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:348:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<double>::*)(const double&)' to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:354:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<double>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<double>::*)() const'} to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:366:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<double>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<double>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:372:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<double>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<double>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:378:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Reserve),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<double>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<double>::*)() const'} to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:426:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<double>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<double>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:432:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<double>::*)() const' to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:438:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<double>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<double>::*)() const'} to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:446:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<double>::*)() const' to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:452:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<double>::*)(const double&)' to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:459:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<double>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<double>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<double>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:471:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = float]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<float>::*)()' to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:307:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetGCFlag), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'int (spades::PrimitiveArray<float>::*)()' to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:311:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetRefCount), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<float>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, EnumReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<float>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, ReleaseAllReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<float>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<float>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:348:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<float>::*)(const float&)' to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:354:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<float>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<float>::*)() const'} to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:366:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<float>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<float>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:372:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<float>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<float>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:378:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Reserve),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<float>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<float>::*)() const'} to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:426:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<float>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<float>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:432:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<float>::*)() const' to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:438:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<float>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<float>::*)() const'} to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:446:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<float>::*)() const' to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:452:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<float>::*)(const float&)' to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:459:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<float>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<float>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<float>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:471:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = long long unsigned int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<long long unsigned int>::*)()' to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:307:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetGCFlag), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'int (spades::PrimitiveArray<long long unsigned int>::*)()' to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:311:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetRefCount), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long unsigned int>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, EnumReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long unsigned int>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, ReleaseAllReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long unsigned int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<long long unsigned int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:348:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long unsigned int>::*)(const long long unsigned int&)' to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:354:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<long long unsigned int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<long long unsigned int>::*)() const'} to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:366:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long unsigned int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<long long unsigned int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:372:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long unsigned int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<long long unsigned int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:378:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Reserve),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<long long unsigned int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<long long unsigned int>::*)() const'} to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:426:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long unsigned int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<long long unsigned int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:432:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<long long unsigned int>::*)() const' to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:438:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<long long unsigned int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<long long unsigned int>::*)() const'} to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:446:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<long long unsigned int>::*)() const' to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:452:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long unsigned int>::*)(const long long unsigned int&)' to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:459:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long unsigned int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<long long unsigned int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<long long unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:471:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = long long int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<long long int>::*)()' to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:307:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetGCFlag), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'int (spades::PrimitiveArray<long long int>::*)()' to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:311:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetRefCount), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long int>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, EnumReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long int>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, ReleaseAllReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<long long int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:348:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long int>::*)(const long long int&)' to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:354:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<long long int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<long long int>::*)() const'} to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:366:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<long long int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:372:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<long long int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:378:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Reserve),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<long long int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<long long int>::*)() const'} to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:426:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<long long int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:432:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<long long int>::*)() const' to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:438:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<long long int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<long long int>::*)() const'} to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:446:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<long long int>::*)() const' to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:452:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long int>::*)(const long long int&)' to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:459:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<long long int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<long long int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<long long int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:471:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = unsigned int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<unsigned int>::*)()' to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:307:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetGCFlag), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'int (spades::PrimitiveArray<unsigned int>::*)()' to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:311:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetRefCount), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned int>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, EnumReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned int>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, ReleaseAllReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<unsigned int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:348:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned int>::*)(const unsigned int&)' to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:354:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<unsigned int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<unsigned int>::*)() const'} to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:366:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<unsigned int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:372:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<unsigned int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:378:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Reserve),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<unsigned int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<unsigned int>::*)() const'} to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:426:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<unsigned int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:432:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<unsigned int>::*)() const' to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:438:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<unsigned int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<unsigned int>::*)() const'} to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:446:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<unsigned int>::*)() const' to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:452:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned int>::*)(const unsigned int&)' to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:459:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<unsigned int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:471:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<int>::*)()' to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:307:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetGCFlag), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'int (spades::PrimitiveArray<int>::*)()' to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:311:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetRefCount), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<int>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, EnumReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<int>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, ReleaseAllReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:348:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<int>::*)(const int&)' to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:354:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<int>::*)() const'} to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:366:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:372:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:378:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Reserve),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<int>::*)() const'} to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:426:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:432:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<int>::*)() const' to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:438:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<int>::*)() const'} to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:446:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<int>::*)() const' to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:452:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<int>::*)(const int&)' to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:459:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:471:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = short unsigned int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<short unsigned int>::*)()' to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:307:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetGCFlag), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'int (spades::PrimitiveArray<short unsigned int>::*)()' to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:311:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetRefCount), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short unsigned int>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, EnumReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short unsigned int>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, ReleaseAllReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short unsigned int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<short unsigned int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:348:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short unsigned int>::*)(const short unsigned int&)' to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:354:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<short unsigned int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<short unsigned int>::*)() const'} to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:366:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short unsigned int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<short unsigned int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:372:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short unsigned int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<short unsigned int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:378:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Reserve),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<short unsigned int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<short unsigned int>::*)() const'} to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:426:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short unsigned int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<short unsigned int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:432:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<short unsigned int>::*)() const' to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:438:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<short unsigned int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<short unsigned int>::*)() const'} to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:446:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<short unsigned int>::*)() const' to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:452:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short unsigned int>::*)(const short unsigned int&)' to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:459:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short unsigned int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<short unsigned int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<short unsigned int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:471:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = short int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<short int>::*)()' to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:307:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetGCFlag), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'int (spades::PrimitiveArray<short int>::*)()' to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:311:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetRefCount), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short int>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, EnumReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short int>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, ReleaseAllReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<short int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:348:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short int>::*)(const short int&)' to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:354:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<short int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<short int>::*)() const'} to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:366:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<short int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:372:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<short int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:378:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Reserve),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<short int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<short int>::*)() const'} to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:426:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<short int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:432:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<short int>::*)() const' to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:438:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<short int>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<short int>::*)() const'} to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:446:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<short int>::*)() const' to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:452:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short int>::*)(const short int&)' to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:459:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<short int>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<short int>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<short int>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:471:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = unsigned char]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<unsigned char>::*)()' to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:307:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetGCFlag), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'int (spades::PrimitiveArray<unsigned char>::*)()' to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:311:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetRefCount), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned char>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, EnumReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned char>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, ReleaseAllReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned char>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<unsigned char>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:348:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned char>::*)(const unsigned char&)' to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:354:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<unsigned char>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<unsigned char>::*)() const'} to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:366:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned char>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<unsigned char>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:372:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned char>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<unsigned char>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:378:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Reserve),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<unsigned char>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<unsigned char>::*)() const'} to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:426:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned char>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<unsigned char>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:432:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<unsigned char>::*)() const' to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:438:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<unsigned char>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<unsigned char>::*)() const'} to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:446:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<unsigned char>::*)() const' to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:452:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned char>::*)(const unsigned char&)' to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:459:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<unsigned char>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<unsigned char>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<unsigned char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:471:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = signed char]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<signed char>::*)()' to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:307:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetGCFlag), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'int (spades::PrimitiveArray<signed char>::*)()' to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:311:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetRefCount), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<signed char>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, EnumReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<signed char>::*)(asIScriptEngine*)' to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, ReleaseAllReferences), asCALL_THISCALL);
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<signed char>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<signed char>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:348:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<signed char>::*)(const signed char&)' to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:354:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<signed char>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<signed char>::*)() const'} to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:366:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<signed char>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<signed char>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:372:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<signed char>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<signed char>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:378:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Reserve),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<signed char>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<signed char>::*)() const'} to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:426:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<signed char>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<signed char>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:432:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, Resize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<signed char>::*)() const' to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:438:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'asUINT (spades::PrimitiveArray<signed char>::*)() const' {aka 'unsigned int (spades::PrimitiveArray<signed char>::*)() const'} to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:446:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, GetSize),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'bool (spades::PrimitiveArray<signed char>::*)() const' to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:452:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, IsEmpty),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<signed char>::*)(const signed char&)' to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:459:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, InsertLast),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:68: warning: cast between incompatible pointer to member types from 'void (spades::PrimitiveArray<signed char>::*)(asUINT)' {aka 'void (spades::PrimitiveArray<signed char>::*)(unsigned int)'} to 'void (spades::PrimitiveArray<signed char>::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^~~~~~~~~~~~~~~~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:471:15: note: in expansion of macro 'asMETHOD'
asMETHOD(ArrayType, RemoveAt),
^~~~~~~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::EnumReferences(asIScriptEngine*) [with T = double]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = double]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:107:40: warning: unused parameter 'eng' [-Wunused-parameter]
void EnumReferences(asIScriptEngine *eng) {}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::ReleaseAllReferences(asIScriptEngine*) [with T = double]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = double]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:108:46: warning: unused parameter 'eng' [-Wunused-parameter]
void ReleaseAllReferences(asIScriptEngine *eng){}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::EnumReferences(asIScriptEngine*) [with T = float]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = float]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:107:40: warning: unused parameter 'eng' [-Wunused-parameter]
void EnumReferences(asIScriptEngine *eng) {}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::ReleaseAllReferences(asIScriptEngine*) [with T = float]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = float]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:108:46: warning: unused parameter 'eng' [-Wunused-parameter]
void ReleaseAllReferences(asIScriptEngine *eng){}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::EnumReferences(asIScriptEngine*) [with T = long long unsigned int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = long long unsigned int]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:107:40: warning: unused parameter 'eng' [-Wunused-parameter]
void EnumReferences(asIScriptEngine *eng) {}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::ReleaseAllReferences(asIScriptEngine*) [with T = long long unsigned int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = long long unsigned int]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:108:46: warning: unused parameter 'eng' [-Wunused-parameter]
void ReleaseAllReferences(asIScriptEngine *eng){}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::EnumReferences(asIScriptEngine*) [with T = long long int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = long long int]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:107:40: warning: unused parameter 'eng' [-Wunused-parameter]
void EnumReferences(asIScriptEngine *eng) {}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::ReleaseAllReferences(asIScriptEngine*) [with T = long long int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = long long int]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:108:46: warning: unused parameter 'eng' [-Wunused-parameter]
void ReleaseAllReferences(asIScriptEngine *eng){}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::EnumReferences(asIScriptEngine*) [with T = unsigned int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = unsigned int]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:107:40: warning: unused parameter 'eng' [-Wunused-parameter]
void EnumReferences(asIScriptEngine *eng) {}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::ReleaseAllReferences(asIScriptEngine*) [with T = unsigned int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = unsigned int]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:108:46: warning: unused parameter 'eng' [-Wunused-parameter]
void ReleaseAllReferences(asIScriptEngine *eng){}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::EnumReferences(asIScriptEngine*) [with T = int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = int]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:107:40: warning: unused parameter 'eng' [-Wunused-parameter]
void EnumReferences(asIScriptEngine *eng) {}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::ReleaseAllReferences(asIScriptEngine*) [with T = int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = int]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:108:46: warning: unused parameter 'eng' [-Wunused-parameter]
void ReleaseAllReferences(asIScriptEngine *eng){}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::EnumReferences(asIScriptEngine*) [with T = short unsigned int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = short unsigned int]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:107:40: warning: unused parameter 'eng' [-Wunused-parameter]
void EnumReferences(asIScriptEngine *eng) {}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::ReleaseAllReferences(asIScriptEngine*) [with T = short unsigned int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = short unsigned int]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:108:46: warning: unused parameter 'eng' [-Wunused-parameter]
void ReleaseAllReferences(asIScriptEngine *eng){}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::EnumReferences(asIScriptEngine*) [with T = short int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = short int]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:107:40: warning: unused parameter 'eng' [-Wunused-parameter]
void EnumReferences(asIScriptEngine *eng) {}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::ReleaseAllReferences(asIScriptEngine*) [with T = short int]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = short int]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:108:46: warning: unused parameter 'eng' [-Wunused-parameter]
void ReleaseAllReferences(asIScriptEngine *eng){}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::EnumReferences(asIScriptEngine*) [with T = unsigned char]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = unsigned char]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:107:40: warning: unused parameter 'eng' [-Wunused-parameter]
void EnumReferences(asIScriptEngine *eng) {}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::ReleaseAllReferences(asIScriptEngine*) [with T = unsigned char]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = unsigned char]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:108:46: warning: unused parameter 'eng' [-Wunused-parameter]
void ReleaseAllReferences(asIScriptEngine *eng){}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::EnumReferences(asIScriptEngine*) [with T = signed char]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:315:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = signed char]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:107:40: warning: unused parameter 'eng' [-Wunused-parameter]
void EnumReferences(asIScriptEngine *eng) {}
~~~~~~~~~~~~~~~~~^~~
${src}/Sources/ScriptBindings/PrimitiveArray.cpp: In instantiation of 'void spades::PrimitiveArray<T>::ReleaseAllReferences(asIScriptEngine*) [with T = signed char]':
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:319:15: required from 'void spades::PrimitiveArrayRegistrar<T>::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase) [with T = signed char]'
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:263:16: required from here
${src}/Sources/ScriptBindings/PrimitiveArray.cpp:108:46: warning: unused parameter 'eng' [-Wunused-parameter]
void ReleaseAllReferences(asIScriptEngine *eng){}
~~~~~~~~~~~~~~~~~^~~
[ 98%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/ScriptFunction.cpp.o
[ 99%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/ScriptManager.cpp.o
${src}/Sources/ScriptBindings/ScriptManager.cpp: In function 'void spades::MessageCallback(const asSMessageInfo*, void*)':
${src}/Sources/ScriptBindings/ScriptManager.cpp:38:63: warning: unused parameter 'param' [-Wunused-parameter]
static void MessageCallback(const asSMessageInfo *msg, void *param){
~~~~~~^~~~~
[ 99%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/StartupScreenHelper.cpp.o
In file included from ${src}/Sources/ScriptBindings/ScriptManager.h:23,
from ${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:21:
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp: In member function 'virtual void spades::StartupScreenHelperRegistrar::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase)':
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::gui::StartupScreenHelper::*)()' to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:62:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, GetNumVideoModes),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::gui::StartupScreenHelper::*)(int)' to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:67:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, GetVideoModeWidth),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::gui::StartupScreenHelper::*)(int)' to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:72:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, GetVideoModeHeight),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::gui::StartupScreenHelper::*)()' to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:77:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, GetNumReportLines),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::StartupScreenHelper::*)()' {aka 'std::__cxx11::basic_string<char> (spades::gui::StartupScreenHelper::*)()'} to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:82:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, GetReport),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::StartupScreenHelper::*)(int)' {aka 'std::__cxx11::basic_string<char> (spades::gui::StartupScreenHelper::*)(int)'} to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:87:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, GetReportLineText),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::Vector4 (spades::gui::StartupScreenHelper::*)(int)' to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:92:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, GetReportLineColor),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::gui::StartupScreenHelper::*)()' to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:97:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, GetNumLocales),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::StartupScreenHelper::*)(int)' {aka 'std::__cxx11::basic_string<char> (spades::gui::StartupScreenHelper::*)(int)'} to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:102:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, GetLocale),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::StartupScreenHelper::*)(int)' {aka 'std::__cxx11::basic_string<char> (spades::gui::StartupScreenHelper::*)(int)'} to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:107:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, GetLocaleDescriptionNative),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::StartupScreenHelper::*)(int)' {aka 'std::__cxx11::basic_string<char> (spades::gui::StartupScreenHelper::*)(int)'} to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:112:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, GetLocaleDescriptionEnglish),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::StartupScreenHelper::*)(const string&, const string&)' {aka 'std::__cxx11::basic_string<char> (spades::gui::StartupScreenHelper::*)(const std::__cxx11::basic_string<char>&, const std::__cxx11::basic_string<char>&)'} to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:117:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, CheckConfigCapability),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (spades::gui::StartupScreenHelper::*)()' to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:127:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, BrowseUserDirectory),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'std::__cxx11::string (spades::gui::StartupScreenHelper::*)()' {aka 'std::__cxx11::basic_string<char> (spades::gui::StartupScreenHelper::*)()'} to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:132:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, GetOperatingSystemType),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'spades::PackageUpdateManager& (spades::gui::StartupScreenHelper::*)()' to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:137:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, GetPackageUpdateManager),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'bool (spades::gui::StartupScreenHelper::*)()' to 'void (spades::gui::StartupScreenHelper::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/StartupScreenHelper.cpp:142:15: note: in expansion of macro 'asMETHOD'
asMETHOD(gui::StartupScreenHelper, OpenUpdateInfoURL),
^~~~~~~~
[ 99%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/StringsScript.cpp.o
In file included from ${src}/Sources/ScriptBindings/StringsScript.cpp:21:
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:284:27: required from 'std::__cxx11::string spades::GetText(const string&, const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:304:18: required from 'std::__cxx11::string spades::CatalogDomainHandle::Get(const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/ScriptBindings/StringsScript.cpp:35:11: required from here
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#0' [-Wunused-parameter]
template <class... T> int CheckPlural(T... args) { return 1; }
~^~~~~~~~
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:284:27: required from 'std::__cxx11::string spades::GetText(const string&, const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:304:18: required from 'std::__cxx11::string spades::CatalogDomainHandle::Get(const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/ScriptBindings/StringsScript.cpp:41:11: required from here
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#0' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#1' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:284:27: required from 'std::__cxx11::string spades::GetText(const string&, const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:304:18: required from 'std::__cxx11::string spades::CatalogDomainHandle::Get(const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/ScriptBindings/StringsScript.cpp:48:11: required from here
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#0' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#1' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#2' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:284:27: required from 'std::__cxx11::string spades::GetText(const string&, const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:304:18: required from 'std::__cxx11::string spades::CatalogDomainHandle::Get(const string&, const string&, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/ScriptBindings/StringsScript.cpp:56:11: required from here
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#0' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#1' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#2' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h:263:41: warning: unused parameter 'args#3' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(int, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:292:27: required from 'std::__cxx11::string spades::GetTextPlural(const string&, const string&, const string&, const string&, T ...) [with T = {int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:309:24: required from 'std::__cxx11::string spades::CatalogDomainHandle::GetPlural(const string&, const string&, const string&, T ...) [with T = {int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/ScriptBindings/StringsScript.cpp:69:11: required from here
${src}/Sources/./Core/Strings.h:264:48: warning: unused parameter 'args#0' [-Wunused-parameter]
template <class... T> int CheckPlural(int v, T... args) { return v; }
~^~~~~~~~
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(int, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:292:27: required from 'std::__cxx11::string spades::GetTextPlural(const string&, const string&, const string&, const string&, T ...) [with T = {int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:309:24: required from 'std::__cxx11::string spades::CatalogDomainHandle::GetPlural(const string&, const string&, const string&, T ...) [with T = {int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/ScriptBindings/StringsScript.cpp:77:11: required from here
${src}/Sources/./Core/Strings.h:264:48: warning: unused parameter 'args#0' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h:264:48: warning: unused parameter 'args#1' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h: In instantiation of 'int spades::CheckPlural(int, T ...) [with T = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]':
${src}/Sources/./Core/Strings.h:292:27: required from 'std::__cxx11::string spades::GetTextPlural(const string&, const string&, const string&, const string&, T ...) [with T = {int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/./Core/Strings.h:309:24: required from 'std::__cxx11::string spades::CatalogDomainHandle::GetPlural(const string&, const string&, const string&, T ...) [with T = {int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::__cxx11::string = std::__cxx11::basic_string<char>]'
${src}/Sources/ScriptBindings/StringsScript.cpp:86:11: required from here
${src}/Sources/./Core/Strings.h:264:48: warning: unused parameter 'args#0' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h:264:48: warning: unused parameter 'args#1' [-Wunused-parameter]
${src}/Sources/./Core/Strings.h:264:48: warning: unused parameter 'args#2' [-Wunused-parameter]
[100%] Building CXX object Sources/CMakeFiles/OpenSpades.dir/ScriptBindings/VoxelModel.cpp.o
In file included from ${src}/Sources/ScriptBindings/ScriptManager.h:23,
from ${src}/Sources/ScriptBindings/VoxelModel.cpp:22:
${src}/Sources/ScriptBindings/VoxelModel.cpp: In member function 'virtual void spades::VoxelModelRegistrar::Register(spades::ScriptManager*, spades::ScriptObjectRegistrar::Phase)':
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::VoxelModel::*)() const' to 'void (spades::VoxelModel::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/VoxelModel.cpp:161:15: note: in expansion of macro 'asMETHOD'
asMETHOD(VoxelModel, GetWidth),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::VoxelModel::*)() const' to 'void (spades::VoxelModel::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/VoxelModel.cpp:166:15: note: in expansion of macro 'asMETHOD'
asMETHOD(VoxelModel, GetHeight),
^~~~~~~~
${src}/Sources/./AngelScript/include/angelscript.h:492:89: warning: cast between incompatible pointer to member types from 'int (spades::VoxelModel::*)() const' to 'void (spades::VoxelModel::*)()' [-Wcast-function-type]
#define asMETHOD(c,m) asSMethodPtr<sizeof(void (c::*)())>::Convert((void (c::*)())(&c::m))
^
${src}/Sources/ScriptBindings/VoxelModel.cpp:171:15: note: in expansion of macro 'asMETHOD'
asMETHOD(VoxelModel, GetDepth),
^~~~~~~~
[100%] Linking CXX executable ../bin/openspades
[100%] Built target OpenSpades
[ 1%] Packing assets
[ 1%] Built target OpenSpades_Unix
${src}/Resources ${src}/build/Resources
BASEURL ************ https://github.com/yvt/openspades-paks/releases/download/r33/OpenSpadesDevPackage-r33.zip
[ 6%] Built target Angelscript_addons
[ 6%] Built target OpenSpades_Resources_DevPaks
[ 17%] Built target Angelscript
${src}/build/Resources
[100%] Built target OpenSpades
[100%] Built target OpenSpades_Resources
Install the project...
-- Install configuration: "Release"
-- Installing: ${install}/usr/share/doc/openspades/AUTHORS
-- Installing: ${install}/usr/share/doc/openspades/LICENSE
-- Installing: ${install}/usr/share/doc/openspades/README.md
-- Installing: ${install}/usr/share/menu/openspades
-- Installing: ${install}/usr/share/man/man6/openspades.6.gz
-- Installing: ${install}/usr/share/doc/openspades/changelog.gz
-- Installing: ${install}/usr/share/doc/openspades/copyright
-- Installing: ${install}/usr/share/openspades/Resources/pak000-Nonfree.pak
-- Installing: ${install}/usr/share/openspades/Resources/pak002-Base.pak
-- Installing: ${install}/usr/share/openspades/Resources/pak005-Models.pak
-- Installing: ${install}/usr/share/openspades/Resources/pak010-BaseSkin.pak
-- Installing: ${install}/usr/share/openspades/Resources/pak050-Locales.pak
-- Installing: ${install}/usr/share/openspades/Resources/pak999-References.pak
-- Installing: ${install}/usr/share/openspades/Resources/font-unifont.pak
-- Installing: ${install}/usr/share/openspades/Resources/PackageInfo.json
-- Installing: ${install}/usr/share/icons/hicolor
-- Installing: ${install}/usr/share/icons/hicolor/*
-- Installing: ${install}/usr/share/icons/hicolor/*/apps
-- Installing: ${install}/usr/share/pixmaps/openspades.xpm
-- Installing: ${install}/usr/bin/openspades
-- Installing: ${install}/usr/share/applications/openspades.desktop
================================================================================
Executing strip on all files... Done
Time: 2.37s. Size: 4911432 B -> 4911432 B. Save: 0 KB.
Recompressing gzip files... Done
Time: 1.00s. Size: 156 B -> 151 B. Save: 0 KB. Cache hit: 0/1.
Compressing man pages... Done
Time: 1.43s. Size: 634 B -> 630 B. Save: 0 KB. Cache hit: 0/1.
QA: Checking openspades.desktop...
|--- ${install}/usr/share/applications/openspades.desktop.orig
|+++ ${install}/usr/share/applications/openspades.desktop
|@@ -1,12 +1,8 @@
| [Desktop Entry]
|-Version=1.0
| Type=Application
|-Terminal=false
|-Exec=openspades %U
| Name=OpenSpades
|-GenericName=Sandbox building and FPS videogame
| Comment=Open-source clone of Ace of Spades
|-Keywords=game;fps;sandbox;voxel;aos;
|+Exec=openspades %U
| Icon=openspades
| Categories=Game;ActionGame;
| MimeType=x-scheme-handler/aos;
Done
Time: 1.88s. Size: 297 B -> 186 B. Save: 0 KB.
================================================================================
Build dependencies to remove: 122
Removing: alsa-lib cmake3 curl curl-dev dbus fftw file freealut freealut-dev freeglut gcc83(kept) gdk-pixbuf glew glew-dev gmp-dev gnutls gnutls-dev graphviz grep gtk-doc ilmbase imagemagick jasper jbigkit jpeg jpeg-dev lcms lesstif libcroco libcrypto-dev libcurl libdrm libdrm-dev libdrm-intel libdrm-nouveau libdrm-radeon libgcrypt-dev libgd libglu-mesa libglu-mesa-dev libglw-mesa libglw-mesa-dev libgnutls libgpg-error-dev libgsf libidn libidn-dev libjpeg libltdl libmagic libogg libogg-dev libpthread-stubs librsvg libsdl2 libsdl2-dev libsdl2-image libsdl2-image-dev libtasn1 libtasn1-dev libunistring-dev libwebp libxcb-dev linux-agp linux-drm mesa mesa-dev mesa-dri mesa-dri-ati mesa-dri-intel mesa-dri-nouveau nettle nettle-dev openal openal-dev openexr openssl-dev opus opus-dev opusfile opusfile-dev p11-kit p11-kit-dev pango shared-mime-info tiff unzip xorg-damageproto xorg-dri2proto xorg-fixesproto xorg-glproto xorg-inputproto xorg-kbproto xorg-libICE xorg-libICE-dev xorg-libSM xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdamage xorg-libXdamage-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXfixes xorg-libXfixes-dev xorg-libXft xorg-libXi xorg-libXmu xorg-libXp xorg-libXpm xorg-libXrandr xorg-libXt xorg-libXt-dev xorg-libXxf86vm xorg-libXxf86vm-dev xorg-libpciaccess xorg-util-macros xorg-xextproto xorg-xf86vidmodeproto xorg-xproto xorg-xtrans zip
Pack: openspades 0.1.3
================================================================================
Executing: genpkg_rules
Copying "receipt"... Done
Copying "description.txt"... Done
Determining package architecture... i486
Creating the list of files... Done
Creating md5sum of files... Done
Compressing the FS... Done
Creating full cpio archive... Done
QA: checking for empty package... Done
Removing old package "openspades-0.1.3.tazpkg" Done
The release checksum has changed.
================================================================================
Package "openspades-0.1.3.tazpkg" created
Post-check
================================================================================
Checking build... Done
Checking 'any' arch... Done
Checking libtool in source/openspades-0.1.3... Done
Checking site script in source/openspades-0.1.3... Done
Checking ownership in install... Done
Checking permissions in install... Done
Checking broken symlinks in install... Done
Updating activity log... Done
================================================================================
Debug information packerr.
================================================================================
Cook date: 2026-07-14 22:46
Wasted time : 296s ~ 04m 56s
289:convert: unable to open image 'tmp/256x256.png': No such file or directory @ error/blob.c/OpenBlob/3527.
292:rm: can't remove 'tmp/40x40.png': No such file or directory
293:mv: can't rename 'tmp/*.png': No such file or directory
================================================================================