Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- theforgottenserver 0.4
- Server diagnostics.......... : no
- Login server mode........... : no
- OTAdmin protocol............ : no
- Root run permission......... : no
- Login server mode........... : no
- Home-directory configuration : no
- OTServ custom allocator..... : no
- Debug build................. : no
- Using LuaJIT................ : no
- Build with MySQL............ : yes
- Build with SQLite........... : no
- Build with PostgreSQL....... : no
- Configure complete, now you may type './build.sh'.
- /bin/bash ./config.status
- config.status: creating Makefile
- config.status: creating config.h
- config.status: config.h is unchanged
- config.status: executing depfiles commands
- make all-am
- make[1]: Entering directory `/root/TibiaServer/trunk.r3777'
- g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -pipe -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cpp
- g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -pipe -MT baseevents.o -MD -MP -MF .deps/baseevents.Tpo -c -o baseevents.o baseevents.cpp
- In file included from /usr/local/include/boost/thread/detail/platform.hpp:17:0,
- from /usr/local/include/boost/thread/thread.hpp:12,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/local/include/boost/config/requires_threads.hpp:29:4: error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
- # error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
- ^
- In file included from /usr/local/include/boost/thread/thread.hpp:12:0,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/local/include/boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no boost threads are available for this platform."
- # error "Sorry, no boost threads are available for this platform."
- ^
- In file included from /usr/local/include/boost/thread.hpp:13:0,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/local/include/boost/thread/thread.hpp:19:2: error: #error "Boost threads unavailable on this platform"
- #error "Boost threads unavailable on this platform"
- ^
- In file included from /usr/local/include/boost/thread/detail/thread.hpp:11:0,
- from /usr/local/include/boost/thread/thread.hpp:22,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/local/include/boost/thread/mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
- #error "Boost threads unavailable on this platform"
- ^
- In file included from /usr/local/include/boost/thread/detail/thread.hpp:13:0,
- from /usr/local/include/boost/thread/thread.hpp:22,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/local/include/boost/thread/detail/thread_heap_alloc.hpp:19:2: error: #error "Boost threads unavailable on this platform"
- #error "Boost threads unavailable on this platform"
- ^
- In file included from /usr/local/include/boost/thread/detail/thread_group.hpp:9:0,
- from /usr/local/include/boost/thread/thread.hpp:24,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/local/include/boost/thread/shared_mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
- #error "Boost threads unavailable on this platform"
- ^
- In file included from /usr/local/include/boost/thread/detail/platform.hpp:17:0,
- from /usr/local/include/boost/thread/thread.hpp:12,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from baseevents.cpp:20:
- /usr/local/include/boost/config/requires_threads.hpp:29:4: error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
- # error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
- ^
- In file included from /usr/local/include/boost/thread/thread.hpp:12:0,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from baseevents.cpp:20:
- /usr/local/include/boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no boost threads are available for this platform."
- # error "Sorry, no boost threads are available for this platform."
- ^
- In file included from /usr/local/include/boost/thread.hpp:13:0,
- from otsystem.h:34,
- from baseevents.h:20,
- from baseevents.cpp:20:
- /usr/local/include/boost/thread/thread.hpp:19:2: error: #error "Boost threads unavailable on this platform"
- #error "Boost threads unavailable on this platform"
- ^
- In file included from /usr/local/include/boost/thread.hpp:14:0,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/local/include/boost/thread/condition_variable.hpp:18:2: error: #error "Boost threads unavailable on this platform"
- #error "Boost threads unavailable on this platform"
- ^
- In file included from /usr/local/include/boost/thread.hpp:17:0,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/local/include/boost/thread/once.hpp:18:2: error: #error "Boost threads unavailable on this platform"
- #error "Boost threads unavailable on this platform"
- ^
- In file included from /usr/local/include/boost/thread/detail/thread.hpp:11:0,
- from /usr/local/include/boost/thread/thread.hpp:22,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from baseevents.cpp:20:
- /usr/local/include/boost/thread/mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
- #error "Boost threads unavailable on this platform"
- ^
- In file included from /usr/local/include/boost/thread.hpp:18:0,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/local/include/boost/thread/recursive_mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
- #error "Boost threads unavailable on this platform"
- ^
- In file included from /usr/local/include/boost/thread/detail/thread.hpp:13:0,
- from /usr/local/include/boost/thread/thread.hpp:22,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from baseevents.cpp:20:
- /usr/local/include/boost/thread/detail/thread_heap_alloc.hpp:19:2: error: #error "Boost threads unavailable on this platform"
- #error "Boost threads unavailable on this platform"
- ^
- In file included from /usr/local/include/boost/thread/detail/thread_group.hpp:9:0,
- from /usr/local/include/boost/thread/thread.hpp:24,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from baseevents.cpp:20:
- /usr/local/include/boost/thread/shared_mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
- #error "Boost threads unavailable on this platform"
- ^
- In file included from /usr/local/include/boost/thread.hpp:14:0,
- from otsystem.h:34,
- from baseevents.h:20,
- from baseevents.cpp:20:
- /usr/local/include/boost/thread/condition_variable.hpp:18:2: error: #error "Boost threads unavailable on this platform"
- #error "Boost threads unavailable on this platform"
- ^
- In file included from /usr/local/include/boost/thread.hpp:17:0,
- from otsystem.h:34,
- from baseevents.h:20,
- from baseevents.cpp:20:
- /usr/local/include/boost/thread/once.hpp:18:2: error: #error "Boost threads unavailable on this platform"
- #error "Boost threads unavailable on this platform"
- ^
- In file included from /usr/local/include/boost/thread.hpp:18:0,
- from otsystem.h:34,
- from baseevents.h:20,
- from baseevents.cpp:20:
- /usr/local/include/boost/thread/recursive_mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
- #error "Boost threads unavailable on this platform"
- ^
- In file included from thing.h:20:0,
- from otpch.h:40,
- from baseevents.cpp:17:
- position.h:48:12: error: ‘uint16_t’ has not been declared
- template<uint16_t deltax, uint16_t deltay, uint16_t deltaz>
- ^
- position.h:48:29: error: ‘uint16_t’ has not been declared
- template<uint16_t deltax, uint16_t deltay, uint16_t deltaz>
- ^
- position.h:48:46: error: ‘uint16_t’ has not been declared
- template<uint16_t deltax, uint16_t deltay, uint16_t deltaz>
- ^
- In file included from thing.h:20:0,
- from otpch.h:40,
- from baseevents.cpp:17:
- position.h:54:12: error: ‘uint16_t’ has not been declared
- template<uint16_t deltax, uint16_t deltay>
- ^
- position.h:54:29: error: ‘uint16_t’ has not been declared
- template<uint16_t deltax, uint16_t deltay>
- ^
- position.h:65:21: error: expected ‘)’ before ‘_x’
- Position(uint16_t _x, uint16_t _y, uint16_t _z): x(_x), y(_y), z(_z) {}
- ^
- position.h:66:3: error: ‘uint16_t’ does not name a type
- uint16_t x, y, z;
- ^
- In file included from thing.h:20:0,
- from otpch.h:40,
- from baseevents.cpp:17:
- position.h: In constructor ‘Position::Position()’:
- position.h:45:15: error: class ‘Position’ does not have any field named ‘x’
- Position(): x(0), y(0), z(0) {}
- ^
- position.h:45:21: error: class ‘Position’ does not have any field named ‘y’
- Position(): x(0), y(0), z(0) {}
- ^
- position.h:45:27: error: class ‘Position’ does not have any field named ‘z’
- Position(): x(0), y(0), z(0) {}
- ^
- position.h: In static member function ‘static bool Position::areInRange(const Position&, const Position&)’:
- position.h:51:31: error: ‘const class Position’ has no member named ‘x’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay || std::abs(float(p1.z - p2.z)) > deltaz);
- ^
- position.h:51:38: error: ‘const class Position’ has no member named ‘x’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay || std::abs(float(p1.z - p2.z)) > deltaz);
- ^
- position.h:51:72: error: ‘const class Position’ has no member named ‘y’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay || std::abs(float(p1.z - p2.z)) > deltaz);
- ^
- position.h:51:79: error: ‘const class Position’ has no member named ‘y’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay || std::abs(float(p1.z - p2.z)) > deltaz);
- ^
- position.h:51:113: error: ‘const class Position’ has no member named ‘z’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay || std::abs(float(p1.z - p2.z)) > deltaz);
- ^
- position.h:51:120: error: ‘const class Position’ has no member named ‘z’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay || std::abs(float(p1.z - p2.z)) > deltaz);
- ^
- In file included from thing.h:20:0,
- from otpch.h:40,
- from baseevents.cpp:17:
- position.h: In static member function ‘static bool Position::areInRange(const Position&, const Position&)’:
- position.h:57:31: error: ‘const class Position’ has no member named ‘x’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay);
- ^
- position.h:57:38: error: ‘const class Position’ has no member named ‘x’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay);
- ^
- position.h:57:72: error: ‘const class Position’ has no member named ‘y’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay);
- ^
- position.h:57:79: error: ‘const class Position’ has no member named ‘y’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay);
- ^
- position.h: In static member function ‘static bool Position::areInRange(const Position&, const Position&, const Position&)’:
- position.h:62:31: error: ‘const class Position’ has no member named ‘x’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:38: error: ‘const class Position’ has no member named ‘x’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:46: error: ‘const class Position’ has no member named ‘x’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:69: error: ‘const class Position’ has no member named ‘y’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:76: error: ‘const class Position’ has no member named ‘y’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:84: error: ‘const class Position’ has no member named ‘y’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:107: error: ‘const class Position’ has no member named ‘z’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:114: error: ‘const class Position’ has no member named ‘z’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:122: error: ‘const class Position’ has no member named ‘z’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h: In member function ‘bool Position::operator<(const Position&) const’:
- position.h:70:7: error: ‘z’ was not declared in this scope
- if(z < p.z)
- ^
- position.h:70:13: error: ‘const class Position’ has no member named ‘z’
- if(z < p.z)
- ^
- position.h:73:7: error: ‘z’ was not declared in this scope
- if(z > p.z)
- ^
- position.h:73:13: error: ‘const class Position’ has no member named ‘z’
- if(z > p.z)
- ^
- position.h:76:7: error: ‘y’ was not declared in this scope
- if(y < p.y)
- ^
- position.h:76:13: error: ‘const class Position’ has no member named ‘y’
- if(y < p.y)
- ^
- position.h:79:7: error: ‘y’ was not declared in this scope
- if(y > p.y)
- ^
- position.h:79:13: error: ‘const class Position’ has no member named ‘y’
- if(y > p.y)
- ^
- position.h:82:7: error: ‘x’ was not declared in this scope
- if(x < p.x)
- ^
- position.h:82:13: error: ‘const class Position’ has no member named ‘x’
- if(x < p.x)
- ^
- position.h:85:7: error: ‘x’ was not declared in this scope
- if(x > p.x)
- ^
- position.h:85:13: error: ‘const class Position’ has no member named ‘x’
- if(x > p.x)
- ^
- position.h: In member function ‘bool Position::operator==(const Position&) const’:
- position.h:98:14: error: ‘const class Position’ has no member named ‘x’
- return (p.x == x && p.y == y && p.z == z);
- ^
- position.h:98:19: error: ‘x’ was not declared in this scope
- return (p.x == x && p.y == y && p.z == z);
- ^
- position.h:98:26: error: ‘const class Position’ has no member named ‘y’
- return (p.x == x && p.y == y && p.z == z);
- ^
- position.h:98:31: error: ‘y’ was not declared in this scope
- return (p.x == x && p.y == y && p.z == z);
- ^
- position.h:98:38: error: ‘const class Position’ has no member named ‘z’
- return (p.x == x && p.y == y && p.z == z);
- ^
- position.h:98:43: error: ‘z’ was not declared in this scope
- return (p.x == x && p.y == y && p.z == z);
- ^
- position.h: In member function ‘Position Position::operator+(const Position&)’:
- position.h:108:20: error: ‘x’ was not declared in this scope
- return Position(x + p1.x, y + p1.y, z + p1.z);
- ^
- position.h:108:27: error: ‘const class Position’ has no member named ‘x’
- return Position(x + p1.x, y + p1.y, z + p1.z);
- ^
- position.h:108:30: error: ‘y’ was not declared in this scope
- return Position(x + p1.x, y + p1.y, z + p1.z);
- ^
- position.h:108:37: error: ‘const class Position’ has no member named ‘y’
- return Position(x + p1.x, y + p1.y, z + p1.z);
- ^
- position.h:108:40: error: ‘z’ was not declared in this scope
- return Position(x + p1.x, y + p1.y, z + p1.z);
- ^
- position.h:108:47: error: ‘const class Position’ has no member named ‘z’
- return Position(x + p1.x, y + p1.y, z + p1.z);
- ^
- position.h: In member function ‘Position Position::operator-(const Position&)’:
- position.h:113:20: error: ‘x’ was not declared in this scope
- return Position(x - p1.x, y - p1.y, z - p1.z);
- ^
- position.h:113:27: error: ‘const class Position’ has no member named ‘x’
- return Position(x - p1.x, y - p1.y, z - p1.z);
- ^
- position.h:113:30: error: ‘y’ was not declared in this scope
- return Position(x - p1.x, y - p1.y, z - p1.z);
- ^
- position.h:113:37: error: ‘const class Position’ has no member named ‘y’
- return Position(x - p1.x, y - p1.y, z - p1.z);
- ^
- position.h:113:40: error: ‘z’ was not declared in this scope
- return Position(x - p1.x, y - p1.y, z - p1.z);
- ^
- position.h:113:47: error: ‘const class Position’ has no member named ‘z’
- return Position(x - p1.x, y - p1.y, z - p1.z);
- ^
- position.h: At global scope:
- position.h:126:23: error: expected ‘)’ before ‘_x’
- PositionEx(uint16_t _x, uint16_t _y, uint16_t _z, int16_t _stackpos): Position(_x,_y,_z), stackpos(_stackpos) {}
- ^
- position.h:127:23: error: expected ‘)’ before ‘_x’
- PositionEx(uint16_t _x, uint16_t _y, uint16_t _z): Position(_x,_y,_z), stackpos(0) {}
- ^
- position.h: In constructor ‘PositionEx::PositionEx(Position)’:
- position.h:129:38: error: ‘class Position’ has no member named ‘x’
- PositionEx(Position p): Position(p.x, p.y, p.z), stackpos(0) {}
- ^
- position.h:129:43: error: ‘class Position’ has no member named ‘y’
- PositionEx(Position p): Position(p.x, p.y, p.z), stackpos(0) {}
- ^
- position.h:129:48: error: ‘class Position’ has no member named ‘z’
- PositionEx(Position p): Position(p.x, p.y, p.z), stackpos(0) {}
- ^
- position.h: In constructor ‘PositionEx::PositionEx(Position, int16_t)’:
- position.h:130:57: error: ‘class Position’ has no member named ‘x’
- PositionEx(Position p, int16_t _stackpos): Position(p.x, p.y, p.z), stackpos(_stackpos) {}
- ^
- position.h:130:62: error: ‘class Position’ has no member named ‘y’
- PositionEx(Position p, int16_t _stackpos): Position(p.x, p.y, p.z), stackpos(_stackpos) {}
- ^
- position.h:130:67: error: ‘class Position’ has no member named ‘z’
- PositionEx(Position p, int16_t _stackpos): Position(p.x, p.y, p.z), stackpos(_stackpos) {}
- ^
- position.h: In member function ‘bool PositionEx::operator==(const PositionEx&) const’:
- position.h:136:14: error: ‘const class PositionEx’ has no member named ‘x’
- return (p.x == x && p.y == y && p.z == z && p.stackpos == stackpos);
- ^
- position.h:136:19: error: ‘x’ was not declared in this scope
- return (p.x == x && p.y == y && p.z == z && p.stackpos == stackpos);
- ^
- position.h:136:26: error: ‘const class PositionEx’ has no member named ‘y’
- return (p.x == x && p.y == y && p.z == z && p.stackpos == stackpos);
- ^
- position.h:136:31: error: ‘y’ was not declared in this scope
- return (p.x == x && p.y == y && p.z == z && p.stackpos == stackpos);
- ^
- position.h:136:38: error: ‘const class PositionEx’ has no member named ‘z’
- return (p.x == x && p.y == y && p.z == z && p.stackpos == stackpos);
- ^
- position.h:136:43: error: ‘z’ was not declared in this scope
- return (p.x == x && p.y == y && p.z == z && p.stackpos == stackpos);
- ^
- position.h: In member function ‘bool PositionEx::operator!=(const PositionEx&) const’:
- position.h:141:15: error: ‘const class PositionEx’ has no member named ‘x’
- return !(p.x == x && p.y == y && p.z == z && p.stackpos != stackpos);
- ^
- position.h:141:20: error: ‘x’ was not declared in this scope
- return !(p.x == x && p.y == y && p.z == z && p.stackpos != stackpos);
- ^
- position.h:141:27: error: ‘const class PositionEx’ has no member named ‘y’
- return !(p.x == x && p.y == y && p.z == z && p.stackpos != stackpos);
- ^
- position.h:141:32: error: ‘y’ was not declared in this scope
- return !(p.x == x && p.y == y && p.z == z && p.stackpos != stackpos);
- ^
- position.h:141:39: error: ‘const class PositionEx’ has no member named ‘z’
- return !(p.x == x && p.y == y && p.z == z && p.stackpos != stackpos);
- ^
- position.h:141:44: error: ‘z’ was not declared in this scope
- return !(p.x == x && p.y == y && p.z == z && p.stackpos != stackpos);
- ^
- In file included from thing.h:20:0,
- from otpch.h:40,
- from actions.cpp:17:
- position.h:48:12: error: ‘uint16_t’ has not been declared
- template<uint16_t deltax, uint16_t deltay, uint16_t deltaz>
- ^
- position.h:48:29: error: ‘uint16_t’ has not been declared
- template<uint16_t deltax, uint16_t deltay, uint16_t deltaz>
- ^
- position.h:48:46: error: ‘uint16_t’ has not been declared
- template<uint16_t deltax, uint16_t deltay, uint16_t deltaz>
- ^
- In file included from thing.h:20:0,
- from otpch.h:40,
- from actions.cpp:17:
- position.h:54:12: error: ‘uint16_t’ has not been declared
- template<uint16_t deltax, uint16_t deltay>
- ^
- position.h:54:29: error: ‘uint16_t’ has not been declared
- template<uint16_t deltax, uint16_t deltay>
- ^
- position.h:65:21: error: expected ‘)’ before ‘_x’
- Position(uint16_t _x, uint16_t _y, uint16_t _z): x(_x), y(_y), z(_z) {}
- ^
- position.h:66:3: error: ‘uint16_t’ does not name a type
- uint16_t x, y, z;
- ^
- In file included from thing.h:20:0,
- from otpch.h:40,
- from actions.cpp:17:
- position.h: In constructor ‘Position::Position()’:
- position.h:45:15: error: class ‘Position’ does not have any field named ‘x’
- Position(): x(0), y(0), z(0) {}
- ^
- position.h:45:21: error: class ‘Position’ does not have any field named ‘y’
- Position(): x(0), y(0), z(0) {}
- ^
- position.h:45:27: error: class ‘Position’ does not have any field named ‘z’
- Position(): x(0), y(0), z(0) {}
- ^
- position.h: In static member function ‘static bool Position::areInRange(const Position&, const Position&)’:
- position.h:51:31: error: ‘const class Position’ has no member named ‘x’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay || std::abs(float(p1.z - p2.z)) > deltaz);
- ^
- position.h:51:38: error: ‘const class Position’ has no member named ‘x’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay || std::abs(float(p1.z - p2.z)) > deltaz);
- ^
- position.h:51:72: error: ‘const class Position’ has no member named ‘y’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay || std::abs(float(p1.z - p2.z)) > deltaz);
- ^
- position.h:51:79: error: ‘const class Position’ has no member named ‘y’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay || std::abs(float(p1.z - p2.z)) > deltaz);
- ^
- position.h:51:113: error: ‘const class Position’ has no member named ‘z’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay || std::abs(float(p1.z - p2.z)) > deltaz);
- ^
- position.h:51:120: error: ‘const class Position’ has no member named ‘z’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay || std::abs(float(p1.z - p2.z)) > deltaz);
- ^
- In file included from thing.h:20:0,
- from otpch.h:40,
- from actions.cpp:17:
- position.h: In static member function ‘static bool Position::areInRange(const Position&, const Position&)’:
- position.h:57:31: error: ‘const class Position’ has no member named ‘x’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay);
- ^
- position.h:57:38: error: ‘const class Position’ has no member named ‘x’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay);
- ^
- position.h:57:72: error: ‘const class Position’ has no member named ‘y’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay);
- ^
- position.h:57:79: error: ‘const class Position’ has no member named ‘y’
- return !(std::abs(float(p1.x - p2.x)) > deltax || std::abs(float(p1.y - p2.y)) > deltay);
- ^
- position.h: In static member function ‘static bool Position::areInRange(const Position&, const Position&, const Position&)’:
- position.h:62:31: error: ‘const class Position’ has no member named ‘x’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:38: error: ‘const class Position’ has no member named ‘x’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:46: error: ‘const class Position’ has no member named ‘x’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:69: error: ‘const class Position’ has no member named ‘y’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:76: error: ‘const class Position’ has no member named ‘y’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:84: error: ‘const class Position’ has no member named ‘y’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:107: error: ‘const class Position’ has no member named ‘z’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:114: error: ‘const class Position’ has no member named ‘z’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h:62:122: error: ‘const class Position’ has no member named ‘z’
- return !(std::abs(float(p1.x - p2.x)) > r.x || std::abs(float(p1.y - p2.y)) > r.y || std::abs(float(p1.z - p2.z)) > r.z);
- ^
- position.h: In member function ‘bool Position::operator<(const Position&) const’:
- position.h:70:7: error: ‘z’ was not declared in this scope
- if(z < p.z)
- ^
- position.h:70:13: error: ‘const class Position’ has no member named ‘z’
- if(z < p.z)
- ^
- position.h:73:7: error: ‘z’ was not declared in this scope
- if(z > p.z)
- ^
- position.h:73:13: error: ‘const class Position’ has no member named ‘z’
- if(z > p.z)
- ^
- position.h:76:7: error: ‘y’ was not declared in this scope
- if(y < p.y)
- ^
- position.h:76:13: error: ‘const class Position’ has no member named ‘y’
- if(y < p.y)
- ^
- position.h:79:7: error: ‘y’ was not declared in this scope
- if(y > p.y)
- ^
- position.h:79:13: error: ‘const class Position’ has no member named ‘y’
- if(y > p.y)
- ^
- position.h:82:7: error: ‘x’ was not declared in this scope
- if(x < p.x)
- ^
- position.h:82:13: error: ‘const class Position’ has no member named ‘x’
- if(x < p.x)
- ^
- position.h:85:7: error: ‘x’ was not declared in this scope
- if(x > p.x)
- ^
- position.h:85:13: error: ‘const class Position’ has no member named ‘x’
- if(x > p.x)
- ^
- position.h: In member function ‘bool Position::operator==(const Position&) const’:
- position.h:98:14: error: ‘const class Position’ has no member named ‘x’
- return (p.x == x && p.y == y && p.z == z);
- ^
- position.h:98:19: error: ‘x’ was not declared in this scope
- return (p.x == x && p.y == y && p.z == z);
- ^
- position.h:98:26: error: ‘const class Position’ has no member named ‘y’
- return (p.x == x && p.y == y && p.z == z);
- ^
- position.h:98:31: error: ‘y’ was not declared in this scope
- return (p.x == x && p.y == y && p.z == z);
- ^
- position.h:98:38: error: ‘const class Position’ has no member named ‘z’
- return (p.x == x && p.y == y && p.z == z);
- ^
- position.h:98:43: error: ‘z’ was not declared in this scope
- return (p.x == x && p.y == y && p.z == z);
- ^
- position.h: In member function ‘Position Position::operator+(const Position&)’:
- position.h:108:20: error: ‘x’ was not declared in this scope
- return Position(x + p1.x, y + p1.y, z + p1.z);
- ^
- position.h:108:27: error: ‘const class Position’ has no member named ‘x’
- return Position(x + p1.x, y + p1.y, z + p1.z);
- ^
- position.h:108:30: error: ‘y’ was not declared in this scope
- return Position(x + p1.x, y + p1.y, z + p1.z);
- ^
- position.h:108:37: error: ‘const class Position’ has no member named ‘y’
- return Position(x + p1.x, y + p1.y, z + p1.z);
- ^
- position.h:108:40: error: ‘z’ was not declared in this scope
- return Position(x + p1.x, y + p1.y, z + p1.z);
- ^
- position.h:108:47: error: ‘const class Position’ has no member named ‘z’
- return Position(x + p1.x, y + p1.y, z + p1.z);
- ^
- position.h: In member function ‘Position Position::operator-(const Position&)’:
- position.h:113:20: error: ‘x’ was not declared in this scope
- return Position(x - p1.x, y - p1.y, z - p1.z);
- ^
- position.h:113:27: error: ‘const class Position’ has no member named ‘x’
- return Position(x - p1.x, y - p1.y, z - p1.z);
- ^
- position.h:113:30: error: ‘y’ was not declared in this scope
- return Position(x - p1.x, y - p1.y, z - p1.z);
- ^
- position.h:113:37: error: ‘const class Position’ has no member named ‘y’
- return Position(x - p1.x, y - p1.y, z - p1.z);
- ^
- position.h:113:40: error: ‘z’ was not declared in this scope
- return Position(x - p1.x, y - p1.y, z - p1.z);
- ^
- position.h:113:47: error: ‘const class Position’ has no member named ‘z’
- return Position(x - p1.x, y - p1.y, z - p1.z);
- ^
- position.h: At global scope:
- position.h:126:23: error: expected ‘)’ before ‘_x’
- PositionEx(uint16_t _x, uint16_t _y, uint16_t _z, int16_t _stackpos): Position(_x,_y,_z), stackpos(_stackpos) {}
- ^
- position.h:127:23: error: expected ‘)’ before ‘_x’
- PositionEx(uint16_t _x, uint16_t _y, uint16_t _z): Position(_x,_y,_z), stackpos(0) {}
- ^
- position.h: In constructor ‘PositionEx::PositionEx(Position)’:
- position.h:129:38: error: ‘class Position’ has no member named ‘x’
- PositionEx(Position p): Position(p.x, p.y, p.z), stackpos(0) {}
- ^
- position.h:129:43: error: ‘class Position’ has no member named ‘y’
- PositionEx(Position p): Position(p.x, p.y, p.z), stackpos(0) {}
- ^
- position.h:129:48: error: ‘class Position’ has no member named ‘z’
- PositionEx(Position p): Position(p.x, p.y, p.z), stackpos(0) {}
- ^
- position.h: In constructor ‘PositionEx::PositionEx(Position, int16_t)’:
- position.h:130:57: error: ‘class Position’ has no member named ‘x’
- PositionEx(Position p, int16_t _stackpos): Position(p.x, p.y, p.z), stackpos(_stackpos) {}
- ^
- position.h:130:62: error: ‘class Position’ has no member named ‘y’
- PositionEx(Position p, int16_t _stackpos): Position(p.x, p.y, p.z), stackpos(_stackpos) {}
- ^
- position.h:130:67: error: ‘class Position’ has no member named ‘z’
- PositionEx(Position p, int16_t _stackpos): Position(p.x, p.y, p.z), stackpos(_stackpos) {}
- ^
- position.h: In member function ‘bool PositionEx::operator==(const PositionEx&) const’:
- position.h:136:14: error: ‘const class PositionEx’ has no member named ‘x’
- return (p.x == x && p.y == y && p.z == z && p.stackpos == stackpos);
- ^
- position.h:136:19: error: ‘x’ was not declared in this scope
- return (p.x == x && p.y == y && p.z == z && p.stackpos == stackpos);
- ^
- position.h:136:26: error: ‘const class PositionEx’ has no member named ‘y’
- return (p.x == x && p.y == y && p.z == z && p.stackpos == stackpos);
- ^
- position.h:136:31: error: ‘y’ was not declared in this scope
- return (p.x == x && p.y == y && p.z == z && p.stackpos == stackpos);
- ^
- position.h:136:38: error: ‘const class PositionEx’ has no member named ‘z’
- return (p.x == x && p.y == y && p.z == z && p.stackpos == stackpos);
- ^
- position.h:136:43: error: ‘z’ was not declared in this scope
- return (p.x == x && p.y == y && p.z == z && p.stackpos == stackpos);
- ^
- position.h: In member function ‘bool PositionEx::operator!=(const PositionEx&) const’:
- position.h:141:15: error: ‘const class PositionEx’ has no member named ‘x’
- return !(p.x == x && p.y == y && p.z == z && p.stackpos != stackpos);
- ^
- position.h:141:20: error: ‘x’ was not declared in this scope
- return !(p.x == x && p.y == y && p.z == z && p.stackpos != stackpos);
- ^
- position.h:141:27: error: ‘const class PositionEx’ has no member named ‘y’
- return !(p.x == x && p.y == y && p.z == z && p.stackpos != stackpos);
- ^
- position.h:141:32: error: ‘y’ was not declared in this scope
- return !(p.x == x && p.y == y && p.z == z && p.stackpos != stackpos);
- ^
- position.h:141:39: error: ‘const class PositionEx’ has no member named ‘z’
- return !(p.x == x && p.y == y && p.z == z && p.stackpos != stackpos);
- ^
- position.h:141:44: error: ‘z’ was not declared in this scope
- return !(p.x == x && p.y == y && p.z == z && p.stackpos != stackpos);
- ^
- In file included from actions.cpp:18:0:
- const.h: At global scope:
- const.h:260:7: error: ‘uint8_t’ does not name a type
- const uint8_t reverseFluidMap[] =
- ^
- const.h:288:7: error: ‘uint8_t’ does not name a type
- const uint8_t fluidMap[] =
- ^
- In file included from /usr/include/pthread.h:24:0,
- from /usr/include/arm-linux-gnueabihf/c++/4.8/bits/gthr-default.h:35,
- from /usr/include/arm-linux-gnueabihf/c++/4.8/bits/gthr.h:148,
- from /usr/include/c++/4.8/ext/atomicity.h:35,
- from /usr/include/c++/4.8/bits/basic_string.h:39,
- from /usr/include/c++/4.8/string:52,
- from /usr/include/c++/4.8/stdexcept:39,
- from /usr/local/include/boost/function/function_base.hpp:14,
- from /usr/local/include/boost/function/detail/prologue.hpp:17,
- from /usr/local/include/boost/function.hpp:24,
- from otpch.h:34,
- from baseevents.cpp:17:
- /usr/local/include/boost/thread/xtime.hpp: At global scope:
- /usr/local/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
- TIME_UTC=1
- ^
- /usr/local/include/boost/thread/xtime.hpp:23:5: error: expected ‘}’ before numeric constant
- /usr/local/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
- In file included from /usr/local/include/boost/thread/detail/thread.hpp:12:0,
- from /usr/local/include/boost/thread/thread.hpp:22,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from baseevents.cpp:20:
- /usr/local/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier before ‘system_time’
- operator system_time() const
- ^
- In file included from /usr/local/include/boost/thread/detail/thread.hpp:12:0,
- from /usr/local/include/boost/thread/thread.hpp:22,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from baseevents.cpp:20:
- /usr/local/include/boost/thread/xtime.hpp: In function ‘int xtime_get(xtime*, int)’:
- /usr/local/include/boost/thread/xtime.hpp:73:40: error: ‘get_system_time’ was not declared in this scope
- *xtp=get_xtime(get_system_time());
- ^
- /usr/local/include/boost/thread/xtime.hpp:73:40: note: suggested alternative:
- In file included from /usr/local/include/boost/thread/xtime.hpp:14:0,
- from /usr/local/include/boost/thread/detail/thread.hpp:12,
- from /usr/local/include/boost/thread/thread.hpp:22,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from baseevents.cpp:20:
- /usr/local/include/boost/thread/thread_time.hpp:18:24: note: ‘boost::get_system_time’
- inline system_time get_system_time()
- ^
- In file included from /usr/local/include/boost/thread/detail/thread.hpp:12:0,
- from /usr/local/include/boost/thread/thread.hpp:22,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from baseevents.cpp:20:
- /usr/local/include/boost/thread/xtime.hpp: At global scope:
- /usr/local/include/boost/thread/xtime.hpp:88:1: error: expected declaration before ‘}’ token
- } // namespace boost
- ^
- make[1]: *** [baseevents.o] Error 1
- make[1]: *** Waiting for unfinished jobs....
- In file included from /usr/include/pthread.h:24:0,
- from /usr/include/arm-linux-gnueabihf/c++/4.8/bits/gthr-default.h:35,
- from /usr/include/arm-linux-gnueabihf/c++/4.8/bits/gthr.h:148,
- from /usr/include/c++/4.8/ext/atomicity.h:35,
- from /usr/include/c++/4.8/bits/basic_string.h:39,
- from /usr/include/c++/4.8/string:52,
- from /usr/include/c++/4.8/stdexcept:39,
- from /usr/local/include/boost/function/function_base.hpp:14,
- from /usr/local/include/boost/function/detail/prologue.hpp:17,
- from /usr/local/include/boost/function.hpp:24,
- from otpch.h:34,
- from actions.cpp:17:
- /usr/local/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
- TIME_UTC=1
- ^
- /usr/local/include/boost/thread/xtime.hpp:23:5: error: expected ‘}’ before numeric constant
- /usr/local/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
- In file included from /usr/local/include/boost/thread/detail/thread.hpp:12:0,
- from /usr/local/include/boost/thread/thread.hpp:22,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/local/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier before ‘system_time’
- operator system_time() const
- ^
- In file included from /usr/local/include/boost/thread/detail/thread.hpp:12:0,
- from /usr/local/include/boost/thread/thread.hpp:22,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/local/include/boost/thread/xtime.hpp: In function ‘int xtime_get(xtime*, int)’:
- /usr/local/include/boost/thread/xtime.hpp:73:40: error: ‘get_system_time’ was not declared in this scope
- *xtp=get_xtime(get_system_time());
- ^
- /usr/local/include/boost/thread/xtime.hpp:73:40: note: suggested alternative:
- In file included from /usr/local/include/boost/thread/xtime.hpp:14:0,
- from /usr/local/include/boost/thread/detail/thread.hpp:12,
- from /usr/local/include/boost/thread/thread.hpp:22,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/local/include/boost/thread/thread_time.hpp:18:24: note: ‘boost::get_system_time’
- inline system_time get_system_time()
- ^
- In file included from /usr/local/include/boost/thread/detail/thread.hpp:12:0,
- from /usr/local/include/boost/thread/thread.hpp:22,
- from /usr/local/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/local/include/boost/thread/xtime.hpp: At global scope:
- /usr/local/include/boost/thread/xtime.hpp:88:1: error: expected declaration before ‘}’ token
- } // namespace boost
- ^
- make[1]: *** [actions.o] Error 1
- make[1]: Leaving directory `/root/TibiaServer/trunk.r3777'
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement