View Single Post
  #3  
Old 03-14-2002, 08:00 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Im getting this when compiling zone.

World compiles fine (had to add "using namespace std;" per Misanthrope and #include <stdarg.h> to find the va_ functions)

In file included from client_process.cpp:32:
petitions.h:89:6: warning: no newline at end of file
In file included from client_process.cpp:33:
NpcAI.h:17:6: warning: no newline at end of file
client.cpp:1785: warning: cast to pointer from integer of different size
client.cpp:1787: warning: cast to pointer from integer of different size
npc.cpp: In constructor `NPC::NPC(NPCType*, Spawn2*, float, float, float,
float, bool)':
npc.cpp:85: statement cannot resolve address of overloaded function
client_process.cpp: In member function `void Client::SetAttackTimer()':
client_process.cpp:2351: warning: passing `float' for argument 1 of `void
Timer::Start(unsigned int, bool)'
client_process.cpp:2358: warning: passing `float' for argument 1 of `void
Timer::Start(unsigned int, bool)'
client_process.cpp:2592:1: warning: no newline at end of file
make: *** [npc.o] Error 1
make: *** Waiting for unfinished jobs....


Stud,

try adding this include to npc.cpp

#include "entity.h"
Reply With Quote