Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make: *** [account.o] Error 1
- root@cpanel:/home/sources# make
- rm -rf *.o
- g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Wno-deprecated -Werror -O1 -c account.cpp
- g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Wno-deprecated -Werror -O1 -c actions.cpp
- g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Wno-deprecated -Werror -O1 -c admin.cpp
- g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Wno-deprecated -Werror -O1 -c allocator.cpp
- g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Wno-deprecated -Werror -O1 -c ban.cpp
- g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Wno-deprecated -Werror -O1 -c baseevents.cpp
- g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Wno-deprecated -Werror -O1 -c creature.cpp
- g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Wno-deprecated -Werror -O1 -c creatureevent.cpp
- In file included from luascript.h:44,
- from creatureevent.h:24,
- from creatureevent.cpp:22:
- position.h: In static member function 'static bool Position::areInRange(const Position&, const Position&)':
- position.h:49: error: call of overloaded 'abs(int&)' is ambiguous
- /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double)
- /usr/include/c++/4.4/cmath:98: note: float std::abs(float)
- /usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
- position.h:49: error: call of overloaded 'abs(int&)' is ambiguous
- /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double)
- /usr/include/c++/4.4/cmath:98: note: float std::abs(float)
- /usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
- position.h:49: error: call of overloaded 'abs(int&)' is ambiguous
- /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double)
- /usr/include/c++/4.4/cmath:98: note: float std::abs(float)
- /usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
- position.h: In static member function 'static bool Position::areInRange(const Position&, const Position&)':
- position.h:57: error: call of overloaded 'abs(int&)' is ambiguous
- /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double)
- /usr/include/c++/4.4/cmath:98: note: float std::abs(float)
- /usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
- position.h:57: error: call of overloaded 'abs(int&)' is ambiguous
- /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double)
- /usr/include/c++/4.4/cmath:98: note: float std::abs(float)
- /usr/include/c++/4.4/cmath:102: note: long double std::abs(long double)
- make: *** [creatureevent.o] Error 1
- root@cpanel:/home/sources#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement