VeoMorphine
04-01-2003, 02:10 PM
In the zone make i get this
mob.cpp: In method `void Mob::FillSpawnStruct (NewSpawn_Struct *, Mob
*)':
mob.cpp:491: warning: assignment to `sint16' from `float'
mob.cpp:491: warning: argument to `short int' from `float'
mob.cpp: In method `void Mob::CreateHPPacket (APPLAYER *)':
mob.cpp:595: warning: assignment to `sint32' from `float'
mob.cpp:595: warning: argument to `int' from `float'
mob.cpp: In function `int32 Mob::RandomTimer (int, int)':
mob.cpp:1937: `rand' undeclared (first use this function)
mob.cpp:1937: (Each undeclared identifier is reported only once for
each function it appears in.)
make: *** [mob.o] Error 1
bash-2.05a$
In the world make i get this:
../common/dbcore.cpp: In method `bool DBcore::RunQuery (const char *,
unsigned int, char *, MYSQL_RES **, int32 *, int32 *, int32 *, bool)':
../common/dbcore.cpp:121: `strcpy' undeclared (first use this function)
../common/dbcore.cpp:121: (Each undeclared identifier is reported only
once for each function it appears in.)
../common/dbcore.cpp: In method `bool DBcore::Open (const char *, const
char *, const char *, const char *, char *, bool, bool)':
../common/dbcore.cpp:156: `strlen' undeclared (first use this function)
make: *** [../common/dbcore.o] Error 1
bash-2.05a$
I cant figure out why this is happening.
mob.cpp: In method `void Mob::FillSpawnStruct (NewSpawn_Struct *, Mob
*)':
mob.cpp:491: warning: assignment to `sint16' from `float'
mob.cpp:491: warning: argument to `short int' from `float'
mob.cpp: In method `void Mob::CreateHPPacket (APPLAYER *)':
mob.cpp:595: warning: assignment to `sint32' from `float'
mob.cpp:595: warning: argument to `int' from `float'
mob.cpp: In function `int32 Mob::RandomTimer (int, int)':
mob.cpp:1937: `rand' undeclared (first use this function)
mob.cpp:1937: (Each undeclared identifier is reported only once for
each function it appears in.)
make: *** [mob.o] Error 1
bash-2.05a$
In the world make i get this:
../common/dbcore.cpp: In method `bool DBcore::RunQuery (const char *,
unsigned int, char *, MYSQL_RES **, int32 *, int32 *, int32 *, bool)':
../common/dbcore.cpp:121: `strcpy' undeclared (first use this function)
../common/dbcore.cpp:121: (Each undeclared identifier is reported only
once for each function it appears in.)
../common/dbcore.cpp: In method `bool DBcore::Open (const char *, const
char *, const char *, const char *, char *, bool, bool)':
../common/dbcore.cpp:156: `strlen' undeclared (first use this function)
make: *** [../common/dbcore.o] Error 1
bash-2.05a$
I cant figure out why this is happening.