cd: /wrkdirs/usr/ports/games/ufoai/work/ufoai-2.5-source/contrib/installer/mojosetup/scripts: No such file or directory
ls: *.lua: No such file or directory
===> CXX [game] src/game/g_inventory.cpp
In file included from src/game/g_inventory.cpp:25:
In file included from src/game/g_inventory.h:27:
In file included from src/game/g_local.h:31:
In file included from src/game/q_shared.h:34:
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/game/g_inventory.cpp:25:
In file included from src/game/g_inventory.h:27:
In file included from src/game/g_local.h:317:
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
src/game/g_svcmds.cpp:101:13: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align]
f->mask = *(unsigned *) m;
^~~~~~~~~~~~~~
src/game/g_svcmds.cpp:102:16: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align]
f->compare = *(unsigned *) b;
^~~~~~~~~~~~~~
src/game/g_svcmds.cpp:127:8: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align]
in = *(unsigned *) m;
^~~~~~~~~~~~~~
src/game/g_svcmds.cpp:201:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align]
*(unsigned *) b = ipfilters[i].compare;
^~~~~~~~~~~~~~
src/game/g_svcmds.cpp:229:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align]
*(unsigned *) b = ipfilters[i].compare;
^~~~~~~~~~~~~~
17 warnings generated.
===> CXX [game] src/game/g_main.cpp
In file included from src/game/g_main.cpp:29:
In file included from src/game/g_local.h:31:
In file included from src/game/q_shared.h:34:
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
src/game/g_edicts.cpp:134:9: warning: destination for this 'memcpy' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
memcpy(duplicate, edict, sizeof(*edict));
~~~~~~ ^
src/game/g_edicts.cpp:134:9: note: explicitly cast the pointer to silence this warning
memcpy(duplicate, edict, sizeof(*edict));
^
(void*)
13 warnings generated.
===> CXX [game] src/game/g_spawn.cpp
In file included from src/game/g_spawn.cpp:29:
In file included from src/game/g_spawn.h:31:
In file included from src/game/g_local.h:31:
In file included from src/game/q_shared.h:34:
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/g_edict.h:176:3: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*this);
^~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/game/../common/../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/shared/../common/common.h:30:
In file included from src/shared/../common/../shared/shared.h:52:
src/shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/shared/mathlib.cpp:202:6: warning: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value]
if (EQUAL(max, 0.0)) {
^
src/shared/vector.h:37:21: note: expanded from macro 'EQUAL'
#define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f)
^
src/shared/mathlib.cpp:202:6: note: use function 'std::abs' instead
src/shared/vector.h:37:21: note: expanded from macro 'EQUAL'
#define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f)
^
src/shared/mathlib.cpp:244:7: warning: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value]
if (!EQUAL(length, 0.0)) {
^
src/shared/vector.h:37:21: note: expanded from macro 'EQUAL'
#define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f)
^
src/shared/mathlib.cpp:244:7: note: use function 'std::abs' instead
src/shared/vector.h:37:21: note: expanded from macro 'EQUAL'
#define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f)
^
src/shared/mathlib.cpp:975:8: warning: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value]
if (!EQUAL(value1[0], 0.0))
^
src/shared/vector.h:37:21: note: expanded from macro 'EQUAL'
#define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f)
^
src/shared/mathlib.cpp:975:8: note: use function 'std::abs' instead
src/shared/vector.h:37:21: note: expanded from macro 'EQUAL'
#define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f)
^
13 warnings generated.
===> CXX [game] src/shared/aabb.cpp
===> CXX [game] src/shared/shared.cpp
In file included from src/shared/shared.cpp:28:
In file included from src/shared/shared.h:52:
src/shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/shared/infostring.cpp:29:
In file included from src/shared/../common/common.h:30:
In file included from src/shared/../common/../shared/shared.h:52:
src/shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/chr_shared.cpp:208:69: warning: address of array 'chrTemplate->id' will always evaluate to 'true' [-Wpointer-bool-conversion]
for (chrTemplate = teamDef->characterTemplates[0]; chrTemplate->id; chrTemplate++) {
~~~ ~~~~~~~~~~~~~^~
11 warnings generated.
===> CXX [game] src/game/inv_shared.cpp
In file included from src/game/inv_shared.cpp:28:
In file included from src/game/q_shared.h:34:
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/game/inv_shared.cpp:551:6: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
if (this == nullptr || other == nullptr)
^~~~ ~~~~~~~
src/game/inv_shared.cpp:636:7: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
if (!this)
~^~~~
12 warnings generated.
===> CXX [game] src/game/inventory.cpp
In file included from src/game/inventory.cpp:25:
In file included from src/game/inventory.h:30:
In file included from src/game/q_shared.h:34:
In file included from src/game/../shared/shared.h:52:
src/game/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/tools/../common/common.h:30:
In file included from src/tools/../common/../shared/shared.h:52:
src/tools/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/../common/cvar.h:37:
In file included from src/client/../common/../shared/shared.h:52:
src/client/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/../common/common.h:30:
In file included from src/client/../common/../shared/shared.h:52:
src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/../common/common.h:30:
In file included from src/client/../common/../shared/shared.h:52:
src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_popup.h:27:
src/client/cgame/../ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(uiNode_t* node);
^
src/client/cgame/../ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here
virtual void draw(uiNode_t* node) {}
^
src/client/cl_main.cpp:240:2: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(cl);
^~~~~~~~~~~
src/client/cgame/../ui/../../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/client/cgame/../ui/../../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
src/client/cl_main.cpp:674:29: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
const int result = sscanf(OPTIONEXTRADATA(option).label, "%i x %i", &width, &height);
^~~~~~~~~~~~~~~~~~~~~~~
src/client/cgame/../ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
In file included from src/client/cl_inventory.cpp:27:
In file included from src/client/client.h:31:
In file included from src/client/cl_shared.h:28:
In file included from src/client/../common/common.h:30:
In file included from src/client/../common/../shared/shared.h:52:
src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/cl_inventory.cpp:31:
In file included from src/client/ui/ui_popup.h:27:
src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(uiNode_t* node);
^
src/client/ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here
virtual void draw(uiNode_t* node) {}
^
src/client/cl_inventory.cpp:370:6: warning: comparison of nonnull parameter 'inv' equal to a null pointer is 'false' on first encounter [-Wtautological-pointer-compare]
if (inv == nullptr)
^~~ ~~~~~~~
src/client/cl_inventory.h:69:166: note: declared 'nonnull' here
In file included from src/client/../common/common.h:30:
In file included from src/client/../common/../shared/shared.h:52:
src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_popup.h:27:
src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(uiNode_t* node);
^
src/client/ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here
virtual void draw(uiNode_t* node) {}
^
11 warnings generated.
===> CXX [ufo] src/client/cl_console.cpp
In file included from src/client/cl_console.cpp:30:
In file included from src/client/client.h:31:
In file included from src/client/cl_shared.h:28:
In file included from src/client/../common/common.h:30:
In file included from src/client/../common/../shared/shared.h:52:
src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/cl_inventory_callbacks.cpp:26:
In file included from src/client/cl_shared.h:28:
In file included from src/client/../common/common.h:30:
In file included from src/client/../common/../shared/shared.h:52:
src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/cl_inventory_callbacks.cpp:31:
In file included from src/client/ui/ui_popup.h:27:
src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(uiNode_t* node);
^
src/client/ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here
virtual void draw(uiNode_t* node) {}
^
11 warnings generated.
===> CXX [ufo] src/client/cl_screen.cpp
In file included from src/client/cl_screen.cpp:36:
In file included from src/client/client.h:31:
In file included from src/client/cl_shared.h:28:
In file included from src/client/../common/common.h:30:
In file included from src/client/../common/../shared/shared.h:52:
src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/cl_language.cpp:26:
In file included from src/client/client.h:31:
In file included from src/client/cl_shared.h:28:
In file included from src/client/../common/common.h:30:
In file included from src/client/../common/../shared/shared.h:52:
src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/cl_tutorials.cpp:26:
In file included from src/client/client.h:31:
In file included from src/client/cl_shared.h:28:
In file included from src/client/../common/common.h:30:
In file included from src/client/../common/../shared/shared.h:52:
src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/../common/common.h:30:
In file included from src/client/../common/../shared/shared.h:52:
src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/../common/common.h:30:
In file included from src/client/../common/../shared/shared.h:52:
src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/../common/common.h:30:
In file included from src/client/../common/../shared/shared.h:52:
src/client/../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_popup.h:27:
src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(uiNode_t* node);
^
src/client/ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here
virtual void draw(uiNode_t* node) {}
^
11 warnings generated.
===> CXX [ufo] src/client/input/cl_keys.cpp
In file included from src/client/input/cl_keys.cpp:31:
In file included from src/client/input/../client.h:31:
In file included from src/client/input/../cl_shared.h:28:
In file included from src/client/input/../../common/common.h:30:
In file included from src/client/input/../../common/../shared/shared.h:52:
src/client/input/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/input/cl_input.cpp:41:
In file included from src/client/input/../client.h:31:
In file included from src/client/input/../cl_shared.h:28:
In file included from src/client/input/../../common/common.h:30:
In file included from src/client/input/../../common/../shared/shared.h:52:
src/client/input/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/input/cl_joystick.cpp:27:
In file included from src/client/input/../client.h:31:
In file included from src/client/input/../cl_shared.h:28:
In file included from src/client/input/../../common/common.h:30:
In file included from src/client/input/../../common/../shared/shared.h:52:
src/client/input/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/cinematic/cl_cinematic_ogm.cpp:13:
In file included from src/client/cinematic/../client.h:31:
In file included from src/client/cinematic/../cl_shared.h:28:
In file included from src/client/cinematic/../../common/common.h:30:
In file included from src/client/cinematic/../../common/../shared/shared.h:52:
src/client/cinematic/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/cinematic/cl_cinematic.cpp:34:
In file included from src/client/cinematic/../cl_video.h:33:
In file included from src/client/cinematic/../../common/cvar.h:37:
In file included from src/client/cinematic/../../common/../shared/shared.h:52:
src/client/cinematic/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/cinematic/cl_sequence.cpp:30:
In file included from src/client/cinematic/../client.h:31:
In file included from src/client/cinematic/../cl_shared.h:28:
In file included from src/client/cinematic/../../common/common.h:30:
In file included from src/client/cinematic/../../common/../shared/shared.h:52:
src/client/cinematic/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/cinematic/cl_cinematic_roq.cpp:29:
In file included from src/client/cinematic/../client.h:31:
In file included from src/client/cinematic/../cl_shared.h:28:
In file included from src/client/cinematic/../../common/common.h:30:
In file included from src/client/cinematic/../../common/../shared/shared.h:52:
src/client/cinematic/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/cinematic/../../common/../shared/byte.h:35:44: note: expanded from macro 'LittleShort'
#define LittleShort(X) (short)SDL_SwapLE16(X)
~~~~~~~~~~~~~^~
/usr/local/include/SDL/SDL_endian.h:192:26: note: expanded from macro 'SDL_SwapLE16'
#define SDL_SwapLE16(X) (X)
^
src/client/cinematic/cl_cinematic_roq.cpp:584:26: warning: cast from 'byte *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align]
chunk.id = LittleShort(*(short*)&header[0]);
^~~~~~~~~~~~~~~~~~
src/client/cinematic/../../common/../shared/byte.h:35:44: note: expanded from macro 'LittleShort'
#define LittleShort(X) (short)SDL_SwapLE16(X)
^
/usr/local/include/SDL/SDL_endian.h:192:26: note: expanded from macro 'SDL_SwapLE16'
#define SDL_SwapLE16(X) (X)
^
src/client/cinematic/cl_cinematic_roq.cpp:585:27: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align]
chunk.size = LittleLong(*(int*)&header[2]);
^~~~~~~~~~~~~~~~
src/client/cinematic/../../common/../shared/byte.h:37:41: note: expanded from macro 'LittleLong'
#define LittleLong(X) (int)SDL_SwapLE32(X)
^
/usr/local/include/SDL/SDL_endian.h:193:26: note: expanded from macro 'SDL_SwapLE32'
#define SDL_SwapLE32(X) (X)
^
src/client/cinematic/cl_cinematic_roq.cpp:586:29: warning: cast from 'byte *' (aka 'unsigned char *') to 'short *' increases required alignment from 1 to 2 [-Wcast-align]
chunk.flags = LittleShort(*(short*)&header[6]);
^~~~~~~~~~~~~~~~~~
src/client/cinematic/../../common/../shared/byte.h:35:44: note: expanded from macro 'LittleShort'
#define LittleShort(X) (short)SDL_SwapLE16(X)
^
/usr/local/include/SDL/SDL_endian.h:192:26: note: expanded from macro 'SDL_SwapLE16'
#define SDL_SwapLE16(X) (X)
^
16 warnings generated.
===> CXX [ufo] src/client/battlescape/cl_hud.cpp
In file included from src/client/battlescape/cl_hud.cpp:26:
In file included from src/client/battlescape/../client.h:31:
In file included from src/client/battlescape/../cl_shared.h:28:
In file included from src/client/battlescape/../../common/common.h:30:
In file included from src/client/battlescape/../../common/../shared/shared.h:52:
src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/cl_hud.cpp:34:
In file included from src/client/battlescape/../ui/ui_popup.h:27:
src/client/battlescape/../cgame/../ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(uiNode_t* node);
^
src/client/battlescape/../cgame/../ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here
In file included from src/client/battlescape/cl_camera.cpp:28:
In file included from src/client/battlescape/../client.h:31:
In file included from src/client/battlescape/../cl_shared.h:28:
In file included from src/client/battlescape/../../common/common.h:30:
In file included from src/client/battlescape/../../common/../shared/shared.h:52:
src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/cl_view.cpp:29:
In file included from src/client/battlescape/../client.h:31:
In file included from src/client/battlescape/../cl_shared.h:28:
In file included from src/client/battlescape/../../common/common.h:30:
In file included from src/client/battlescape/../../common/../shared/shared.h:52:
src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/cl_hud_callbacks.cpp:25:
In file included from src/client/battlescape/../client.h:31:
In file included from src/client/battlescape/../cl_shared.h:28:
In file included from src/client/battlescape/../../common/common.h:30:
In file included from src/client/battlescape/../../common/../shared/shared.h:52:
src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/cl_battlescape.cpp:25:
In file included from src/client/battlescape/../client.h:31:
In file included from src/client/battlescape/../cl_shared.h:28:
In file included from src/client/battlescape/../../common/common.h:30:
In file included from src/client/battlescape/../../common/../shared/shared.h:52:
src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/cl_ugv.cpp:26:
In file included from src/client/battlescape/../client.h:31:
In file included from src/client/battlescape/../cl_shared.h:28:
In file included from src/client/battlescape/../../common/common.h:30:
In file included from src/client/battlescape/../../common/../shared/shared.h:52:
src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/cl_particle.cpp:26:
In file included from src/client/battlescape/../client.h:31:
In file included from src/client/battlescape/../cl_shared.h:28:
In file included from src/client/battlescape/../../common/common.h:30:
In file included from src/client/battlescape/../../common/../shared/shared.h:52:
src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/cl_localentity.cpp:26:
In file included from src/client/battlescape/../client.h:31:
In file included from src/client/battlescape/../cl_shared.h:28:
In file included from src/client/battlescape/../../common/common.h:30:
In file included from src/client/battlescape/../../common/../shared/shared.h:52:
src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/battlescape/cl_localentity.cpp:1217:2: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(*le);
^~~~~~~~~~~~
src/client/battlescape/../sound/../../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/client/battlescape/../sound/../../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/client/battlescape/cl_actor.cpp:26:
In file included from src/client/battlescape/../client.h:31:
In file included from src/client/battlescape/../cl_shared.h:28:
In file included from src/client/battlescape/../../common/common.h:30:
In file included from src/client/battlescape/../../common/../shared/shared.h:52:
src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/cl_actor.cpp:35:
In file included from src/client/battlescape/../ui/ui_popup.h:27:
src/client/battlescape/../cgame/../ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(uiNode_t* node);
^
src/client/battlescape/../cgame/../ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here
In file included from src/client/battlescape/cl_parse.cpp:26:
In file included from src/client/battlescape/../client.h:31:
In file included from src/client/battlescape/../cl_shared.h:28:
In file included from src/client/battlescape/../../common/common.h:30:
In file included from src/client/battlescape/../../common/../shared/shared.h:52:
src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/cl_radar.cpp:26:
In file included from src/client/battlescape/../client.h:31:
In file included from src/client/battlescape/../cl_shared.h:28:
In file included from src/client/battlescape/../../common/common.h:30:
In file included from src/client/battlescape/../../common/../shared/shared.h:52:
src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/cl_spawn.cpp:26:
In file included from src/client/battlescape/../client.h:31:
In file included from src/client/battlescape/../cl_shared.h:28:
In file included from src/client/battlescape/../../common/common.h:30:
In file included from src/client/battlescape/../../common/../shared/shared.h:52:
src/client/battlescape/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/e_main.cpp:25:
In file included from src/client/battlescape/events/../../client.h:31:
In file included from src/client/battlescape/events/../../cl_shared.h:28:
In file included from src/client/battlescape/events/../../../common/common.h:30:
In file included from src/client/battlescape/events/../../../common/../shared/shared.h:52:
src/client/battlescape/events/../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/battlescape/events/e_main.cpp:224:7: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
if (!FS_CheckFile("sounds/%s%02i", sound, i) == -1)
^ ~~
src/client/battlescape/events/e_main.cpp:224:7: note: add parentheses after the '!' to evaluate the comparison first
if (!FS_CheckFile("sounds/%s%02i", sound, i) == -1)
^
( )
src/client/battlescape/events/e_main.cpp:224:7: note: add parentheses around left hand side expression to silence this warning
if (!FS_CheckFile("sounds/%s%02i", sound, i) == -1)
^
( )
src/client/battlescape/events/e_main.cpp:224:48: warning: result of comparison of constant -1 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare]
if (!FS_CheckFile("sounds/%s%02i", sound, i) == -1)
In file included from src/client/battlescape/events/e_parse.cpp:40:
In file included from src/client/battlescape/events/../../client.h:31:
In file included from src/client/battlescape/events/../../cl_shared.h:28:
In file included from src/client/battlescape/events/../../../common/common.h:30:
In file included from src/client/battlescape/events/../../../common/../shared/shared.h:52:
src/client/battlescape/events/../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/e_server.cpp:27:
In file included from src/client/battlescape/events/../../client.h:31:
In file included from src/client/battlescape/events/../../cl_shared.h:28:
In file included from src/client/battlescape/events/../../../common/common.h:30:
In file included from src/client/battlescape/events/../../../common/../shared/shared.h:52:
src/client/battlescape/events/../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorreactionfireaddtarget.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actordie.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorturn.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorshoot.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorappear.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorstatechange.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorstartshoot.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorthrow.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorresetclientaction.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorwound.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorreactionfiretargetupdate.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorrevitalised.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorreactionfireremovetarget.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorendshot.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actoradd.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorclientaction.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorreservationchange.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorreactionfirechange.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actormove.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorshoothidden.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/actor/e_event_actorstats.cpp:25:
In file included from src/client/battlescape/events/event/actor/../../../../client.h:31:
In file included from src/client/battlescape/events/event/actor/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/actor/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/actor/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/actor/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/inventory/e_event_invadd.cpp:25:
In file included from src/client/battlescape/events/event/inventory/../../../../client.h:31:
In file included from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/inventory/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/inventory/e_event_invdel.cpp:25:
In file included from src/client/battlescape/events/event/inventory/../../../../client.h:31:
In file included from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/inventory/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/inventory/e_event_invammo.cpp:25:
In file included from src/client/battlescape/events/event/inventory/../../../../client.h:31:
In file included from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/inventory/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/inventory/e_event_invreload.cpp:25:
In file included from src/client/battlescape/events/event/inventory/../../../../client.h:31:
In file included from src/client/battlescape/events/event/inventory/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/inventory/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/inventory/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/inventory/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/player/e_event_reset.cpp:25:
In file included from src/client/battlescape/events/event/player/../../../../client.h:31:
In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/player/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/player/e_event_startgame.cpp:26:
In file included from src/client/battlescape/events/event/player/../../../../client.h:31:
In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/player/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/player/e_event_results.cpp:25:
In file included from src/client/battlescape/events/event/player/../../../../client.h:31:
In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/player/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/player/e_event_centerview.cpp:25:
In file included from src/client/battlescape/events/event/player/../../../../client.h:31:
In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/player/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/player/e_event_doendround.cpp:25:
In file included from src/client/battlescape/events/event/player/../../../../client.h:31:
In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/player/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/player/e_event_endroundannounce.cpp:25:
In file included from src/client/battlescape/events/event/player/../../../../client.h:31:
In file included from src/client/battlescape/events/event/player/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/player/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/player/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/player/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/world/e_event_entperish.cpp:25:
In file included from src/client/battlescape/events/event/world/../../../../client.h:31:
In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/world/e_event_particleappear.cpp:25:
In file included from src/client/battlescape/events/event/world/../../../../client.h:31:
In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/world/e_event_dooropen.cpp:25:
In file included from src/client/battlescape/events/event/world/../../../../client.h:31:
In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/world/e_event_particlespawn.cpp:25:
In file included from src/client/battlescape/events/event/world/../../../../client.h:31:
In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/world/e_event_entdestroy.cpp:25:
In file included from src/client/battlescape/events/event/world/../../../../client.h:31:
In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/world/e_event_cameraappear.cpp:25:
In file included from src/client/battlescape/events/event/world/../../../../client.h:31:
In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/world/e_event_sound.cpp:25:
In file included from src/client/battlescape/events/event/world/../../../../client.h:31:
In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/world/e_event_entappear.cpp:25:
In file included from src/client/battlescape/events/event/world/../../../../client.h:31:
In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/world/e_event_explode.cpp:25:
In file included from src/client/battlescape/events/event/world/../../../../client.h:31:
In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/world/e_event_doorclose.cpp:25:
In file included from src/client/battlescape/events/event/world/../../../../client.h:31:
In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/world/e_event_addedict.cpp:25:
In file included from src/client/battlescape/events/event/world/../../../../client.h:31:
In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/battlescape/events/event/world/e_event_addbrushmodel.cpp:25:
In file included from src/client/battlescape/events/event/world/../../../../client.h:31:
In file included from src/client/battlescape/events/event/world/../../../../cl_shared.h:28:
In file included from src/client/battlescape/events/event/world/../../../../../common/common.h:30:
In file included from src/client/battlescape/events/event/world/../../../../../common/../shared/shared.h:52:
src/client/battlescape/events/event/world/../../../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/sound/s_mumble.cpp:7:
In file included from src/client/sound/../client.h:31:
In file included from src/client/sound/../cl_shared.h:28:
In file included from src/client/sound/../../common/common.h:30:
In file included from src/client/sound/../../common/../shared/shared.h:52:
src/client/sound/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/sound/s_main.cpp:26:
In file included from src/client/sound/../client.h:31:
In file included from src/client/sound/../cl_shared.h:28:
In file included from src/client/sound/../../common/common.h:30:
In file included from src/client/sound/../../common/../shared/shared.h:52:
src/client/sound/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/sound/s_mix.cpp:26:
In file included from src/client/sound/../cl_shared.h:28:
In file included from src/client/sound/../../common/common.h:30:
In file included from src/client/sound/../../common/../shared/shared.h:52:
src/client/sound/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/sound/s_music.cpp:26:
In file included from src/client/sound/s_local.h:31:
In file included from src/client/sound/../../shared/shared.h:52:
src/client/sound/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/sound/s_music.cpp:445:24: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const short *' increases required alignment from 1 to 2 [-Wcast-align]
src/client/sound/../../common/../shared/byte.h:35:44: note: expanded from macro 'LittleShort'
#define LittleShort(X) (short)SDL_SwapLE16(X)
^
/usr/local/include/SDL/SDL_endian.h:192:26: note: expanded from macro 'SDL_SwapLE16'
#define SDL_SwapLE16(X) (X)
^
src/client/sound/s_music.cpp:447:24: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const short *' increases required alignment from 1 to 2 [-Wcast-align]
src/client/sound/s_music.cpp:455:24: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const short *' increases required alignment from 1 to 2 [-Wcast-align]
*ptr = LittleShort(((const short*) data)[i * 2]);
^~~~~~~~~~~~~~~~~~~
src/client/sound/../../common/../shared/byte.h:35:44: note: expanded from macro 'LittleShort'
#define LittleShort(X) (short)SDL_SwapLE16(X)
^
/usr/local/include/SDL/SDL_endian.h:192:26: note: expanded from macro 'SDL_SwapLE16'
#define SDL_SwapLE16(X) (X)
^
src/client/sound/s_music.cpp:457:24: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const short *' increases required alignment from 1 to 2 [-Wcast-align]
src/client/sound/../../common/../shared/byte.h:35:44: note: expanded from macro 'LittleShort'
#define LittleShort(X) (short)SDL_SwapLE16(X)
^
/usr/local/include/SDL/SDL_endian.h:192:26: note: expanded from macro 'SDL_SwapLE16'
#define SDL_SwapLE16(X) (X)
^
16 warnings generated.
===> CXX [ufo] src/client/sound/s_sample.cpp
In file included from src/client/sound/s_sample.cpp:26:
In file included from src/client/sound/s_sample.h:30:
In file included from src/client/sound/s_local.h:31:
In file included from src/client/sound/../../shared/shared.h:52:
src/client/sound/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/cgame/cl_game.cpp:26:
In file included from src/client/cgame/cl_game.h:28:
In file included from src/client/cgame/../cl_shared.h:28:
In file included from src/client/cgame/../../common/common.h:30:
In file included from src/client/cgame/../../common/../shared/shared.h:52:
src/client/cgame/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/cgame/cl_game.cpp:36:
In file included from src/client/cgame/../ui/ui_popup.h:27:
src/client/cgame/../ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(uiNode_t* node);
^
src/client/cgame/../ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here
virtual void draw(uiNode_t* node) {}
^
src/client/cgame/cl_game.cpp:1826:2: warning: destination for this 'memset' call is a pointer to class containing a dynamic class 'Inventory'; vtable pointer will be overwritten [-Wdynamic-class-memaccess]
OBJZERO(characters);
^~~~~~~~~~~~~~~~~~~
src/client/cgame/../ui/../../shared/shared.h:177:26: note: expanded from macro 'OBJZERO'
#define OBJZERO(obj) OBJSET((obj), 0)
^~~~~~~~~~~~~~~~
src/client/cgame/../ui/../../shared/shared.h:176:34: note: expanded from macro 'OBJSET'
In file included from src/client/cgame/cl_game_team.cpp:26:
In file included from src/client/cgame/../client.h:31:
In file included from src/client/cgame/../cl_shared.h:28:
In file included from src/client/cgame/../../common/common.h:30:
In file included from src/client/cgame/../../common/../shared/shared.h:52:
src/client/cgame/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/cgame/cl_game_team.cpp:33:
In file included from src/client/cgame/../ui/ui_popup.h:27:
src/client/cgame/../ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(uiNode_t* node);
^
src/client/cgame/../ui/node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here
virtual void draw(uiNode_t* node) {}
^
11 warnings generated.
===> CXX [ufo] src/client/web/web_main.cpp
In file included from src/client/web/web_main.cpp:27:
In file included from src/client/web/web_main.h:29:
In file included from src/client/web/../../common/common.h:30:
In file included from src/client/web/../../common/../shared/shared.h:52:
src/client/web/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/web/web_cgame.cpp:27:
In file included from src/client/web/web_main.h:29:
In file included from src/client/web/../../common/common.h:30:
In file included from src/client/web/../../common/../shared/shared.h:52:
src/client/web/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_main.cpp:25:
In file included from src/client/ui/ui_main.h:27:
In file included from src/client/ui/ui_data.h:30:
In file included from src/client/ui/../../shared/shared.h:52:
src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_draw.cpp:25:
In file included from src/client/ui/ui_main.h:27:
In file included from src/client/ui/ui_data.h:30:
In file included from src/client/ui/../../shared/shared.h:52:
src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_actions.cpp:25:
In file included from src/client/ui/ui_main.h:27:
In file included from src/client/ui/ui_data.h:30:
In file included from src/client/ui/../../shared/shared.h:52:
src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_node.cpp:27:
In file included from src/client/ui/ui_main.h:27:
In file included from src/client/ui/ui_data.h:30:
In file included from src/client/ui/../../shared/shared.h:52:
src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_behaviour.cpp:25:
In file included from src/client/ui/ui_main.h:27:
In file included from src/client/ui/ui_data.h:30:
In file included from src/client/ui/../../shared/shared.h:52:
src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_nodes.cpp:25:
In file included from src/client/ui/ui_main.h:27:
In file included from src/client/ui/ui_data.h:30:
In file included from src/client/ui/../../shared/shared.h:52:
src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_dragndrop.cpp:25:
In file included from src/client/ui/ui_internal.h:35:
In file included from src/client/ui/node/ui_node_window.h:28:
In file included from src/client/ui/node/ui_node_abstractnode.h:28:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/../../common/scripts.h:28:
In file included from src/client/ui/../../common/common.h:30:
In file included from src/client/ui/../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_windows.cpp:25:
In file included from src/client/ui/ui_main.h:27:
In file included from src/client/ui/ui_data.h:30:
In file included from src/client/ui/../../shared/shared.h:52:
src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/ui_windows.cpp:491:6: warning: cast from 'const char *' to 'const windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (WINDOWEXTRADATACONST(window).preventTypingEscape)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/ui_windows.cpp:39:37: note: expanded from macro 'WINDOWEXTRADATACONST'
In file included from src/client/ui/ui_expression.cpp:25:
In file included from src/client/ui/ui_expression.h:27:
In file included from src/client/ui/../../common/common.h:30:
In file included from src/client/ui/../../common/../shared/shared.h:52:
src/client/ui/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_font.cpp:25:
In file included from src/client/ui/ui_main.h:27:
In file included from src/client/ui/ui_data.h:30:
In file included from src/client/ui/../../shared/shared.h:52:
src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_timer.cpp:25:
In file included from src/client/ui/../cl_shared.h:28:
In file included from src/client/ui/../../common/common.h:30:
In file included from src/client/ui/../../common/../shared/shared.h:52:
src/client/ui/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_components.cpp:25:
In file included from src/client/ui/ui_internal.h:35:
In file included from src/client/ui/node/ui_node_window.h:28:
In file included from src/client/ui/node/ui_node_abstractnode.h:28:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/../../common/scripts.h:28:
In file included from src/client/ui/../../common/common.h:30:
In file included from src/client/ui/../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_tooltip.cpp:25:
In file included from src/client/ui/../cl_shared.h:28:
In file included from src/client/ui/../../common/common.h:30:
In file included from src/client/ui/../../common/../shared/shared.h:52:
src/client/ui/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_data.cpp:25:
In file included from src/client/ui/../cl_shared.h:28:
In file included from src/client/ui/../../common/common.h:30:
In file included from src/client/ui/../../common/../shared/shared.h:52:
src/client/ui/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/ui_data.cpp:270:35: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/ui_data.cpp:274:42: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/ui_data.cpp:389:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (OPTIONEXTRADATA(option).collapsed) {
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/ui_data.cpp:395:15: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (index < OPTIONEXTRADATA(option).childCount) {
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/ui_data.cpp:402:12: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
index -= OPTIONEXTRADATA(option).childCount;
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/ui_data.cpp:449:6: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (OPTIONEXTRADATA(option).collapsed && iterator->skipCollapsed)
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/ui_data.cpp:482:15: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (Q_streq(OPTIONEXTRADATA(iterator->option).value, value))
src/client/ui/../../shared/shared.h:136:31: note: expanded from macro 'Q_streq'
#define Q_streq(a, b) (strcmp(a, b) == 0)
^
17 warnings generated.
===> CXX [ufo] src/client/ui/ui_parse.cpp
In file included from src/client/ui/ui_parse.cpp:28:
In file included from src/client/ui/../client.h:31:
In file included from src/client/ui/../cl_shared.h:28:
In file included from src/client/ui/../../common/common.h:30:
In file included from src/client/ui/../../common/../shared/shared.h:52:
src/client/ui/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_sprite.cpp:25:
In file included from src/client/ui/ui_main.h:27:
In file included from src/client/ui/ui_data.h:30:
In file included from src/client/ui/../../shared/shared.h:52:
src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_sound.cpp:25:
In file included from src/client/ui/ui_main.h:27:
In file included from src/client/ui/ui_data.h:30:
In file included from src/client/ui/../../shared/shared.h:52:
src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_render.cpp:25:
In file included from src/client/ui/ui_main.h:27:
In file included from src/client/ui/ui_data.h:30:
In file included from src/client/ui/../../shared/shared.h:52:
src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_input.cpp:25:
In file included from src/client/ui/ui_main.h:27:
In file included from src/client/ui/ui_data.h:30:
In file included from src/client/ui/../../shared/shared.h:52:
src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/ui_popup.cpp:25:
In file included from src/client/ui/ui_main.h:27:
In file included from src/client/ui/ui_data.h:30:
In file included from src/client/ui/../../shared/shared.h:52:
src/client/ui/../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/node/ui_node_abstractoption.cpp:26:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_abstractoption.cpp:57:7: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (!EXTRADATA(node).cvar || !*EXTRADATA(node).cvar) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractoption.cpp:57:33: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (!EXTRADATA(node).cvar || !*EXTRADATA(node).cvar) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractoption.cpp:63:18: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (!Q_strstart(EXTRADATA(node).cvar, "*cvar:"))
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractoption.cpp:66:37: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractoption.cpp:71:26: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
const char* cvarName = &EXTRADATA(node).cvar[6];
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractoption.cpp:81:6: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).dataId == 0) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractoption.cpp:90:3: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).count = count;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractoption.cpp:105:35: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
const int v = UI_GetDataVersion(EXTRADATA(node).dataId);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractoption.cpp:106:12: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (v != EXTRADATA(node).versionId) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractoption.cpp:108:36: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractoption.cpp:114:4: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).count = count;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractoption.cpp:115:4: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).versionId = v;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractoption.cpp:117:23: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
return UI_GetOption(EXTRADATA(node).dataId);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractoption.cpp:35:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractoption.cpp:150:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractoption.cpp:150:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractoption.cpp:152:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractoption.cpp:152:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractoption.cpp:155:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractoption.cpp:155:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractoption.cpp:157:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractoption.cpp:157:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractoption.cpp:159:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractoption.cpp:159:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractoption.cpp:162:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractoption.cpp:162:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractoption.cpp:165:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractoption.cpp:165:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractoption.cpp:168:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractoption.cpp:168:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_abstractnode.cpp:26:
In file included from src/client/ui/node/ui_node_abstractnode.h:28:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/node/ui_node_image.cpp:39:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_image.cpp:59:7: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).texl[0] != 0 || EXTRADATA(node).texh[0]) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_image.cpp:59:39: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).texl[0] != 0 || EXTRADATA(node).texh[0]) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_image.cpp:60:24: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_image.cpp:60:50: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_image.cpp:61:24: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_image.cpp:61:50: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_image.cpp:62:14: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
} else if (EXTRADATA(node).source) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_image.cpp:63:40: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_image.cpp:129:54: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_image.cpp:169:7: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).preventRatio) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_image.cpp:182:4: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).texh[0], EXTRADATA(node).texh[1],
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_image.cpp:182:29: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).texh[0], EXTRADATA(node).texh[1],
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_image.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_image.cpp:183:4: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_image.cpp:183:29: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_image.cpp:203:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_image.cpp:203:2: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_image.cpp:207:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_image.cpp:207:2: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_image.cpp:210:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_image.cpp:210:2: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_image.cpp:212:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_image.cpp:212:2: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_image.cpp:215:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_image.cpp:215:2: warning: cast from 'char *' to 'imageExtraData_t *' (aka 'imageExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_window.cpp:26:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_window.cpp:61:11: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
for (a = EXTRADATA(node).index_hash[hash]; a; a = a->hash_next) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:78:11: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
for (a = EXTRADATA(node).index_hash[hash]; a; a = a->hash_next) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:87:13: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
a->next = EXTRADATA(node).index;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:88:18: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
a->hash_next = EXTRADATA(node).index_hash[hash];
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:89:3: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).index_hash[hash] = a;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:90:3: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).index = a;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:111:9: warning: cast from 'const char *' to 'const windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
return EXTRADATACONST(node).isFullScreen;
^~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:41:30: note: expanded from macro 'EXTRADATACONST'
src/client/ui/node/ui_node_window.cpp:144:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).modal && ui_global.windowStack[ui_global.windowStackPos - 1] == node)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:147:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).background) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:148:29: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:163:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).fill) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:180:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).starLayout) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:196:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).onWindowOpened)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:197:34: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:210:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).onWindowClosed)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:211:32: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:222:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).onWindowActivate)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:223:32: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:243:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).dragButton) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:255:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).closeButton) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:272:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:275:6: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).starLayout)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:282:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(clone).index = nullptr;
^~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:283:10: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
OBJZERO(EXTRADATA(clone).index_hash);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:283:10: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
OBJZERO(EXTRADATA(clone).index_hash);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:293:19: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (Vector2Empty(EXTRADATA(node).noticePos))
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/../../../shared/vector.h:37:28: note: expanded from macro 'EQUAL'
#define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f)
^
src/client/ui/node/ui_node_window.cpp:293:19: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (Vector2Empty(EXTRADATA(node).noticePos))
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/../../../shared/vector.h:37:28: note: expanded from macro 'EQUAL'
#define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f)
^
src/client/ui/node/ui_node_window.cpp:295:9: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
return EXTRADATA(node).noticePos;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:305:9: warning: cast from 'const char *' to 'const windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
return EXTRADATACONST(node).dropdown;
^~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:41:30: note: expanded from macro 'EXTRADATACONST'
src/client/ui/node/ui_node_window.cpp:315:9: warning: cast from 'const char *' to 'const windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
return EXTRADATACONST(node).modal;
^~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:41:30: note: expanded from macro 'EXTRADATACONST'
src/client/ui/node/ui_node_window.cpp:328:18: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
binding->next = EXTRADATA(node).keyList;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:329:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).keyList = binding;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_window.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_window.cpp:342:28: warning: cast from 'const char *' to 'const windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:360:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_window.cpp:360:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:362:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_window.cpp:362:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:364:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_window.cpp:364:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:366:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_window.cpp:366:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:368:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_window.cpp:368:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:370:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_window.cpp:370:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:372:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_window.cpp:372:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:376:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_window.cpp:376:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:379:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_window.cpp:379:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:381:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_window.cpp:381:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:383:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_window.cpp:383:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:385:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_window.cpp:385:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_window.cpp:388:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_window.cpp:388:2: warning: cast from 'char *' to 'windowExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_textlist.cpp:25:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/node/ui_node_textlist.cpp:32:
src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(uiNode_t* node);
^
src/client/ui/node/../node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here
virtual void draw(uiNode_t* node) {}
^
src/client/ui/node/ui_node_textlist.cpp:51:19: warning: cast from 'const char *' to 'const textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
int lineHeight = EXTRADATACONST(node).lineHeight;
^~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:40:30: note: expanded from macro 'EXTRADATACONST'
src/client/ui/node/ui_node_textlist.cpp:59:34: warning: cast from 'const char *' to 'const textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textlist.cpp:64:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textlist.cpp:84:15: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
lineHeight = EXTRADATA(node).lineHeight;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:91:15: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textlist.cpp:106:25: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
while (list && count < EXTRADATA(node).super.scrollY.viewPos) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:120:16: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:120:52: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:126:31: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (node->state && count == EXTRADATA(node).lineUnderMouse) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:127:17: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:127:53: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (count == EXTRADATA(node).textLineSelected && EXTRADATA(node).textLineSelected >= 0)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:161:33: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textlist.cpp:167:84: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
Com_Printf("UI_TextListNodeDraw: Only linkedlist text supported (dataid %d).\n", EXTRADATA(node).dataID);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:168:16: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
UI_ResetData(EXTRADATA(node).dataID);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:183:26: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (line < 0 || line >= EXTRADATA(node).super.scrollY.fullSize)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:186:14: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (line != EXTRADATA(node).textLineSelected) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:187:3: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).textLineSelected = line;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:188:3: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textlist.cpp:205:26: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (line < 0 || line >= EXTRADATA(node).super.scrollY.fullSize)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:208:14: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (line != EXTRADATA(node).textLineSelected) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:209:3: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).textLineSelected = line;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:210:3: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textlist.cpp:221:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).textLineSelected = -1; /**< Invalid/no line selected per default. */
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textlist.cpp:222:2: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).textSelected = "";
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textlist.cpp:39:25: note: expanded from macro 'EXTRADATA'
In file included from src/client/ui/node/ui_node_special.cpp:25:
In file included from src/client/ui/node/../../cl_shared.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/node/ui_node_model.cpp:30:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_model.cpp:86:48: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:105:43: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:106:43: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:107:18: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
nodeorigin[2] = EXTRADATA(node).origin[2];
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:109:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
VectorCopy(EXTRADATA(node).scale, mi->scale);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:109:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
VectorCopy(EXTRADATA(node).scale, mi->scale);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:109:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
VectorCopy(EXTRADATA(node).scale, mi->scale);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:110:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
VectorCopy(EXTRADATA(node).angles, mi->angles);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:110:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
VectorCopy(EXTRADATA(node).angles, mi->angles);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:110:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
VectorCopy(EXTRADATA(node).angles, mi->angles);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:182:8: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).autoscale) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:205:8: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).autoscale) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:219:8: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).animation && *EXTRADATA(node).animation) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:219:38: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).animation && *EXTRADATA(node).animation) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:220:39: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:278:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).clipOverflow) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:281:43: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:282:43: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:283:18: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
nodeorigin[2] = EXTRADATA(node).origin[2];
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:285:11: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:285:50: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:285:73: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:287:14: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
mi.angles = EXTRADATA(node).angles;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:288:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
mi.scale = EXTRADATA(node).scale;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:296:7: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).clipOverflow)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:302:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).tag) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:303:7: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).clipOverflow)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:309:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).autoscale) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:322:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).skin && *EXTRADATA(node).skin)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:322:31: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).skin && *EXTRADATA(node).skin)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:323:46: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:328:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).animation && *EXTRADATA(node).animation) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:328:36: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).animation && *EXTRADATA(node).animation) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:330:37: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:333:15: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (strncmp(EXTRADATA(node).oldRefValue, source, MAX_OLDREFVALUE)) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:334:15: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:336:13: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
Mem_Free(EXTRADATA(node).animationState);
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:337:4: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).animationState = nullptr;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:339:21: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
animState_t* as = EXTRADATA(node).animationState;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:345:4: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).animationState = as;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:381:16: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
mi.angles = EXTRADATA(child).angles;
^~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:382:15: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
mi.scale = EXTRADATA(child).scale;
^~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:384:16: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
mi.origin = EXTRADATA(child).origin;
^~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:388:10: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
tag = EXTRADATA(child).tag;
^~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:391:44: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:400:8: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(child).skin && *EXTRADATA(child).skin)
^~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:400:34: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(child).skin && *EXTRADATA(child).skin)
^~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:401:49: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:409:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).clipOverflow)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:418:24: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
float* rotateAngles = EXTRADATA(node).angles;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:440:7: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (!EXTRADATA(node).rotateWithMouse)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:462:12: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
VectorSet(EXTRADATA(node).scale, 1, 1, 1);
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/../../../shared/vector.h:59:35: note: expanded from macro 'VectorSet'
#define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z))
^
src/client/ui/node/ui_node_model.cpp:462:12: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
VectorSet(EXTRADATA(node).scale, 1, 1, 1);
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/../../../shared/vector.h:59:47: note: expanded from macro 'VectorSet'
#define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z))
^
src/client/ui/node/ui_node_model.cpp:462:12: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
VectorSet(EXTRADATA(node).scale, 1, 1, 1);
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/../../../shared/vector.h:59:59: note: expanded from macro 'VectorSet'
#define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z))
^
src/client/ui/node/ui_node_model.cpp:463:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).clipOverflow = true;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:473:3: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:478:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:479:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).oldRefValue[0] = '\0';
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:484:11: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
Mem_Free(EXTRADATA(node).oldRefValue);
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:485:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).oldRefValue = nullptr;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:491:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).tag != nullptr && node->behaviour != node->parent->behaviour) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:493:3: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).tag = nullptr;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:496:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).oldRefValue == nullptr)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_model.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_model.cpp:497:3: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:500:6: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:514:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_model.cpp:514:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:516:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_model.cpp:516:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:518:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_model.cpp:518:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:520:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_model.cpp:520:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:522:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_model.cpp:522:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:524:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_model.cpp:524:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:528:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_model.cpp:528:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:530:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_model.cpp:530:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:532:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_model.cpp:532:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:534:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_model.cpp:534:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_model.cpp:536:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_model.cpp:536:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_linechart.cpp:25:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_linechart.cpp:40:21: warning: cast from 'char *' to 'lineChartExtraData_t *' (aka 'lineChartExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
const int dataId = EXTRADATA(node).dataId;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_linechart.cpp:35:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_linechart.cpp:48:3: warning: cast from 'char *' to 'lineChartExtraData_t *' (aka 'lineChartExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
EXTRADATA(node).dataId = 0;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_linechart.cpp:35:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_linechart.cpp:58:6: warning: cast from 'char *' to 'lineChartExtraData_t *' (aka 'lineChartExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).displayAxes) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_linechart.cpp:35:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_linechart.cpp:66:11: warning: cast from 'char *' to 'lineChartExtraData_t *' (aka 'lineChartExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
R_Color(EXTRADATA(node).axesColor);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_linechart.cpp:35:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_linechart.cpp:91:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_linechart.cpp:91:2: warning: cast from 'char *' to 'lineChartExtraData_t *' (aka 'lineChartExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_linechart.cpp:93:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_linechart.cpp:93:2: warning: cast from 'char *' to 'lineChartExtraData_t *' (aka 'lineChartExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_linechart.cpp:95:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_linechart.cpp:95:2: warning: cast from 'char *' to 'lineChartExtraData_t *' (aka 'lineChartExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
In file included from src/client/ui/node/ui_node_battlescape.cpp:28:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/node/ui_node_string.cpp:47:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_string.cpp:81:234: warning: cast from 'char *' to 'stringExtraData_t *' increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_string.cpp:104:45: warning: cast from 'const char *' to 'const stringExtraData_t *' increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_string.cpp:120:2: warning: cast from 'char *' to 'stringExtraData_t *' increases required alignment from 1 to 4 [-Wcast-align]
EXTRADATA(node).longlines = LONGLINES_PRETTYCHOP;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_string.cpp:57:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_string.cpp:132:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_string.cpp:132:2: warning: cast from 'char *' to 'stringExtraData_t *' increases required alignment from 1 to 4 [-Wcast-align]
In file included from src/client/ui/node/ui_node_abstractvalue.cpp:27:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_abstractvalue.cpp:49:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).shiftIncreaseFactor = 2.0F;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:54:31: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:55:31: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:56:31: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:57:31: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:62:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:63:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:64:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:65:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:70:11: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
Mem_Free(EXTRADATA(node).value);
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:71:11: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
Mem_Free(EXTRADATA(node).delta);
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:72:11: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
Mem_Free(EXTRADATA(node).max);
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:73:11: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
Mem_Free(EXTRADATA(node).min);
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:74:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).value = nullptr;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:75:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).delta = nullptr;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:76:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).max = nullptr;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:77:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).min = nullptr;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:88:18: warning: cast from 'float **' to 'const char **' must have all intermediate pointers const qualified to be safe [-Wcast-qual]
src/client/ui/node/ui_node_abstractvalue.cpp:107:6: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).min == nullptr) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:108:32: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:110:6: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).max == nullptr) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:111:32: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:117:48: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
const float last = UI_GetReferenceFloat(node, EXTRADATA(node).value);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:118:47: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
const float max = UI_GetReferenceFloat(node, EXTRADATA(node).max);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:119:47: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
const float min = UI_GetReferenceFloat(node, EXTRADATA(node).min);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:133:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).lastdiff = value - last;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:134:39: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:138:13: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
*(float*) EXTRADATA(node).value = value;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:149:43: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
float value = UI_GetReferenceFloat(node, EXTRADATA(node).value);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:150:72: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:156:43: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
float value = UI_GetReferenceFloat(node, EXTRADATA(node).value);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractvalue.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractvalue.cpp:157:72: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:187:98: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:188:98: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:189:96: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:190:96: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:201:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractvalue.cpp:201:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:203:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractvalue.cpp:203:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:205:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractvalue.cpp:205:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:207:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractvalue.cpp:207:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:209:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractvalue.cpp:209:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractvalue.cpp:214:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractvalue.cpp:214:2: warning: cast from 'char *' to 'abstractValueExtraData_t *' (aka 'abstractValueExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_texture.cpp:34:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/node/ui_node_editor.cpp:28:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/node/ui_node_panel.cpp:25:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_panel.cpp:57:29: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:93:13: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:94:13: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:95:18: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (updated && EXTRADATA(node).super.onViewChange)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_panel.cpp:96:33: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:343:12: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:344:12: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:345:17: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (updated && EXTRADATA(node).super.onViewChange)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_panel.cpp:346:32: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:363:6: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).layoutColumns <= 0) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_panel.cpp:368:39: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:369:40: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:373:18: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
for (i = 0; i < EXTRADATA(node).layoutColumns; i++) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_panel.cpp:385:18: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
for (i = 1; i < EXTRADATA(node).layoutColumns; i++) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_panel.cpp:386:57: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:393:26: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
const int column = i % EXTRADATA(node).layoutColumns;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_panel.cpp:398:22: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
y += rowHeight + EXTRADATA(node).layoutMargin;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_panel.cpp:410:22: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
const int column = EXTRADATA(node).layoutColumns;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_panel.cpp:415:13: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:416:13: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:417:18: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (updated && EXTRADATA(node).super.onViewChange)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_panel.cpp:418:33: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:430:10: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
switch (EXTRADATA(node).layout) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_panel.cpp:434:30: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:437:32: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:440:25: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:443:23: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:455:64: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:468:2: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).wheelScrollable = true;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_panel.cpp:477:30: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:477:71: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:478:7: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:478:48: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:514:6: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).layout != LAYOUT_NONE)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_panel.cpp:520:17: warning: cast from 'const char *' to 'const panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:521:17: warning: cast from 'const char *' to 'const panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:549:7: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (!EXTRADATA(node).wheelScrollable || deltaY == 0)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_panel.cpp:552:12: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:553:13: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:554:6: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).super.onViewChange && updated)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_panel.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_panel.cpp:555:32: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:594:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_panel.cpp:594:2: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:598:25: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_panel.cpp:598:25: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:602:26: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_panel.cpp:602:26: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:606:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_panel.cpp:606:2: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_panel.cpp:609:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_panel.cpp:609:2: warning: cast from 'char *' to 'panelExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_selectbox.cpp:46:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_selectbox.cpp:82:74: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (x < 0 || y < 0 || x > node->box.size[0] || y > node->box.size[1] * (EXTRADATA(node).count + 1)) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_selectbox.cpp:60:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_selectbox.cpp:90:3: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
OPTIONEXTRADATA(option).hovered = (posy <= y && y < posy + node->box.size[1]);
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/ui_node_selectbox.cpp:133:16: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (!Q_streq(OPTIONEXTRADATA(option).value, ref))
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/../../../common/../game/../shared/shared.h:136:31: note: expanded from macro 'Q_streq'
#define Q_streq(a, b) (strcmp(a, b) == 0)
^
src/client/ui/node/ui_node_selectbox.cpp:139:36: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_selectbox.cpp:184:112: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_selectbox.cpp:188:176: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_selectbox.cpp:192:176: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_selectbox.cpp:201:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (OPTIONEXTRADATA(option).hovered)
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/ui_node_selectbox.cpp:205:36: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_selectbox.cpp:215:15: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (check != EXTRADATA(node).count) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_selectbox.cpp:60:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_selectbox.cpp:218:3: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).versionId = 0;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_selectbox.cpp:60:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_selectbox.cpp:255:104: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (x < pos[0] || y < pos[1] || x >= pos[0] + node->box.size[0] || y >= pos[1] + node->box.size[1] * (EXTRADATA(node).count + 1)) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_selectbox.cpp:60:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_selectbox.cpp:267:48: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (clickedAtOption < 0 || clickedAtOption >= EXTRADATA(node).count)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_selectbox.cpp:60:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_selectbox.cpp:285:42: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_baseinventory.cpp:28:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_baseinventory.cpp:212:6: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).onViewChange) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:213:32: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:224:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:244:44: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
const int cellWidth = node->box.size[0] / EXTRADATA(node).columns;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:259:27: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
const int col = items % EXTRADATA(node).columns;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:264:36: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (outOfNode || currentHeight < EXTRADATA(node).scrollY.viewPos) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:272:49: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (outOfNode || currentHeight + rowHeight < EXTRADATA(node).scrollY.viewPos) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:273:16: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (col == EXTRADATA(node).columns - 1) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:284:29: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:335:22: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (obj->weapon && EXTRADATA(node).displayAmmoOfWeapon) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:349:88: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:372:14: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (col == EXTRADATA(node).columns - 1) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:375:24: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (currentHeight - EXTRADATA(node).scrollY.viewPos >= node->box.size[1])
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:415:23: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (visibleHeight != EXTRADATA(node).scrollY.viewSize || needHeight != EXTRADATA(node).scrollY.fullSize) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:415:73: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (visibleHeight != EXTRADATA(node).scrollY.viewSize || needHeight != EXTRADATA(node).scrollY.fullSize) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:416:3: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).scrollY.fullSize = needHeight;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:417:3: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).scrollY.viewSize = visibleHeight;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:420:6: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).scrollY.viewPos > needHeight - visibleHeight) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:421:3: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:424:6: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).scrollY.viewPos < 0) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:425:3: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).scrollY.viewPos = 0;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:440:7: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (!EXTRADATA(node).super.container)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:669:4: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:670:8: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).super.onSelect) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:671:34: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:706:6: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).scrollY.moveDelta(deltaY * 20)) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:715:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).super.container = nullptr;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:716:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).columns = 1;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:726:6: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(target).super.container == nullptr)
^~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_baseinventory.cpp:49:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_baseinventory.cpp:763:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_baseinventory.cpp:763:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:765:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_baseinventory.cpp:765:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:767:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_baseinventory.cpp:767:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:769:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_baseinventory.cpp:769:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:771:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_baseinventory.cpp:771:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:773:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_baseinventory.cpp:773:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:775:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_baseinventory.cpp:775:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:777:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_baseinventory.cpp:777:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:779:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_baseinventory.cpp:779:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:782:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_baseinventory.cpp:782:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:784:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_baseinventory.cpp:784:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:786:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_baseinventory.cpp:786:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_baseinventory.cpp:788:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_baseinventory.cpp:788:2: warning: cast from 'char *' to 'baseInventoryExtraData_t *' (aka 'baseInventoryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_controls.cpp:28:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/node/ui_node_ekg.cpp:26:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_ekg.cpp:43:54: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_ekg.cpp:68:43: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
current = Cvar_GetValue("mn_morale") / EXTRADATA(node).scaleCvarValue;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_ekg.cpp:70:39: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
current = Cvar_GetValue("mn_hp") / EXTRADATA(node).scaleCvarValue;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_ekg.cpp:74:3: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_ekg.cpp:75:3: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_ekg.cpp:75:35: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_ekg.cpp:76:3: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_ekg.cpp:76:43: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_ekg.cpp:77:3: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_ekg.cpp:77:35: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_ekg.cpp:86:8: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).super.preventRatio) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_ekg.cpp:99:5: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_ekg.cpp:99:36: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_ekg.cpp:99:67: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_ekg.cpp:99:98: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_ekg.cpp:108:2: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).scaleCvarValue = 1.0f;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_ekg.cpp:109:2: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).scrollSpeed = 0.07f;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_ekg.cpp:36:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_ekg.cpp:120:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_ekg.cpp:120:2: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_ekg.cpp:122:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_ekg.cpp:122:2: warning: cast from 'char *' to 'ekgExtraData_t *' (aka 'ekgExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_vscrollbar.cpp:27:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_vscrollbar.cpp:59:42: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_vscrollbar.cpp:59:76: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_vscrollbar.cpp:60:45: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
const int middle = cuttableSize * ((float)(EXTRADATA(node).viewsize) / (float)EXTRADATA(node).fullsize);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:60:80: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
const int middle = cuttableSize * ((float)(EXTRADATA(node).viewsize) / (float)EXTRADATA(node).fullsize);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:97:19: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
} else if (pos > EXTRADATA(node).fullsize - EXTRADATA(node).viewsize) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:97:46: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
} else if (pos > EXTRADATA(node).fullsize - EXTRADATA(node).viewsize) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:98:9: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_vscrollbar.cpp:98:36: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_vscrollbar.cpp:104:6: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).pos == pos)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:108:2: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
EXTRADATA(node).pos = pos;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:121:29: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_vscrollbar.cpp:163:13: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
oldPos = EXTRADATA(node).pos;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:193:6: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:193:39: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:193:66: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:206:6: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:206:39: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:206:66: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:235:6: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:235:39: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:235:66: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize < EXTRADATA(node).viewsize)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:237:29: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_vscrollbar.cpp:249:22: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
const int posSize = EXTRADATA(node).fullsize;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:279:6: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize <= EXTRADATA(node).viewsize) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:279:39: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize <= EXTRADATA(node).viewsize) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:279:67: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).fullsize == 0 || EXTRADATA(node).fullsize <= EXTRADATA(node).viewsize) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_vscrollbar.cpp:281:7: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).hideWhenUnused)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_vscrollbar.cpp:51:25: note: expanded from macro 'EXTRADATA'
In file included from src/client/ui/node/ui_node_abstractscrollable.cpp:26:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_abstractscrollable.cpp:47:36: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (!Vector2Equal(node->box.size, EXTRADATA(node).cacheSize)) {
src/client/ui/node/../../../shared/vector.h:37:32: note: expanded from macro 'EQUAL'
#define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f)
^
src/client/ui/node/ui_node_abstractscrollable.cpp:47:36: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (!Vector2Equal(node->box.size, EXTRADATA(node).cacheSize)) {
src/client/ui/node/../../../shared/vector.h:37:32: note: expanded from macro 'EQUAL'
#define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f)
^
src/client/ui/node/ui_node_abstractscrollable.cpp:48:31: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractscrollable.cpp:48:31: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractscrollable.cpp:139:12: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractscrollable.cpp:141:17: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (updated && EXTRADATA(node).onViewChange)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractscrollable.cpp:142:32: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractscrollable.cpp:152:18: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
const int pos = EXTRADATA(node).scrollY.viewPos - 10;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_abstractscrollable.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_abstractscrollable.cpp:160:22: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractscrollable.cpp:166:22: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractscrollable.cpp:172:22: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractscrollable.cpp:187:22: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractscrollable.cpp:197:26: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractscrollable.cpp:208:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractscrollable.cpp:208:2: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractscrollable.cpp:210:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractscrollable.cpp:210:2: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractscrollable.cpp:212:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractscrollable.cpp:212:2: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_abstractscrollable.cpp:214:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractscrollable.cpp:214:2: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_item.cpp:27:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_item.cpp:46:48: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_item.cpp:60:7: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).containerLike || Q_strnull(model)) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_item.cpp:38:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_item.cpp:70:50: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_item.cpp:86:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_item.cpp:86:2: warning: cast from 'char *' to 'modelExtraData_t *' (aka 'modelExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_timer.cpp:26:
In file included from src/client/ui/node/../ui_parse.h:27:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_timer.cpp:53:27: warning: cast from 'char *' to 'timerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
timerExtraData_t& data = EXTRADATA(node);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_timer.cpp:32:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_timer.cpp:77:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_timer.cpp:80:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
In file included from src/client/ui/node/ui_node_geoscape.cpp:25:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_geoscape.cpp:127:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:129:55: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:129:55: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:129:55: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:130:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:147:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).curZoomSpeed = speed;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:148:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:154:63: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:154:63: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:154:63: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:155:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).smoothRotation = false;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:156:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:171:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:172:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:173:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:174:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).smoothRotation = false;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:177:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:178:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:179:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:205:7: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
px = UI_MAPEXTRADATA(node).r_dayandnightAlpha;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:222:38: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:230:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:231:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:232:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:233:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:234:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:236:25: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:237:30: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:237:30: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:240:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:254:26: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
geoscapeData_t& data = *UI_MAPEXTRADATA(node).geoscapeData;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:288:52: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:289:5: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:289:54: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:309:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:310:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:314:5: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).center[i] += 1.0;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:316:5: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).center[i] -= 1.0;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:319:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).center[1] = zoom;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:321:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).center[1] = 1.0 - zoom;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:327:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:328:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:332:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).angles[YAW] = 0.0;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:334:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).angles[YAW] = -180.0;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:337:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).angles[PITCH] -= 360.0;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:339:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).angles[PITCH] += 360.0;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:345:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:347:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:349:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:352:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).center[1] = zoom;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:354:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).center[1] = 1.0 - zoom;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:372:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).smoothRotation = false;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:508:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:510:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:512:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:516:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:518:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:520:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).smoothRotation = false;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:539:10: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
OBJZERO(EXTRADATA(node));
~~~~~~~~^~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:539:10: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
OBJZERO(EXTRADATA(node));
~~~~~~~~^~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:540:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).angles[YAW] = GLOBE_ROTATE;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:541:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:541:30: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:542:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).zoom = 1.0;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:543:13: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:543:13: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:544:12: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/../../../shared/vector.h:59:35: note: expanded from macro 'VectorSet'
#define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z))
^
src/client/ui/node/ui_node_geoscape.cpp:544:12: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/../../../shared/vector.h:59:47: note: expanded from macro 'VectorSet'
#define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z))
^
src/client/ui/node/ui_node_geoscape.cpp:544:12: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/../../../shared/vector.h:59:59: note: expanded from macro 'VectorSet'
#define VectorSet(v, x, y, z) ((v)[0]=(x), (v)[1]=(y), (v)[2]=(z))
^
src/client/ui/node/ui_node_geoscape.cpp:547:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).geoscapeData = &geoscapeData;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:551:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:591:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:594:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:602:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:604:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:607:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:609:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:611:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:613:49: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:613:49: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:613:49: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:614:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).smoothDeltaLength = 0;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:615:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).smoothRotation = true;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:616:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:663:49: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:663:49: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:663:49: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:666:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:667:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:670:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:673:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:677:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:678:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).angles[PITCH] -= 360.0;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:681:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:682:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).angles[PITCH] += 360.0;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:685:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:687:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:688:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).smoothDeltaZoom = 0.0f;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:689:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).smoothRotation = true;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:693:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:694:3: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:697:5: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).center[i] += 1.0;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:699:5: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_MAPEXTRADATA(node).center[i] -= 1.0;
^~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_geoscape.h:52:31: note: expanded from macro 'UI_MAPEXTRADATA'
src/client/ui/node/ui_node_geoscape.cpp:702:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:704:4: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_geoscape.cpp:715:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_geoscape.cpp:715:2: warning: cast from 'char *' to 'mapExtraData_t *' (aka 'mapExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_optiontree.cpp:26:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_optiontree.cpp:69:15: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
fontHeight = EXTRADATA(node).lineHeight;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:74:12: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:74:54: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:75:17: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (updated && EXTRADATA(node).onViewChange)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:76:32: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:86:3: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:100:35: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
const int v = UI_GetDataVersion(EXTRADATA(node).dataId);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:101:35: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:102:12: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (v != EXTRADATA(node).versionId) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:103:4: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).versionId = v;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:135:6: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).background) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:136:29: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:140:15: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
fontHeight = EXTRADATA(node).lineHeight;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:152:40: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:165:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (OPTIONEXTRADATA(option).hovered)
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:169:15: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (Q_streq(OPTIONEXTRADATA(option).value, ref)) {
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/../../../common/../game/../shared/shared.h:136:31: note: expanded from macro 'Q_streq'
#define Q_streq(a, b) (strcmp(a, b) == 0)
^
src/client/ui/node/ui_node_optiontree.cpp:184:23: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:185:23: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:190:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (OPTIONEXTRADATA(option).icon) {
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:194:23: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:194:57: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:195:6: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:196:12: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:199:36: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:224:15: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
fontHeight = EXTRADATA(node).lineHeight;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:229:10: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:255:4: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:255:41: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:263:42: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:275:12: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:276:6: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).onViewChange && updated)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:277:32: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:301:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).versionId = -1;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:333:42: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:341:3: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:353:12: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
updated = EXTRADATA(node).scrollY.move(pos);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:354:17: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (updated && EXTRADATA(node).onViewChange)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:355:32: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:371:3: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:371:38: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:391:13: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:392:7: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).onViewChange && updated)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:393:33: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optiontree.cpp:408:19: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
int lineHeight = EXTRADATA(node).lineHeight;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optiontree.cpp:45:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optiontree.cpp:424:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_optiontree.cpp:424:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_textentry.cpp:32:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_textentry.cpp:101:6: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).onAbort) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textentry.cpp:102:32: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textentry.cpp:152:2: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textentry.cpp:182:19: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (isAborted || EXTRADATA(node).clickOutAbort) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textentry.cpp:204:7: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).cursorPosition > 0){
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textentry.cpp:205:32: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textentry.cpp:206:4: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).cursorPosition--;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textentry.cpp:209:7: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).cursorPosition < UTF8_strlen(editedCvar->string)){
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textentry.cpp:210:32: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textentry.cpp:220:68: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
int insertedLength = UTF8_insert_char_at(buffer, sizeof(buffer), EXTRADATA(node).cursorPosition, unicode);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textentry.cpp:222:4: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).cursorPosition++;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textentry.cpp:253:7: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).cursorPosition > 0)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textentry.cpp:254:4: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).cursorPosition--;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textentry.cpp:258:7: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).cursorPosition < UTF8_strlen(editedCvar->string))
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textentry.cpp:259:4: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).cursorPosition++;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textentry.cpp:263:3: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).cursorPosition = 0;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textentry.cpp:267:3: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textentry.cpp:308:6: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).background) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textentry.cpp:309:29: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textentry.cpp:314:7: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).isPassword) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_textentry.cpp:57:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_textentry.cpp:330:43: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textentry.cpp:332:43: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textentry.cpp:375:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_textentry.cpp:375:2: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textentry.cpp:379:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_textentry.cpp:379:2: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textentry.cpp:381:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_textentry.cpp:381:2: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textentry.cpp:383:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_textentry.cpp:383:2: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_textentry.cpp:387:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_textentry.cpp:387:2: warning: cast from 'char *' to 'textEntryExtraData_t *' (aka 'textEntryExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_button.cpp:29:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_button.cpp:86:6: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).background) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_button.cpp:42:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_button.cpp:87:29: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_button.cpp:97:23: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_button.cpp:107:22: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
content.size[0] += EXTRADATA(node).icon->size[0];
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_button.cpp:42:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_button.cpp:108:22: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
content.size[1] += EXTRADATA(node).icon->size[1];
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_button.cpp:42:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_button.cpp:135:22: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_button.cpp:135:48: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_button.cpp:136:29: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_button.cpp:136:60: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_button.cpp:187:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_button.cpp:187:2: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_button.cpp:188:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_button.cpp:188:2: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_button.cpp:191:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_button.cpp:191:2: warning: cast from 'char *' to 'buttonExtraData_t *' (aka 'buttonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_optionlist.cpp:26:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_optionlist.cpp:64:16: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
lineHeight = EXTRADATA(node).lineHeight;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optionlist.cpp:71:12: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:71:54: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:72:17: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (updated && EXTRADATA(node).onViewChange)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optionlist.cpp:73:32: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:94:6: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).background) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optionlist.cpp:95:29: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:100:16: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
lineHeight = EXTRADATA(node).lineHeight;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optionlist.cpp:107:27: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
while (option && count < EXTRADATA(node).scrollY.viewPos) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optionlist.cpp:122:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (OPTIONEXTRADATA(option).hovered)
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/ui_node_optionlist.cpp:126:15: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (Q_streq(OPTIONEXTRADATA(option).value, ref)) {
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/../../../common/../game/../shared/shared.h:136:31: note: expanded from macro 'Q_streq'
#define Q_streq(a, b) (strcmp(a, b) == 0)
^
src/client/ui/node/ui_node_optionlist.cpp:136:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (OPTIONEXTRADATA(option).icon) {
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/ui_node_optionlist.cpp:141:23: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:141:57: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:141:115: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:142:12: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:146:36: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:164:6: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).count != count) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optionlist.cpp:165:3: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).count = count;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optionlist.cpp:182:16: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
lineHeight = EXTRADATA(node).lineHeight;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optionlist.cpp:189:27: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
while (option && count < EXTRADATA(node).scrollY.viewPos) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optionlist.cpp:220:42: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:232:12: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:233:6: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).onViewChange && updated)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optionlist.cpp:234:32: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:258:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).versionId = -1;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optionlist.cpp:273:3: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:273:38: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:293:13: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:294:7: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).onViewChange && updated)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optionlist.cpp:295:33: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_optionlist.cpp:310:19: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
int lineHeight = EXTRADATA(node).lineHeight;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_optionlist.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_optionlist.cpp:324:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_optionlist.cpp:324:2: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_todo.cpp:26:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/node/ui_node_base.cpp:24:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_base.cpp:50:2: warning: cast from 'char *' to 'baseExtraData_t *' (aka 'baseExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
EXTRADATA(node).baseid = -1;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_base.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_base.cpp:72:22: warning: cast from 'char *' to 'baseExtraData_t *' (aka 'baseExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_base.cpp:116:16: warning: cast from 'char *' to 'baseExtraData_t *' (aka 'baseExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_base.cpp:216:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_base.cpp:216:2: warning: cast from 'char *' to 'baseExtraData_t *' (aka 'baseExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
In file included from src/client/ui/node/ui_node_messagelist.cpp:26:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/node/ui_node_messagelist.cpp:33:
src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(uiNode_t* node);
^
src/client/ui/node/../node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here
virtual void draw(uiNode_t* node) {}
^
src/client/ui/node/ui_node_messagelist.cpp:126:85: warning: cast from 'const char *' to 'const abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_messagelist.cpp:141:79: warning: cast from 'const char *' to 'const abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_messagelist.cpp:212:9: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
posY = EXTRADATA(node).scrollY.viewPos;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_messagelist.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_messagelist.cpp:226:22: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (screenLines >= EXTRADATA(node).scrollY.viewSize)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_messagelist.cpp:40:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_messagelist.cpp:267:3: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_messagelist.cpp:267:38: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_abstractscrollbar.cpp:28:
In file included from src/client/ui/node/../ui_behaviour.h:27:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_abstractscrollbar.cpp:41:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractscrollbar.cpp:41:2: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_abstractscrollbar.cpp:43:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractscrollbar.cpp:43:2: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_abstractscrollbar.cpp:45:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractscrollbar.cpp:45:2: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_abstractscrollbar.cpp:48:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_abstractscrollbar.cpp:48:2: warning: cast from 'char *' to 'abstractScrollbarExtraData_t *' (aka 'abstractScrollbarExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
In file included from src/client/ui/node/ui_node_sequence.cpp:25:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_sequence.cpp:49:6: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).context != nullptr && EXTRADATA(node).playing) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:49:44: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).context != nullptr && EXTRADATA(node).playing) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:60:15: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_sequence.cpp:61:26: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
finished = !SEQ_Render(EXTRADATA(node).context);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:66:19: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (finished && EXTRADATA(node).onEnd) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:67:33: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_sequence.cpp:68:4: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).playing = true;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:75:6: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).context == nullptr)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:76:3: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).context = SEQ_AllocContext();
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:77:6: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).source != nullptr) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:78:19: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_sequence.cpp:78:44: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_sequence.cpp:79:3: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).playing = true;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:85:6: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).context != nullptr) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:86:19: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
SEQ_FreeContext(EXTRADATA(node).context);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:87:3: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).context = nullptr;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:89:2: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).playing = false;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:94:6: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).context != nullptr) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:95:22: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
SEQ_SendClickEvent(EXTRADATA(node).context);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:102:7: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).source != nullptr) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:104:14: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
} else if (EXTRADATA(node).context != nullptr) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_sequence.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_sequence.cpp:120:19: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_sequence.cpp:120:19: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_sequence.cpp:123:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_sequence.cpp:123:2: warning: cast from 'char *' to 'sequenceExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_data.cpp:33:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_data.cpp:59:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_data.cpp:59:2: warning: cast from 'char *' to 'dataExtraData_t *' (aka 'dataExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_data.cpp:62:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_data.cpp:62:2: warning: cast from 'char *' to 'dataExtraData_t *' (aka 'dataExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
In file included from src/client/ui/node/ui_node_tbar.cpp:25:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_tbar.cpp:44:48: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tbar.cpp:65:9: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
shx = EXTRADATA(node).texl[0]; /* left gap to the texture */
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_tbar.cpp:34:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_tbar.cpp:72:8: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tbar.cpp:72:33: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tbar.cpp:72:58: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tbar.cpp:85:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_tbar.cpp:85:2: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tbar.cpp:88:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_tbar.cpp:88:2: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tbar.cpp:90:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_tbar.cpp:90:2: warning: cast from 'char *' to 'tbarExtraData_t *' (aka 'tbarExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_rows.cpp:26:
In file included from src/client/ui/node/../ui_behaviour.h:27:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_rows.cpp:41:10: warning: cast from 'char *' to 'rowsExtraData_t *' (aka 'rowsExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
int i = EXTRADATA(node).current;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_rows.cpp:32:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_rows.cpp:47:31: warning: cast from 'char *' to 'rowsExtraData_t *' (aka 'rowsExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
const int height = std::min(EXTRADATA(node).lineHeight, (int)node->box.size[1] - current);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_rows.cpp:32:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_rows.cpp:62:6: warning: cast from 'char *' to 'rowsExtraData_t *' (aka 'rowsExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
if (EXTRADATA(node).lineHeight == 0) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_rows.cpp:32:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_rows.cpp:63:3: warning: cast from 'char *' to 'rowsExtraData_t *' (aka 'rowsExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
EXTRADATA(node).lineHeight = 10;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_rows.cpp:32:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_rows.cpp:78:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_rows.cpp:78:2: warning: cast from 'char *' to 'rowsExtraData_t *' (aka 'rowsExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
src/client/ui/node/ui_node_rows.cpp:80:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_rows.cpp:80:2: warning: cast from 'char *' to 'rowsExtraData_t *' (aka 'rowsExtraData_s *') increases required alignment from 1 to 4 [-Wcast-align]
In file included from src/client/ui/node/ui_node_text.cpp:26:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_text.cpp:120:15: warning: cast from 'const char *' to 'const textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
lineHeight = EXTRADATACONST(node).lineHeight;
^~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text.cpp:42:30: note: expanded from macro 'EXTRADATACONST'
src/client/ui/node/ui_node_text.cpp:132:34: warning: cast from 'const char *' to 'const textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
line = (int) (y / lineHeight) + EXTRADATACONST(node).super.scrollY.viewPos;
^~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text.cpp:42:30: note: expanded from macro 'EXTRADATACONST'
src/client/ui/node/ui_node_text.cpp:135:14: warning: cast from 'const char *' to 'const textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (line >= EXTRADATACONST(node).super.scrollY.fullSize)
^~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text.cpp:42:30: note: expanded from macro 'EXTRADATACONST'
src/client/ui/node/ui_node_text.cpp:303:124: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text.cpp:325:116: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text.cpp:325:186: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text.cpp:503:114: warning: cast from 'char *' to 'textExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
Com_Error(ERR_DROP, "Error in node %s - max shared data id num exceeded (num: %i, max: %i)", UI_GetPath(node), EXTRADATA(node).dataID, UI_MAX_DATAID);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text.cpp:571:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_text.cpp:574:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_text.cpp:583:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_text.cpp:585:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_text.cpp:587:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_text.cpp:591:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_text.cpp:597:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_text.cpp:602:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_text.cpp:607:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
In file included from src/client/ui/node/ui_node_container.cpp:34:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_container.cpp:344:6: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).container->single) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_container.cpp:346:52: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (UI_DNDIsSourceNode(node) || inv->canHoldItem(EXTRADATA(node).container, od, 0, 0, dragInfoIC))
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_container.cpp:347:16: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_container.cpp:361:44: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
const int checkedTo = inv->canHoldItem(EXTRADATA(node).container, od, x, y, dragInfoIC);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_container.cpp:368:26: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (INVSH_CheckShape(EXTRADATA(node).container->shape, x, y)) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_container.cpp:370:19: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_DrawFree(EXTRADATA(node).container->id, node, nodepos[0] + x * C_UNIT, nodepos[1] + y * C_UNIT, C_UNIT, C_UNIT, showTUs);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_container.cpp:398:2: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).container = container;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_container.cpp:446:29: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_container.cpp:509:53: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_container.cpp:536:40: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_container.cpp:558:6: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(target).container->single) {
^~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_container.cpp:584:7: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (!EXTRADATA(node).container)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_container.cpp:597:6: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).container->single) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_container.cpp:608:28: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (UI_DNDIsDragging() && EXTRADATA(node).container->id != CID_EQUIP)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_container.cpp:691:30: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_container.cpp:751:2: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).lastSelectedId = ic->def()->idx;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_container.cpp:752:6: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).onSelect) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_container.cpp:753:32: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_container.cpp:825:4: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_container.cpp:826:8: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).onSelect) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_container.cpp:827:34: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_container.cpp:859:2: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).container = nullptr;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_container.cpp:61:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_container.cpp:869:40: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_container.cpp:886:34: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_container.cpp:1042:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_container.cpp:1042:2: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_container.cpp:1044:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_container.cpp:1044:2: warning: cast from 'char *' to 'containerExtraData_t *' (aka 'containerExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_radar.cpp:25:
In file included from src/client/ui/node/ui_node_radar.h:27:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/node/ui_node_spinner.cpp:26:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_spinner.cpp:102:25: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
switch ((spinnerMode_t)EXTRADATA(node).mode) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_spinner.cpp:108:7: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).horizontal)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_spinner.cpp:126:7: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).inverted)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_spinner.cpp:206:8: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).inverted)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_spinner.cpp:212:8: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).inverted)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_spinner.cpp:219:6: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).background)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_spinner.cpp:220:29: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_spinner.cpp:221:7: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (!EXTRADATA(node).horizontal) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_spinner.cpp:222:7: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).topIcon)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_spinner.cpp:223:30: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_spinner.cpp:224:7: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).bottomIcon)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_spinner.cpp:225:30: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_spinner.cpp:227:7: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).topIcon) /* Top becomes right */
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_spinner.cpp:228:30: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_spinner.cpp:229:7: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).bottomIcon) /* Bottom becomes left */
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_spinner.cpp:42:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_spinner.cpp:230:30: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_spinner.cpp:249:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_spinner.cpp:249:2: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_spinner.cpp:254:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_spinner.cpp:254:2: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_spinner.cpp:259:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_spinner.cpp:259:2: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_spinner.cpp:267:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_spinner.cpp:267:2: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_spinner.cpp:272:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_spinner.cpp:272:2: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_spinner.cpp:277:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_spinner.cpp:277:2: warning: cast from 'char *' to 'spinnerExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_text2.cpp:27:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/ui/node/ui_node_text2.cpp:33:
In file included from src/client/ui/node/ui_node_text2.h:28:
src/client/ui/node/ui_node_text.h:31:7: warning: 'draw' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void draw(uiNode_t* node);
^
src/client/ui/node/../node/ui_node_abstractnode.h:69:15: note: overridden virtual function is here
virtual void draw(uiNode_t* node) {}
^
src/client/ui/node/ui_node_text2.cpp:50:15: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
LIST_Delete(&EXTRADATA(node).lineSplit);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:54:11: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
else if (EXTRADATA(node).super.dataID != TEXT_NULL) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:56:34: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text2.cpp:59:22: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
data = UI_GetText(EXTRADATA(node).super.dataID);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:86:19: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text2.cpp:109:15: warning: cast from 'const char *' to 'const text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text2.cpp:121:34: warning: cast from 'const char *' to 'const text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
line = (int) (y / lineHeight) + EXTRADATACONST(node).super.super.scrollY.viewPos;
^~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:42:30: note: expanded from macro 'EXTRADATACONST'
src/client/ui/node/ui_node_text2.cpp:124:14: warning: cast from 'const char *' to 'const text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (line >= EXTRADATACONST(node).super.super.scrollY.fullSize)
^~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:42:30: note: expanded from macro 'EXTRADATACONST'
src/client/ui/node/ui_node_text2.cpp:132:2: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text2.cpp:156:20: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
int lineHeight = EXTRADATA(node).super.lineHeight;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:163:15: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text2.cpp:215:51: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text2.cpp:218:71: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text2.cpp:218:121: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text2.cpp:218:197: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text2.cpp:236:6: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).super.dataID == TEXT_NULL && node->text != nullptr) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:237:18: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
drawText(node, EXTRADATA(node).lineSplit, true);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:241:33: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text2.cpp:246:18: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
drawText(node, EXTRADATA(node).lineSplit, true);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:249:2: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text2.cpp:261:6: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).super.dataID == TEXT_NULL && node->text != nullptr) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:262:18: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
drawText(node, EXTRADATA(node).lineSplit, false);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:266:33: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text2.cpp:270:18: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
drawText(node, EXTRADATA(node).lineSplit, false);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:279:2: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text2.cpp:290:26: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (line < 0 || line >= EXTRADATA(node).super.super.scrollY.fullSize)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:307:26: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (line < 0 || line >= EXTRADATA(node).super.super.scrollY.fullSize)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:318:2: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).super.textLineSelected = -1; /**< Invalid/no line selected per default. */
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:319:2: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).super.textSelected = "";
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:326:19: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
int lineheight = EXTRADATA(node).super.lineHeight;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:336:6: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).super.super.scrollY.viewSize == 0) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:338:4: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text2.cpp:340:4: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).super.super.scrollY.viewSize = 1;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:347:23: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_text2.cpp:351:6: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).super.dataID >= UI_MAX_DATAID)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:352:110: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
Com_Error(ERR_DROP, "Error in node %s - max shared data id exceeded (num: %i, max: %i)", UI_GetPath(node), EXTRADATA(node).super.dataID, UI_MAX_DATAID);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_text2.cpp:361:31: warning: cast from 'char *' to 'text2ExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (node->text == nullptr && EXTRADATA(node).super.dataID == TEXT_NULL)
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_text2.cpp:41:25: note: expanded from macro 'EXTRADATA'
In file included from src/client/ui/node/ui_node_bar.cpp:28:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_bar.cpp:168:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_bar.cpp:172:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_bar.cpp:176:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
In file included from src/client/ui/node/ui_node_zone.cpp:28:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_zone.cpp:98:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_zone.cpp:100:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
In file included from src/client/ui/node/ui_node_material_editor.cpp:26:
In file included from src/client/ui/node/../../client.h:31:
In file included from src/client/ui/node/../../cl_shared.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_material_editor.cpp:161:29: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (cnt / imagesPerLine < EXTRADATA(node).scrollY.viewPos) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_material_editor.cpp:42:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_material_editor.cpp:231:29: warning: cast from 'char *' to 'abstractScrollableExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (cnt / imagesPerLine < EXTRADATA(node).scrollY.viewPos) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_material_editor.cpp:42:25: note: expanded from macro 'EXTRADATA'
In file included from src/client/ui/node/ui_node_radiobutton.cpp:37:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_radiobutton.cpp:58:6: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).string == nullptr) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_radiobutton.cpp:59:52: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
const float current = UI_GetReferenceFloat(node, EXTRADATA(node).cvar);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_radiobutton.cpp:60:20: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
return current > EXTRADATA(node).value - EPSILON && current < EXTRADATA(node).value + EPSILON;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_radiobutton.cpp:60:65: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
return current > EXTRADATA(node).value - EPSILON && current < EXTRADATA(node).value + EPSILON;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_radiobutton.cpp:62:53: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
const char* current = UI_GetReferenceString(node, EXTRADATA(node).cvar);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_radiobutton.cpp:63:27: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
return Q_streq(current, EXTRADATA(node).string);
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/../../../common/../game/../shared/shared.h:136:34: note: expanded from macro 'Q_streq'
#define Q_streq(a, b) (strcmp(a, b) == 0)
^
src/client/ui/node/ui_node_radiobutton.cpp:103:6: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).background) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_radiobutton.cpp:104:29: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_radiobutton.cpp:107:6: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).icon) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_radiobutton.cpp:108:22: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_radiobutton.cpp:108:48: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_radiobutton.cpp:118:7: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (!EXTRADATA(node).cvar || !*(char*)(EXTRADATA(node).cvar)) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_radiobutton.cpp:118:41: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (!EXTRADATA(node).cvar || !*(char*)(EXTRADATA(node).cvar)) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_radiobutton.cpp:125:56: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_radiobutton.cpp:129:29: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
UI_GetReferenceFloat(node, EXTRADATA(node).cvar);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_radiobutton.cpp:134:6: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).string == nullptr) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_radiobutton.cpp:135:27: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
Cvar_SetValue(cvarName, EXTRADATA(node).value);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_radiobutton.cpp:137:28: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
Cvar_Set(cvarName, "%s", EXTRADATA(node).string);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_radiobutton.cpp:48:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_radiobutton.cpp:161:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_radiobutton.cpp:161:2: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_radiobutton.cpp:163:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_radiobutton.cpp:163:2: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_radiobutton.cpp:166:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_radiobutton.cpp:166:2: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_radiobutton.cpp:168:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_radiobutton.cpp:168:2: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_radiobutton.cpp:169:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_radiobutton.cpp:169:2: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_radiobutton.cpp:171:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_radiobutton.cpp:171:2: warning: cast from 'char *' to 'radioButtonExtraData_t *' (aka 'radioButtonExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_video.cpp:31:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_video.cpp:55:18: warning: cast from 'const char *' to 'const videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_video.cpp:57:23: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_video.cpp:57:61: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_video.cpp:59:33: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_video.cpp:64:23: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_video.cpp:67:58: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).cin.status == CIN_STATUS_PLAYING || EXTRADATA(node).cin.status == CIN_STATUS_PAUSE) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_video.cpp:69:22: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
CIN_RunCinematic(&(EXTRADATA(node).cin));
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_video.cpp:71:33: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_video.cpp:91:22: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
CIN_InitCinematic(&(EXTRADATA(node).cin));
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_video.cpp:97:23: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
CIN_CloseCinematic(&(EXTRADATA(node).cin));
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_video.cpp:43:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_video.cpp:107:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_video.cpp:107:2: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_video.cpp:109:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_video.cpp:109:2: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_video.cpp:111:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_video.cpp:111:2: warning: cast from 'char *' to 'videoExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_checkbox.cpp:34:
In file included from src/client/ui/node/../ui_nodes.h:28:
In file included from src/client/ui/node/../../../common/scripts.h:28:
In file included from src/client/ui/node/../../../common/common.h:30:
In file included from src/client/ui/node/../../../common/../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_checkbox.cpp:67:10: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
icon = EXTRADATA(node).iconUnchecked;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_checkbox.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_checkbox.cpp:69:10: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
icon = EXTRADATA(node).iconChecked;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_checkbox.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_checkbox.cpp:71:10: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
icon = EXTRADATA(node).iconIndeterminate;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_checkbox.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_checkbox.cpp:76:6: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(node).background) {
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_checkbox.cpp:47:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_checkbox.cpp:77:29: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_checkbox.cpp:137:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_checkbox.cpp:137:2: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_checkbox.cpp:139:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_checkbox.cpp:139:2: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_checkbox.cpp:141:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_checkbox.cpp:141:2: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_checkbox.cpp:143:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_checkbox.cpp:143:2: warning: cast from 'char *' to 'checkboxExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_option.cpp:25:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_option.cpp:60:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (OPTIONEXTRADATA(option).collapsed) {
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/ui_node_option.cpp:61:4: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
OPTIONEXTRADATA(option).childCount = 0;
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/ui_node_option.cpp:68:3: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
OPTIONEXTRADATA(option).childCount = localCount;
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/ui_node_option.cpp:83:8: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (EXTRADATA(child).collapsed)
^~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_option.cpp:84:18: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
count += 1 + EXTRADATA(child).childCount;
^~~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_option.cpp:90:2: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).childCount = count;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_option.cpp:39:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_option.cpp:113:13: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_option.cpp:113:58: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_option.cpp:114:13: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_option.cpp:114:58: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_option.cpp:140:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_option.cpp:140:2: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_option.cpp:145:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_option.cpp:145:2: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_option.cpp:150:22: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_option.cpp:150:22: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_option.cpp:154:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_option.cpp:154:2: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_option.cpp:155:2: warning: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
src/client/ui/node/ui_node_option.cpp:155:2: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/ui/node/ui_node_tab.cpp:26:
In file included from src/client/ui/node/../ui_main.h:27:
In file included from src/client/ui/node/../ui_data.h:30:
In file included from src/client/ui/node/../../../shared/shared.h:52:
src/client/ui/node/../../../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/ui/node/ui_node_tab.cpp:78:51: warning: cast from 'const char *' to 'const abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tab.cpp:98:36: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tab.cpp:101:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) {
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/ui_node_tab.cpp:101:39: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) {
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/ui_node_tab.cpp:102:16: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tab.cpp:142:42: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tab.cpp:206:51: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tab.cpp:224:15: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (Q_streq(OPTIONEXTRADATA(option).value, ref)) {
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/../../../common/../game/../shared/shared.h:136:31: note: expanded from macro 'Q_streq'
#define Q_streq(a, b) (strcmp(a, b) == 0)
^
src/client/ui/node/ui_node_tab.cpp:236:36: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tab.cpp:240:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) {
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/ui_node_tab.cpp:240:39: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (OPTIONEXTRADATA(option).icon && OPTIONEXTRADATA(option).icon->size[0] < allowedWidth) {
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/ui_node_tab.cpp:241:16: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tab.cpp:261:23: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tab.cpp:261:57: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tab.cpp:261:117: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tab.cpp:262:15: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
textPos += OPTIONEXTRADATA(option).icon->size[0];
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/ui_node_tab.cpp:266:3: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tab.cpp:299:7: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
if (!OPTIONEXTRADATA(option).truncated)
^~~~~~~~~~~~~~~~~~~~~~~
src/client/ui/node/../node/ui_node_option.h:40:31: note: expanded from macro 'OPTIONEXTRADATA'
src/client/ui/node/ui_node_tab.cpp:302:35: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tab.cpp:313:8: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
if (!(EXTRADATA(node).cvar))
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_tab.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_tab.cpp:317:42: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
src/client/ui/node/ui_node_tab.cpp:320:112: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
Com_Printf("UI_TabNodeInit: node '%s' doesn't have a valid cvar assigned (\"%s\" read)\n", UI_GetPath(node), EXTRADATA(node).cvar);
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_tab.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_tab.cpp:321:3: warning: cast from 'char *' to 'abstractOptionExtraData_t *' increases required alignment from 1 to 8 [-Wcast-align]
EXTRADATA(node).cvar = nullptr;
^~~~~~~~~~~~~~~
src/client/ui/node/ui_node_tab.cpp:44:25: note: expanded from macro 'EXTRADATA'
src/client/ui/node/ui_node_tab.cpp:330:27: warning: cast from 'char *' to 'optionExtraData_t *' (aka 'optionExtraData_s *') increases required alignment from 1 to 8 [-Wcast-align]
In file included from src/client/renderer/r_model_md2.cpp:26:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/renderer/r_model_md2.cpp:481:10: warning: cast from 'byte *' (aka 'unsigned char *') to 'const dMD2Model_t *' increases required alignment from 1 to 4 [-Wcast-align]
md2 = (const dMD2Model_t*) buf;
^~~~~~~~~~~~~~~~~~~~~~~~
src/client/renderer/r_model_md2.cpp:500:8: warning: cast from 'byte *' (aka 'unsigned char *') to 'dMD2Model_t *' increases required alignment from 1 to 4 [-Wcast-align]
md2 = (dMD2Model_t*) buffer;
^~~~~~~~~~~~~~~~~~~~~
19 warnings generated.
===> CXX [ufo] src/client/renderer/r_font.cpp
In file included from src/client/renderer/r_font.cpp:26:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/renderer/r_font.cpp:262:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register int hashValue, i;
^~~~~~~~~
src/client/renderer/r_font.cpp:262:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register int hashValue, i;
^~~~~~~~~
12 warnings generated.
===> CXX [ufo] src/client/renderer/r_main.cpp
In file included from src/client/renderer/r_main.cpp:27:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_draw.cpp:25:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_misc.cpp:25:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_array.cpp:28:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_model.cpp:26:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/renderer/r_model.cpp:133:22: warning: cast from 'byte *' (aka 'unsigned char *') to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align]
switch (LittleLong(*(unsigned *) buf)) {
^~~~~~~~~~~~~~~~
src/client/renderer/../../common/../shared/byte.h:37:41: note: expanded from macro 'LittleLong'
#define LittleLong(X) (int)SDL_SwapLE32(X)
^
/usr/local/include/SDL/SDL_endian.h:193:26: note: expanded from macro 'SDL_SwapLE32'
#define SDL_SwapLE32(X) (X)
^
11 warnings generated.
===> CXX [ufo] src/client/renderer/r_bsp.cpp
In file included from src/client/renderer/r_bsp.cpp:26:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_light.cpp:25:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_mesh_anim.cpp:26:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_model_alias.cpp:26:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/renderer/r_model_alias.cpp:256:25: warning: cast from 'byte *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
version = LittleLong(*(uint32_t*) buffer);
^~~~~~~~~~~~~~~~~~
src/client/renderer/../../common/../shared/byte.h:37:41: note: expanded from macro 'LittleLong'
#define LittleLong(X) (int)SDL_SwapLE32(X)
^
/usr/local/include/SDL/SDL_endian.h:193:26: note: expanded from macro 'SDL_SwapLE32'
#define SDL_SwapLE32(X) (X)
^
src/client/renderer/r_model_alias.cpp:264:12: warning: cast from 'byte *' (aka 'unsigned char *') to 'const int32_t *' (aka 'const int *') increases required alignment from 1 to 4 [-Wcast-align]
intbuf = (const int32_t*) buffer;
^~~~~~~~~~~~~~~~~~~~~~~
12 warnings generated.
===> CXX [ufo] src/client/renderer/r_flare.cpp
In file included from src/client/renderer/r_flare.cpp:22:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_model_brush.cpp:26:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/renderer/r_model_brush.cpp:72:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspVertex_t *' increases required alignment from 1 to 4 [-Wcast-align]
in = (const dBspVertex_t*) (mod_base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/renderer/r_model_brush.cpp:95:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspNormal_t *' increases required alignment from 1 to 4 [-Wcast-align]
in = (const dBspNormal_t*)(mod_base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/renderer/r_model_brush.cpp:136:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspModel_t *' increases required alignment from 1 to 4 [-Wcast-align]
in = (const dBspModel_t*) (mod_base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/renderer/r_model_brush.cpp:165:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspEdge_t *' increases required alignment from 1 to 2 [-Wcast-align]
in = (const dBspEdge_t*) (mod_base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/renderer/r_model_brush.cpp:190:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspTexinfo_t *' (aka 'const texinfo_s *') increases required alignment from 1 to 4 [-Wcast-align]
in = (const dBspTexinfo_t*) (mod_base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/renderer/r_model_brush.cpp:288:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspSurface_t *' increases required alignment from 1 to 4 [-Wcast-align]
in = (const dBspSurface_t*) (mod_base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/renderer/r_model_brush.cpp:361:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspNode_t *' increases required alignment from 1 to 4 [-Wcast-align]
in = (const dBspNode_t*) (mod_base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/renderer/r_model_brush.cpp:412:25: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspLeaf_t *' increases required alignment from 1 to 4 [-Wcast-align]
const dBspLeaf_t* in = (const dBspLeaf_t*) (mod_base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/renderer/r_model_brush.cpp:437:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const int *' increases required alignment from 1 to 4 [-Wcast-align]
in = (const int*) (mod_base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/renderer/r_model_brush.cpp:463:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspPlane_t *' increases required alignment from 1 to 4 [-Wcast-align]
in = (const dBspPlane_t*) (mod_base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/renderer/r_model_brush.cpp:1059:11: warning: cast from 'byte *' (aka 'unsigned char *') to 'dBspHeader_t *' increases required alignment from 1 to 4 [-Wcast-align]
header = (dBspHeader_t*) buffer;
^~~~~~~~~~~~~~~~~~~~~~
21 warnings generated.
===> CXX [ufo] src/client/renderer/r_corona.cpp
In file included from src/client/renderer/r_corona.cpp:22:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_geoscape.cpp:25:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_thread.cpp:26:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_program.cpp:27:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_state.cpp:25:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_entity.cpp:25:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_model_md3.cpp:26:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_material.cpp:26:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_sdl.cpp:26:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_particle.cpp:25:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_model_obj.cpp:55:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_surface.cpp:26:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_image.cpp:25:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/renderer/r_image.cpp:502:19: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const unsigned int *' increases required alignment from 1 to 4 [-Wcast-align]
In file included from src/client/renderer/r_lightmap.cpp:27:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_sphere.cpp:26:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/client/renderer/r_sphere.cpp:205:6: warning: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value]
if (Vector4NotEmpty(sphere->nightLightPos))
^
src/client/renderer/../../common/../shared/vector.h:76:60: note: expanded from macro 'Vector4NotEmpty'
src/client/renderer/../../common/../shared/vector.h:37:21: note: expanded from macro 'EQUAL'
#define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f)
^
11 warnings generated.
===> CXX [ufo] src/client/renderer/r_matrix.cpp
In file included from src/client/renderer/r_matrix.cpp:21:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_framebuffer.cpp:25:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_grass.cpp:26:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/client/renderer/r_mesh.cpp:28:
In file included from src/client/renderer/r_local.h:28:
In file included from src/client/renderer/../../common/common.h:30:
In file included from src/client/renderer/../../common/../shared/shared.h:52:
src/client/renderer/../../common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/binaryexpressionparser.cpp:26:
In file included from src/common/common.h:30:
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/common/bsp.cpp:59:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspModel_t *' increases required alignment from 1 to 4 [-Wcast-align]
in = (const dBspModel_t*) (base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/bsp.cpp:102:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspTexinfo_t *' (aka 'const texinfo_s *') increases required alignment from 1 to 4 [-Wcast-align]
in = (const dBspTexinfo_t*) (base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/bsp.cpp:143:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspNode_t *' increases required alignment from 1 to 4 [-Wcast-align]
in = (const dBspNode_t*) (base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/bsp.cpp:193:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspBrush_t *' increases required alignment from 1 to 4 [-Wcast-align]
in = (const dBspBrush_t*) (base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/bsp.cpp:230:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspLeaf_t *' increases required alignment from 1 to 4 [-Wcast-align]
in = (const dBspLeaf_t*) (base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/bsp.cpp:284:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspPlane_t *' increases required alignment from 1 to 4 [-Wcast-align]
in = (const dBspPlane_t*) (base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/bsp.cpp:329:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const unsigned short *' increases required alignment from 1 to 2 [-Wcast-align]
in = (const unsigned short*) (base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/bsp.cpp:366:7: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const dBspBrushSide_t *' increases required alignment from 1 to 2 [-Wcast-align]
in = (const dBspBrushSide_t*) (base + l->fileofs);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/bsp.cpp:812:12: warning: cast from 'byte *' (aka 'unsigned char *') to 'dBspHeader_t *' increases required alignment from 1 to 4 [-Wcast-align]
header = *(dBspHeader_t*) buf;
^~~~~~~~~~~~~~~~~~~
19 warnings generated.
===> CXX [ufo] src/common/grid.cpp
In file included from src/common/grid.cpp:26:
In file included from src/common/common.h:30:
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/common/../shared/vector.h:37:21: note: expanded from macro 'EQUAL'
#define EQUAL(a,b) (fabsf((a)-(b))<0.0000000001f)
^
13 warnings generated.
===> CXX [ufo] src/common/cmodel.cpp
In file included from src/common/cmodel.cpp:27:
In file included from src/common/common.h:30:
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/common/md5.cpp:81:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register uint32_t a, b, c, d;
^~~~~~~~~
src/common/md5.cpp:81:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register uint32_t a, b, c, d;
^~~~~~~~~
src/common/md5.cpp:81:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register uint32_t a, b, c, d;
^~~~~~~~~
src/common/md5.cpp:81:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register uint32_t a, b, c, d;
^~~~~~~~~
14 warnings generated.
===> CXX [ufo] src/common/mem.cpp
In file included from src/common/mem.cpp:29:
In file included from src/common/common.h:30:
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/common/net.cpp:1240:29: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4 [-Wcast-align]
char* service = inet_ntoa(((struct sockaddr_in *)addr->ai_addr)->sin_addr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 warnings generated.
===> CXX [ufo] src/common/netpack.cpp
In file included from src/common/netpack.cpp:25:
In file included from src/common/common.h:30:
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
src/common/scripts.cpp:667:15: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align]
float* f = (float *) b;
^~~~~~~~~~~
src/common/scripts.cpp:706:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'align_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(align_t *)b = (align_t)num;
^~~~~~~~~~~~
src/common/scripts.cpp:718:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'blend_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(blend_t *)b = (blend_t)num;
^~~~~~~~~~~~
src/common/scripts.cpp:730:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'style_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(style_t *)b = (style_t)num;
^~~~~~~~~~~~
src/common/scripts.cpp:742:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'fade_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(fade_t *)b = (fade_t)num;
^~~~~~~~~~~
src/common/scripts.cpp:761:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
*(uint32_t *) b |= ((1 << w) - 1) << x << (y * SHAPE_SMALL_MAX_WIDTH);
^~~~~~~~~~~~~~
src/common/scripts.cpp:780:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
((uint32_t *) b)[y] |= w;
^~~~~~~~~~~~~~
src/common/scripts.cpp:801:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'date_t *' (aka 'date_s *') increases required alignment from 1 to 4 [-Wcast-align]
((date_t *) b)->day = DAYS_PER_YEAR * x + y;
^~~~~~~~~~~~
src/common/scripts.cpp:802:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'date_t *' (aka 'date_s *') increases required alignment from 1 to 4 [-Wcast-align]
((date_t *) b)->sec = SECONDS_PER_HOUR * w;
^~~~~~~~~~~~
src/common/scripts.cpp:813:6: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align]
*(float *) b = atof(token + 1) * (-1);
^~~~~~~~~~~
src/common/scripts.cpp:815:6: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align]
*(float *) b = atof(token + 1);
^~~~~~~~~~~
src/common/scripts.cpp:821:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align]
*(float *) b = atof(token);
^~~~~~~~~~~
src/common/scripts.cpp:931:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align]
*(int *) b = TEAM_CIVILIAN;
^~~~~~~~~
src/common/scripts.cpp:933:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align]
*(int *) b = TEAM_PHALANX;
^~~~~~~~~
src/common/scripts.cpp:935:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align]
*(int *) b = TEAM_ALIEN;
^~~~~~~~~
src/common/scripts.cpp:942:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(humanAircraftType_t *) b = DROPSHIP_FIREBIRD;
^~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scripts.cpp:944:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(humanAircraftType_t *) b = DROPSHIP_HERAKLES;
^~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scripts.cpp:946:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(humanAircraftType_t *) b = DROPSHIP_RAPTOR;
^~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scripts.cpp:948:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(humanAircraftType_t *) b = INTERCEPTOR_STILETTO;
^~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scripts.cpp:950:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(humanAircraftType_t *) b = INTERCEPTOR_SARACEN;
^~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scripts.cpp:952:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(humanAircraftType_t *) b = INTERCEPTOR_DRAGON;
^~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scripts.cpp:954:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(humanAircraftType_t *) b = INTERCEPTOR_STARCHASER;
^~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scripts.cpp:956:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(humanAircraftType_t *) b = INTERCEPTOR_STINGRAY;
^~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scripts.cpp:963:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_BOMBER;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:965:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_CARRIER;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:967:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_CORRUPTER;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:969:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_FIGHTER;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:971:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_HARVESTER;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:973:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_SCOUT;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:975:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_SUPPLY;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:977:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_GUNBOAT;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:979:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_RIPPER;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:981:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_MOTHERSHIP;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:988:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_BOMBER;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:990:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_CARRIER;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:992:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_CORRUPTER;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:994:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_FIGHTER;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:996:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_HARVESTER;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:998:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_SCOUT;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:1000:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_SUPPLY;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:1002:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_GUNBOAT;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:1004:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_RIPPER;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:1006:5: warning: cast from 'byte *' (aka 'unsigned char *') to 'ufoType_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(ufoType_t *) b = UFO_MOTHERSHIP;
^~~~~~~~~~~~~~~
src/common/scripts.cpp:1012:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align]
*(int *) b = *(const int *) set;
^~~~~~~~~
src/common/scripts.cpp:1016:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align]
((int *) b)[0] = ((const int *) set)[0];
^~~~~~~~~
src/common/scripts.cpp:1017:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align]
((int *) b)[1] = ((const int *) set)[1];
^~~~~~~~~
src/common/scripts.cpp:1021:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align]
*(float *) b = *(const float *) set;
^~~~~~~~~~~
src/common/scripts.cpp:1025:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align]
((float *) b)[0] = ((const float *) set)[0];
^~~~~~~~~~~
src/common/scripts.cpp:1026:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align]
((float *) b)[1] = ((const float *) set)[1];
^~~~~~~~~~~
src/common/scripts.cpp:1030:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align]
((float *) b)[0] = ((const float *) set)[0];
^~~~~~~~~~~
src/common/scripts.cpp:1031:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align]
((float *) b)[1] = ((const float *) set)[1];
^~~~~~~~~~~
src/common/scripts.cpp:1032:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align]
((float *) b)[2] = ((const float *) set)[2];
^~~~~~~~~~~
src/common/scripts.cpp:1036:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align]
((float *) b)[0] = ((const float *) set)[0];
^~~~~~~~~~~
src/common/scripts.cpp:1037:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align]
((float *) b)[1] = ((const float *) set)[1];
^~~~~~~~~~~
src/common/scripts.cpp:1038:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align]
((float *) b)[2] = ((const float *) set)[2];
^~~~~~~~~~~
src/common/scripts.cpp:1039:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'float *' increases required alignment from 1 to 4 [-Wcast-align]
((float *) b)[3] = ((const float *) set)[3];
^~~~~~~~~~~
src/common/scripts.cpp:1055:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'align_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(align_t *)b = *(const align_t *) set;
^~~~~~~~~~~~
src/common/scripts.cpp:1059:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'blend_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(blend_t *)b = *(const blend_t *) set;
^~~~~~~~~~~~
src/common/scripts.cpp:1063:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'style_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(style_t *)b = *(const style_t *) set;
^~~~~~~~~~~~
src/common/scripts.cpp:1067:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'fade_t *' increases required alignment from 1 to 4 [-Wcast-align]
*(fade_t *)b = *(const fade_t *) set;
^~~~~~~~~~~
src/common/scripts.cpp:1071:4: warning: cast from 'byte *' (aka 'unsigned char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align]
*(int *) b = *(const int *) set;
^~~~~~~~~
src/common/scripts.cpp:1133:12: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const int *' increases required alignment from 1 to 4 [-Wcast-align]
switch (*(const int *) b) {
^~~~~~~~~~~~~~~
src/common/scripts.cpp:1141:39: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const int *' increases required alignment from 1 to 4 [-Wcast-align]
Sys_Error("Unknown team id '%i'", *(const int *) b);
^~~~~~~~~~~~~~~
src/common/scripts.cpp:1145:12: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align]
switch (*(const humanAircraftType_t *) b) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/scripts.cpp:1163:50: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const humanAircraftType_t *' increases required alignment from 1 to 4 [-Wcast-align]
src/common/scripts.cpp:1219:50: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const int *' increases required alignment from 1 to 4 [-Wcast-align]
Com_sprintf(valuestr, sizeof(valuestr), "%i", *(const int *) b);
^~~~~~~~~~~~~~~
src/common/scripts.cpp:1223:53: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const int *' increases required alignment from 1 to 4 [-Wcast-align]
Com_sprintf(valuestr, sizeof(valuestr), "%i %i", ((const int *) b)[0], ((const int *) b)[1]);
^~~~~~~~~~~~~~~
src/common/scripts.cpp:1223:75: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const int *' increases required alignment from 1 to 4 [-Wcast-align]
Com_sprintf(valuestr, sizeof(valuestr), "%i %i", ((const int *) b)[0], ((const int *) b)[1]);
^~~~~~~~~~~~~~~
src/common/scripts.cpp:1227:52: warning: cast from 'const byte *' (aka 'const unsigned char *') to 'const float *' increases required alignment from 1 to 4 [-Wcast-align]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/typedefs.h:5:
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]
In file included from src/common/../shared/shared.h:52:
src/common/../shared/sharedptr.h:184:25: warning: 'const' qualifier on reference type 'SharedPtr::ReferenceType' (aka 'T &') has no effect [-Wignored-qualifiers]