Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- position.h:48:29: error: ‘uint16_t’ has not been declared
- position.h:48:46: error: ‘uint16_t’ has not been declared
- 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
- position.h:54:29: error: ‘uint16_t’ has not been declared
- position.h:65:21: error: expected ‘)’ before ‘_x’
- position.h:66:3: error: ‘uint16_t’ does not name a type
- 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.h:45:21: error: class ‘Position’ does not have any field named ‘y’
- position.h:45:27: error: class ‘Position’ does not have any field named ‘z’
- 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’
- position.h:51:38: error: ‘const class Position’ has no member named ‘x’
- position.h:51:72: error: ‘const class Position’ has no member named ‘y’
- position.h:51:79: error: ‘const class Position’ has no member named ‘y’
- position.h:51:113: error: ‘const class Position’ has no member named ‘z’
- position.h:51:120: error: ‘const class Position’ has no member named ‘z’
- 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’
- position.h:57:38: error: ‘const class Position’ has no member named ‘x’
- position.h:57:72: error: ‘const class Position’ has no member named ‘y’
- position.h:57:79: error: ‘const class Position’ has no member named ‘y’
- 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’
- position.h:62:38: error: ‘const class Position’ has no member named ‘x’
- position.h:62:46: error: ‘const class Position’ has no member named ‘x’
- position.h:62:69: error: ‘const class Position’ has no member named ‘y’
- position.h:62:76: error: ‘const class Position’ has no member named ‘y’
- position.h:62:84: error: ‘const class Position’ has no member named ‘y’
- position.h:62:107: error: ‘const class Position’ has no member named ‘z’
- position.h:62:114: error: ‘const class Position’ has no member named ‘z’
- position.h:62:122: error: ‘const class Position’ has no member named ‘z’
- position.h: In member function ‘bool Position::operator<(const Position&) const’:
- position.h:70:7: error: ‘z’ was not declared in this scope
- position.h:70:13: error: ‘const class Position’ has no member named ‘z’
- position.h:73:7: error: ‘z’ was not declared in this scope
- position.h:73:13: error: ‘const class Position’ has no member named ‘z’
- position.h:76:7: error: ‘y’ was not declared in this scope
- position.h:76:13: error: ‘const class Position’ has no member named ‘y’
- position.h:79:7: error: ‘y’ was not declared in this scope
- position.h:79:13: error: ‘const class Position’ has no member named ‘y’
- position.h:82:7: error: ‘x’ was not declared in this scope
- position.h:82:13: error: ‘const class Position’ has no member named ‘x’
- position.h:85:7: error: ‘x’ was not declared in this scope
- position.h:85:13: error: ‘const class Position’ has no member named ‘x’
- position.h: In member function ‘bool Position::operator==(Position) const’:
- position.h:98:14: error: ‘const class Position’ has no member named ‘x’
- position.h:98:19: error: ‘x’ was not declared in this scope
- position.h:98:26: error: ‘const class Position’ has no member named ‘y’
- position.h:98:31: error: ‘y’ was not declared in this scope
- position.h:98:38: error: ‘const class Position’ has no member named ‘z’
- position.h:98:43: error: ‘z’ was not declared in this scope
- position.h: In member function ‘Position Position::operator+(Position)’:
- position.h:108:20: error: ‘x’ was not declared in this scope
- position.h:108:27: error: ‘const class Position’ has no member named ‘x’
- position.h:108:30: error: ‘y’ was not declared in this scope
- position.h:108:37: error: ‘const class Position’ has no member named ‘y’
- position.h:108:40: error: ‘z’ was not declared in this scope
- position.h:108:47: error: ‘const class Position’ has no member named ‘z’
- position.h: In member function ‘Position Position::operator-(Position)’:
- position.h:113:20: error: ‘x’ was not declared in this scope
- position.h:113:27: error: ‘const class Position’ has no member named ‘x’
- position.h:113:30: error: ‘y’ was not declared in this scope
- position.h:113:37: error: ‘const class Position’ has no member named ‘y’
- position.h:113:40: error: ‘z’ was not declared in this scope
- position.h:113:47: error: ‘const class Position’ has no member named ‘z’
- position.h: At global scope:
- position.h:126:23: error: expected ‘)’ before ‘_x’
- position.h:127:23: error: expected ‘)’ before ‘_x’
- position.h: In constructor ‘PositionEx::PositionEx(Position)’:
- position.h:129:38: error: ‘class Position’ has no member named ‘x’
- position.h:129:43: error: ‘class Position’ has no member named ‘y’
- position.h:129:48: error: ‘class Position’ has no member named ‘z’
- position.h: In constructor ‘PositionEx::PositionEx(Position, int16_t)’:
- position.h:130:57: error: ‘class Position’ has no member named ‘x’
- position.h:130:62: error: ‘class Position’ has no member named ‘y’
- position.h:130:67: error: ‘class Position’ has no member named ‘z’
- position.h: In member function ‘bool PositionEx::operator==(PositionEx) const’:
- position.h:136:14: error: ‘const class PositionEx’ has no member named ‘x’
- position.h:136:19: error: ‘x’ was not declared in this scope
- position.h:136:26: error: ‘const class PositionEx’ has no member named ‘y’
- position.h:136:31: error: ‘y’ was not declared in this scope
- position.h:136:38: error: ‘const class PositionEx’ has no member named ‘z’
- position.h:136:43: error: ‘z’ was not declared in this scope
- position.h: In member function ‘bool PositionEx::operator!=(PositionEx) const’:
- position.h:141:15: error: ‘const class PositionEx’ has no member named ‘x’
- position.h:141:20: error: ‘x’ was not declared in this scope
- position.h:141:27: error: ‘const class PositionEx’ has no member named ‘y’
- position.h:141:32: error: ‘y’ was not declared in this scope
- position.h:141:39: error: ‘const class PositionEx’ has no member named ‘z’
- position.h:141:44: error: ‘z’ was not declared in this scope
- In file included from actions.cpp:18:0:
- const.h: At global scope:
- const.h:407:7: error: ‘uint8_t’ does not name a type
- const.h:435:7: error: ‘uint8_t’ does not name a type
- In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
- from /usr/include/boost/thread/mutex.hpp:16,
- from /usr/include/boost/thread/pthread/thread_data.hpp:12,
- from /usr/include/boost/thread/thread.hpp:17,
- from /usr/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
- /usr/include/boost/thread/xtime.hpp:23:5: error: expected ‘}’ before numeric constant
- /usr/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
- /usr/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier before ‘system_time’
- In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
- from /usr/include/boost/thread/mutex.hpp:16,
- from /usr/include/boost/thread/pthread/thread_data.hpp:12,
- from /usr/include/boost/thread/thread.hpp:17,
- from /usr/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/include/boost/thread/xtime.hpp: In function ‘int xtime_get(xtime*, int)’:
- /usr/include/boost/thread/xtime.hpp:73:40: error: ‘get_system_time’ was not declared in this scope
- /usr/include/boost/thread/xtime.hpp:73:40: note: suggested alternative:
- In file included from /usr/include/boost/thread/locks.hpp:12:0,
- from /usr/include/boost/thread/pthread/mutex.hpp:12,
- from /usr/include/boost/thread/mutex.hpp:16,
- from /usr/include/boost/thread/pthread/thread_data.hpp:12,
- from /usr/include/boost/thread/thread.hpp:17,
- from /usr/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/include/boost/thread/thread_time.hpp:19:24: note: ‘boost::get_system_time’
- In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
- from /usr/include/boost/thread/mutex.hpp:16,
- from /usr/include/boost/thread/pthread/thread_data.hpp:12,
- from /usr/include/boost/thread/thread.hpp:17,
- from /usr/include/boost/thread.hpp:13,
- from otsystem.h:34,
- from baseevents.h:20,
- from actions.h:20,
- from actions.cpp:20:
- /usr/include/boost/thread/xtime.hpp: At global scope:
- /usr/include/boost/thread/xtime.hpp:88:1: error: expected declaration before ‘}’ token
- make[1]: ** [actions.o] Erro 1
- make[1]: Saindo do diretório `/source'
- make: ** [all] Erro 2
- root@localhost-22:/source#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement