Advertisement
Guest User

Untitled

a guest
Feb 15th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.38 KB | None | 0 0
  1. In file included from thing.h:20:0,
  2. from otpch.h:40,
  3. from actions.cpp:17:
  4. position.h:48:12: error: ‘uint16_t’ has not been declared
  5. position.h:48:29: error: ‘uint16_t’ has not been declared
  6. position.h:48:46: error: ‘uint16_t’ has not been declared
  7. In file included from thing.h:20:0,
  8. from otpch.h:40,
  9. from actions.cpp:17:
  10. position.h:54:12: error: ‘uint16_t’ has not been declared
  11. position.h:54:29: error: ‘uint16_t’ has not been declared
  12. position.h:65:21: error: expected ‘)’ before ‘_x’
  13. position.h:66:3: error: ‘uint16_t’ does not name a type
  14. In file included from thing.h:20:0,
  15. from otpch.h:40,
  16. from actions.cpp:17:
  17. position.h: In constructor ‘Position::Position()’:
  18. position.h:45:15: error: class ‘Position’ does not have any field named ‘x’
  19. position.h:45:21: error: class ‘Position’ does not have any field named ‘y’
  20. position.h:45:27: error: class ‘Position’ does not have any field named ‘z’
  21. position.h: In static member function ‘static bool Position::areInRange(const Position&, const Position&)’:
  22. position.h:51:31: error: ‘const class Position’ has no member named ‘x’
  23. position.h:51:38: error: ‘const class Position’ has no member named ‘x’
  24. position.h:51:72: error: ‘const class Position’ has no member named ‘y’
  25. position.h:51:79: error: ‘const class Position’ has no member named ‘y’
  26. position.h:51:113: error: ‘const class Position’ has no member named ‘z’
  27. position.h:51:120: error: ‘const class Position’ has no member named ‘z’
  28. In file included from thing.h:20:0,
  29. from otpch.h:40,
  30. from actions.cpp:17:
  31. position.h: In static member function ‘static bool Position::areInRange(const Position&, const Position&)’:
  32. position.h:57:31: error: ‘const class Position’ has no member named ‘x’
  33. position.h:57:38: error: ‘const class Position’ has no member named ‘x’
  34. position.h:57:72: error: ‘const class Position’ has no member named ‘y’
  35. position.h:57:79: error: ‘const class Position’ has no member named ‘y’
  36. position.h: In static member function ‘static bool Position::areInRange(const Position&, const Position&, const Position&)’:
  37. position.h:62:31: error: ‘const class Position’ has no member named ‘x’
  38. position.h:62:38: error: ‘const class Position’ has no member named ‘x’
  39. position.h:62:46: error: ‘const class Position’ has no member named ‘x’
  40. position.h:62:69: error: ‘const class Position’ has no member named ‘y’
  41. position.h:62:76: error: ‘const class Position’ has no member named ‘y’
  42. position.h:62:84: error: ‘const class Position’ has no member named ‘y’
  43. position.h:62:107: error: ‘const class Position’ has no member named ‘z’
  44. position.h:62:114: error: ‘const class Position’ has no member named ‘z’
  45. position.h:62:122: error: ‘const class Position’ has no member named ‘z’
  46. position.h: In member function ‘bool Position::operator<(const Position&) const’:
  47. position.h:70:7: error: ‘z’ was not declared in this scope
  48. position.h:70:13: error: ‘const class Position’ has no member named ‘z’
  49. position.h:73:7: error: ‘z’ was not declared in this scope
  50. position.h:73:13: error: ‘const class Position’ has no member named ‘z’
  51. position.h:76:7: error: ‘y’ was not declared in this scope
  52. position.h:76:13: error: ‘const class Position’ has no member named ‘y’
  53. position.h:79:7: error: ‘y’ was not declared in this scope
  54. position.h:79:13: error: ‘const class Position’ has no member named ‘y’
  55. position.h:82:7: error: ‘x’ was not declared in this scope
  56. position.h:82:13: error: ‘const class Position’ has no member named ‘x’
  57. position.h:85:7: error: ‘x’ was not declared in this scope
  58. position.h:85:13: error: ‘const class Position’ has no member named ‘x’
  59. position.h: In member function ‘bool Position::operator==(Position) const’:
  60. position.h:98:14: error: ‘const class Position’ has no member named ‘x’
  61. position.h:98:19: error: ‘x’ was not declared in this scope
  62. position.h:98:26: error: ‘const class Position’ has no member named ‘y’
  63. position.h:98:31: error: ‘y’ was not declared in this scope
  64. position.h:98:38: error: ‘const class Position’ has no member named ‘z’
  65. position.h:98:43: error: ‘z’ was not declared in this scope
  66. position.h: In member function ‘Position Position::operator+(Position)’:
  67. position.h:108:20: error: ‘x’ was not declared in this scope
  68. position.h:108:27: error: ‘const class Position’ has no member named ‘x’
  69. position.h:108:30: error: ‘y’ was not declared in this scope
  70. position.h:108:37: error: ‘const class Position’ has no member named ‘y’
  71. position.h:108:40: error: ‘z’ was not declared in this scope
  72. position.h:108:47: error: ‘const class Position’ has no member named ‘z’
  73. position.h: In member function ‘Position Position::operator-(Position)’:
  74. position.h:113:20: error: ‘x’ was not declared in this scope
  75. position.h:113:27: error: ‘const class Position’ has no member named ‘x’
  76. position.h:113:30: error: ‘y’ was not declared in this scope
  77. position.h:113:37: error: ‘const class Position’ has no member named ‘y’
  78. position.h:113:40: error: ‘z’ was not declared in this scope
  79. position.h:113:47: error: ‘const class Position’ has no member named ‘z’
  80. position.h: At global scope:
  81. position.h:126:23: error: expected ‘)’ before ‘_x’
  82. position.h:127:23: error: expected ‘)’ before ‘_x’
  83. position.h: In constructor ‘PositionEx::PositionEx(Position)’:
  84. position.h:129:38: error: ‘class Position’ has no member named ‘x’
  85. position.h:129:43: error: ‘class Position’ has no member named ‘y’
  86. position.h:129:48: error: ‘class Position’ has no member named ‘z’
  87. position.h: In constructor ‘PositionEx::PositionEx(Position, int16_t)’:
  88. position.h:130:57: error: ‘class Position’ has no member named ‘x’
  89. position.h:130:62: error: ‘class Position’ has no member named ‘y’
  90. position.h:130:67: error: ‘class Position’ has no member named ‘z’
  91. position.h: In member function ‘bool PositionEx::operator==(PositionEx) const’:
  92. position.h:136:14: error: ‘const class PositionEx’ has no member named ‘x’
  93. position.h:136:19: error: ‘x’ was not declared in this scope
  94. position.h:136:26: error: ‘const class PositionEx’ has no member named ‘y’
  95. position.h:136:31: error: ‘y’ was not declared in this scope
  96. position.h:136:38: error: ‘const class PositionEx’ has no member named ‘z’
  97. position.h:136:43: error: ‘z’ was not declared in this scope
  98. position.h: In member function ‘bool PositionEx::operator!=(PositionEx) const’:
  99. position.h:141:15: error: ‘const class PositionEx’ has no member named ‘x’
  100. position.h:141:20: error: ‘x’ was not declared in this scope
  101. position.h:141:27: error: ‘const class PositionEx’ has no member named ‘y’
  102. position.h:141:32: error: ‘y’ was not declared in this scope
  103. position.h:141:39: error: ‘const class PositionEx’ has no member named ‘z’
  104. position.h:141:44: error: ‘z’ was not declared in this scope
  105. In file included from actions.cpp:18:0:
  106. const.h: At global scope:
  107. const.h:407:7: error: ‘uint8_t’ does not name a type
  108. const.h:435:7: error: ‘uint8_t’ does not name a type
  109. In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
  110. from /usr/include/boost/thread/mutex.hpp:16,
  111. from /usr/include/boost/thread/pthread/thread_data.hpp:12,
  112. from /usr/include/boost/thread/thread.hpp:17,
  113. from /usr/include/boost/thread.hpp:13,
  114. from otsystem.h:34,
  115. from baseevents.h:20,
  116. from actions.h:20,
  117. from actions.cpp:20:
  118. /usr/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
  119. /usr/include/boost/thread/xtime.hpp:23:5: error: expected ‘}’ before numeric constant
  120. /usr/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
  121. /usr/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier before ‘system_time’
  122. In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
  123. from /usr/include/boost/thread/mutex.hpp:16,
  124. from /usr/include/boost/thread/pthread/thread_data.hpp:12,
  125. from /usr/include/boost/thread/thread.hpp:17,
  126. from /usr/include/boost/thread.hpp:13,
  127. from otsystem.h:34,
  128. from baseevents.h:20,
  129. from actions.h:20,
  130. from actions.cpp:20:
  131. /usr/include/boost/thread/xtime.hpp: In function ‘int xtime_get(xtime*, int)’:
  132. /usr/include/boost/thread/xtime.hpp:73:40: error: ‘get_system_time’ was not declared in this scope
  133. /usr/include/boost/thread/xtime.hpp:73:40: note: suggested alternative:
  134. In file included from /usr/include/boost/thread/locks.hpp:12:0,
  135. from /usr/include/boost/thread/pthread/mutex.hpp:12,
  136. from /usr/include/boost/thread/mutex.hpp:16,
  137. from /usr/include/boost/thread/pthread/thread_data.hpp:12,
  138. from /usr/include/boost/thread/thread.hpp:17,
  139. from /usr/include/boost/thread.hpp:13,
  140. from otsystem.h:34,
  141. from baseevents.h:20,
  142. from actions.h:20,
  143. from actions.cpp:20:
  144. /usr/include/boost/thread/thread_time.hpp:19:24: note: ‘boost::get_system_time’
  145. In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
  146. from /usr/include/boost/thread/mutex.hpp:16,
  147. from /usr/include/boost/thread/pthread/thread_data.hpp:12,
  148. from /usr/include/boost/thread/thread.hpp:17,
  149. from /usr/include/boost/thread.hpp:13,
  150. from otsystem.h:34,
  151. from baseevents.h:20,
  152. from actions.h:20,
  153. from actions.cpp:20:
  154. /usr/include/boost/thread/xtime.hpp: At global scope:
  155. /usr/include/boost/thread/xtime.hpp:88:1: error: expected declaration before ‘}’ token
  156. make[1]: ** [actions.o] Erro 1
  157. make[1]: Saindo do diretório `/source'
  158. make: ** [all] Erro 2
  159. root@localhost-22:/source#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement