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]