Code:
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
Edit: Solved.






