Jump to content

Erro Ao Compilar Source


Guest Gamers

Recommended Posts

compile BattleArena.cpp

In file included from BattleArena.cpp:6:0:

char.h:328:2: error: 'LONGLONG' does not name a type

LONGLONG points[POINT_MAX_NUM];

^

char.h:339:2: error: 'LONGLONG' does not name a type

LONGLONG gold;

^

char.h:359:2: error: 'LONGLONG' does not name a type

LONGLONG points[POINT_MAX_NUM];

^

char.h:696:33: error: 'ULONGLONG' has not been declared

void PointChange(BYTE type, ULONGLONG amount, bool bAmount = false, bool bB roadcast = false);

^

char.h:696:10: error: 'void CHARACTER::PointChange(BYTE, int, bool, bool)' canno t be overloaded

void PointChange(BYTE type, ULONGLONG amount, bool bAmount = false, bool bB roadcast = false);

^

char.h:692:10: error: with 'void CHARACTER::PointChange(BYTE, int, bool, bool)'

void PointChange(BYTE type, int amount, bool bAmount = false, bool bBroadca st = false);

^

char.h:698:33: error: 'LONGLONG' has not been declared

void PointChange(BYTE type, LONGLONG amount, bool bAmount = false, bool bBr oadcast = false);

^

char.h:698:10: error: 'void CHARACTER::PointChange(BYTE, int, bool, bool)' canno t be overloaded

void PointChange(BYTE type, LONGLONG amount, bool bAmount = false, bool bBr oadcast = false);

^

char.h:692:10: error: with 'void CHARACTER::PointChange(BYTE, int, bool, bool)'

void PointChange(BYTE type, int amount, bool bAmount = false, bool bBroadca st = false);

^

In file included from BattleArena.cpp:6:0:

char.h:1096:3: error: 'LONGLONG' does not name a type

LONGLONG GetGold() const { return m_points.gold; }

^

char.h:1097:18: error: 'LONGLONG' has not been declared

void SetGold(LONGLONG gold) { m_points.gold = gold; }

^

char.h:1099:3: error: 'LONGLONG' does not name a type

LONGLONG GetAllowedGold() const;

^

char.h:1100:19: error: 'LONGLONG' has not been declared

void GiveGold(LONGLONG llAmount);

^

char.h: In member function 'void CHARACTER::SetGold(int)':

char.h:1097:44: error: 'CHARACTER_POINT' has no member named 'gold'

void SetGold(LONGLONG gold) { m_points.gold = gold; }

^

Makefile:63: recipe for target 'OBJDIR/BattleArena.o' failed

gmake[1]: *** [OBJDIR/BattleArena.o] Error 1

gmake[1]: Leaving directory '/tmtsource/Server/game/src'

Makefile:104: recipe for target 'rebuild' failed

gmake: *** [rebuild] Error 2

Link to comment
  • 4 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...