game
Code:
compile battle.cpp
In file included from stdafx.h:12,
from guild_safebox.h:4,
from guild.h:7,
from battle.cpp:15:
../../common/utils.h: In function 'bool str_to_number(bool&, const char*)':
../../common/utils.h:2: error: redefinition of 'bool str_to_number(bool&, const char*)'
../../common/utils.h:2: error: 'bool str_to_number(bool&, const char*)' previously defined here
../../common/utils.h: In function 'bool str_to_number(char&, const char*)':
../../common/utils.h:10: error: redefinition of 'bool str_to_number(char&, const char*)'
../../common/utils.h:10: error: 'bool str_to_number(char&, const char*)' previously defined here
../../common/utils.h: In function 'bool str_to_number(unsigned char&, const char*)':
../../common/utils.h:18: error: redefinition of 'bool str_to_number(unsigned char&, const char*)'
../../common/utils.h:18: error: 'bool str_to_number(unsigned char&, const char*)' previously defined here
../../common/utils.h: In function 'bool str_to_number(short int&, const char*)':
../../common/utils.h:26: error: redefinition of 'bool str_to_number(short int&, const char*)'
../../common/utils.h:26: error: 'bool str_to_number(short int&, const char*)' previously defined here
../../common/utils.h: In function 'bool str_to_number(short unsigned int&, const char*)':
../../common/utils.h:34: error: redefinition of 'bool str_to_number(short unsigned int&, const char*)'
../../common/utils.h:34: error: 'bool str_to_number(short unsigned int&, const char*)' previously defined here
../../common/utils.h: In function 'bool str_to_number(int&, const char*)':
../../common/utils.h:42: error: redefinition of 'bool str_to_number(int&, const char*)'
../../common/utils.h:42: error: 'bool str_to_number(int&, const char*)' previously defined here
../../common/utils.h: In function 'bool str_to_number(unsigned int&, const char*)':
../../common/utils.h:50: error: redefinition of 'bool str_to_number(unsigned int&, const char*)'
../../common/utils.h:50: error: 'bool str_to_number(unsigned int&, const char*)' previously defined here
../../common/utils.h: In function 'bool str_to_number(long int&, const char*)':
../../common/utils.h:58: error: redefinition of 'bool str_to_number(long int&, const char*)'
../../common/utils.h:58: error: 'bool str_to_number(long int&, const char*)' previously defined here
../../common/utils.h: In function 'bool str_to_number(long unsigned int&, const char*)':
../../common/utils.h:66: error: redefinition of 'bool str_to_number(long unsigned int&, const char*)'
../../common/utils.h:66: error: 'bool str_to_number(long unsigned int&, const char*)' previously defined here
../../common/utils.h: In function 'bool str_to_number(long long int&, const char*)':
../../common/utils.h:74: error: redefinition of 'bool str_to_number(long long int&, const char*)'
../../common/utils.h:74: error: 'bool str_to_number(long long int&, const char*)' previously defined here
../../common/utils.h: In function 'bool str_to_number(float&, const char*)':
../../common/utils.h:82: error: redefinition of 'bool str_to_number(float&, const char*)'
../../common/utils.h:82: error: 'bool str_to_number(float&, const char*)' previously defined here
../../common/utils.h: In function 'bool str_to_number(double&, const char*)':
../../common/utils.h:90: error: redefinition of 'bool str_to_number(double&, const char*)'
../../common/utils.h:90: error: 'bool str_to_number(double&, const char*)' previously defined here
../../common/utils.h: In function 'bool str_to_number(long double&, const char*)':
../../common/utils.h:99: error: redefinition of 'bool str_to_number(long double&, const char*)'
../../common/utils.h:99: error: 'bool str_to_number(long double&, const char*)' previously defined here
Makefile:130: recipe for target 'OBJDIR/battle.o' failed
gmake: *** [OBJDIR/battle.o] Error 1
db
Code:
compile Main.cpp
In file included from Main.cpp:21:
GuildSafeboxManager.h:67: error: 'GUILD_SAFEBOX_PASSWORD_MAX_LEN' was not declared in this scope
GuildSafeboxManager.h:70: error: 'GUILD_SAFEBOX_MAX_NUM' was not declared in this scope
GuildSafeboxManager.h:71: error: 'GUILD_SAFEBOX_MAX_NUM' was not declared in this scope
GuildSafeboxManager.h: In member function 'void CGuildSafebox::SetPassword(const char*)':
GuildSafeboxManager.h:36: error: 'm_szPassword' was not declared in this scope
GuildSafeboxManager.h: In member function 'const char* CGuildSafebox::GetPassword()':
GuildSafeboxManager.h:37: error: 'm_szPassword' was not declared in this scope
GuildSafeboxManager.h: In member function 'bool CGuildSafebox::CheckPassword(const char*) const':
GuildSafeboxManager.h:38: error: 'm_szPassword' was not declared in this scope
GuildSafeboxManager.h: In member function 'const TPlayerItem* CGuildSafebox::GetItem(BYTE) const':
GuildSafeboxManager.h:59: error: 'm_pItems' was not declared in this scope
Makefile:56: recipe for target '.obj/Main.o' failed
gmake: *** [.obj/Main.o] Error 1