jxsl13

Untitled

Nov 15th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.30 KB | None | 0 0
  1. In file included from src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:2:0,
  2. from include/config.hpp:21,
  3. from include/hal/InterruptVectorTable.hpp:3,
  4. from src/main.cpp:3:
  5. include/hal/interrupt_config/ExternalInterrupt.hpp:14:5: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
  6. enum class TriggerType : ValueType;
  7. ^
  8. include/hal/interrupt_config/ExternalInterrupt.hpp:14:16: error: use of enum 'TriggerType' without previous declaration
  9. enum class TriggerType : ValueType;
  10. ^
  11. include/hal/interrupt_config/ExternalInterrupt.hpp:14:30: error: 'ValueType' was not declared in this scope
  12. enum class TriggerType : ValueType;
  13. ^
  14. include/hal/interrupt_config/ExternalInterrupt.hpp:20:5: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
  15. enum class InterruptIndexType : ValueType;
  16. ^
  17. include/hal/interrupt_config/ExternalInterrupt.hpp:20:16: error: use of enum 'InterruptIndexType' without previous declaration
  18. enum class InterruptIndexType : ValueType;
  19. ^
  20. include/hal/interrupt_config/ExternalInterrupt.hpp:20:37: error: 'ValueType' was not declared in this scope
  21. enum class InterruptIndexType : ValueType;
  22. ^
  23. include/hal/interrupt_config/ExternalInterrupt.hpp:28:42: error: expected ')' before 'InterruptIndex'
  24. ExternalInterrupt(InterruptIndexType InterruptIndex, TriggerType Trigger)
  25. ^
  26. include/hal/interrupt_config/ExternalInterrupt.hpp:44:18: error: 'InterruptIndexType' has not been declared
  27. void applyTo(InterruptIndexType InterruptIndex) const;
  28. ^
  29. include/hal/interrupt_config/ExternalInterrupt.hpp:59:23: error: 'InterruptIndexType' has not been declared
  30. void retrieveFrom(InterruptIndexType InterruptIndex);
  31. ^
  32. include/hal/interrupt_config/ExternalInterrupt.hpp:75:9: error: 'InterruptIndexType' does not name a type
  33. InterruptIndexType m_Index;
  34. ^
  35. include/hal/interrupt_config/ExternalInterrupt.hpp:76:9: error: 'ValueType' does not name a type
  36. ValueType m_Trigger;
  37. ^
  38. include/hal/interrupt_config/ExternalInterrupt.hpp: In member function 'void ExternalInterrupt::apply() const':
  39. include/hal/interrupt_config/ExternalInterrupt.hpp:51:17: error: 'm_Index' was not declared in this scope
  40. applyTo(m_Index);
  41. ^
  42. include/hal/interrupt_config/ExternalInterrupt.hpp: In member function 'void ExternalInterrupt::retrieve()':
  43. include/hal/interrupt_config/ExternalInterrupt.hpp:67:22: error: 'm_Index' was not declared in this scope
  44. retrieveFrom(m_Index);
  45. ^
  46. In file included from include/config.hpp:21:0,
  47. from include/hal/InterruptVectorTable.hpp:3,
  48. from src/main.cpp:3:
  49. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp: At global scope:
  50. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:4:12: error: 'InterruptIndexType' is not an enumerator-name
  51. enum class ExternalInterrupt::InterruptIndexType : ValueType {
  52. ^
  53. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:4:1: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
  54. enum class ExternalInterrupt::InterruptIndexType : ValueType {
  55. ^
  56. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:4:31: error: 'InterruptIndexType' in 'class ExternalInterrupt' does not name a type
  57. enum class ExternalInterrupt::InterruptIndexType : ValueType {
  58. ^
  59. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:4:50: error: expected unqualified-id before ':' token
  60. enum class ExternalInterrupt::InterruptIndexType : ValueType {
  61. ^
  62. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:10:12: error: 'TriggerType' is not an enumerator-name
  63. enum class ExternalInterrupt::TriggerType : ValueType {
  64. ^
  65. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:10:1: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
  66. enum class ExternalInterrupt::TriggerType : ValueType {
  67. ^
  68. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:10:31: error: 'TriggerType' in 'class ExternalInterrupt' does not name a type
  69. enum class ExternalInterrupt::TriggerType : ValueType {
  70. ^
  71. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:10:43: error: expected unqualified-id before ':' token
  72. enum class ExternalInterrupt::TriggerType : ValueType {
  73. ^
  74. src/main.cpp:31:47: error: 'InterruptIndexType' in 'class ExternalInterrupt' does not name a type
  75. using InterruptIndexType = ExternalInterrupt::InterruptIndexType;
  76. ^
  77. src/main.cpp:32:40: error: 'TriggerType' in 'class ExternalInterrupt' does not name a type
  78. using TriggerType = ExternalInterrupt::TriggerType;
  79. ^
  80. src/main.cpp: In function 'int main()':
  81. src/main.cpp:37:11: error: 'InterruptIndexType' has not been declared
  82. using InterruptIndexType::IDX_INT0;
  83. ^
  84. src/main.cpp:38:11: error: 'TriggerType' has not been declared
  85. using TriggerType::EDGE_RISING;
  86. ^
  87. src/main.cpp:45:29: error: 'IDX_INT0' was not declared in this scope
  88. ExternalInterrupt exti0(IDX_INT0, EDGE_RISING);
  89. ^
  90. src/main.cpp:45:39: error: 'EDGE_RISING' was not declared in this scope
  91. ExternalInterrupt exti0(IDX_INT0, EDGE_RISING);
  92. ^
  93. *** [.pio/build/myAVR_Board_MK2_2.20/src/main.o] Error 1
  94. In file included from src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:2:0,
  95. from include/config.hpp:21,
  96. from include/hal/InterruptVectorTable.hpp:3,
  97. from src/target/MYAVR_BOARD_MK2/InterruptVectorTable.cpp:3:
  98. include/hal/interrupt_config/ExternalInterrupt.hpp:14:5: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
  99. enum class TriggerType : ValueType;
  100. ^
  101. include/hal/interrupt_config/ExternalInterrupt.hpp:14:16: error: use of enum 'TriggerType' without previous declaration
  102. enum class TriggerType : ValueType;
  103. ^
  104. include/hal/interrupt_config/ExternalInterrupt.hpp:14:30: error: 'ValueType' was not declared in this scope
  105. enum class TriggerType : ValueType;
  106. ^
  107. include/hal/interrupt_config/ExternalInterrupt.hpp:20:5: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
  108. enum class InterruptIndexType : ValueType;
  109. ^
  110. include/hal/interrupt_config/ExternalInterrupt.hpp:20:16: error: use of enum 'InterruptIndexType' without previous declaration
  111. enum class InterruptIndexType : ValueType;
  112. ^
  113. include/hal/interrupt_config/ExternalInterrupt.hpp:20:37: error: 'ValueType' was not declared in this scope
  114. enum class InterruptIndexType : ValueType;
  115. ^
  116. include/hal/interrupt_config/ExternalInterrupt.hpp:28:42: error: expected ')' before 'InterruptIndex'
  117. ExternalInterrupt(InterruptIndexType InterruptIndex, TriggerType Trigger)
  118. ^
  119. include/hal/interrupt_config/ExternalInterrupt.hpp:44:18: error: 'InterruptIndexType' has not been declared
  120. void applyTo(InterruptIndexType InterruptIndex) const;
  121. ^
  122. include/hal/interrupt_config/ExternalInterrupt.hpp:59:23: error: 'InterruptIndexType' has not been declared
  123. void retrieveFrom(InterruptIndexType InterruptIndex);
  124. ^
  125. include/hal/interrupt_config/ExternalInterrupt.hpp:75:9: error: 'InterruptIndexType' does not name a type
  126. InterruptIndexType m_Index;
  127. ^
  128. include/hal/interrupt_config/ExternalInterrupt.hpp:76:9: error: 'ValueType' does not name a type
  129. ValueType m_Trigger;
  130. ^
  131. include/hal/interrupt_config/ExternalInterrupt.hpp: In member function 'void ExternalInterrupt::apply() const':
  132. include/hal/interrupt_config/ExternalInterrupt.hpp:51:17: error: 'm_Index' was not declared in this scope
  133. applyTo(m_Index);
  134. ^
  135. include/hal/interrupt_config/ExternalInterrupt.hpp: In member function 'void ExternalInterrupt::retrieve()':
  136. include/hal/interrupt_config/ExternalInterrupt.hpp:67:22: error: 'm_Index' was not declared in this scope
  137. retrieveFrom(m_Index);
  138. ^
  139. In file included from include/config.hpp:21:0,
  140. from include/hal/InterruptVectorTable.hpp:3,
  141. from src/target/MYAVR_BOARD_MK2/InterruptVectorTable.cpp:3:
  142. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp: At global scope:
  143. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:4:12: error: 'InterruptIndexType' is not an enumerator-name
  144. enum class ExternalInterrupt::InterruptIndexType : ValueType {
  145. ^
  146. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:4:1: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
  147. enum class ExternalInterrupt::InterruptIndexType : ValueType {
  148. ^
  149. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:4:31: error: 'InterruptIndexType' in 'class ExternalInterrupt' does not name a type
  150. enum class ExternalInterrupt::InterruptIndexType : ValueType {
  151. ^
  152. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:4:50: error: expected unqualified-id before ':' token
  153. enum class ExternalInterrupt::InterruptIndexType : ValueType {
  154. ^
  155. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:10:12: error: 'TriggerType' is not an enumerator-name
  156. enum class ExternalInterrupt::TriggerType : ValueType {
  157. ^
  158. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:10:1: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
  159. enum class ExternalInterrupt::TriggerType : ValueType {
  160. ^
  161. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:10:31: error: 'TriggerType' in 'class ExternalInterrupt' does not name a type
  162. enum class ExternalInterrupt::TriggerType : ValueType {
  163. ^
  164. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:10:43: error: expected unqualified-id before ':' token
  165. enum class ExternalInterrupt::TriggerType : ValueType {
  166. ^
  167. *** [.pio/build/myAVR_Board_MK2_2.20/src/target/MYAVR_BOARD_MK2/InterruptVectorTable.o] Error 1
  168. In file included from src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:2:0,
  169. from include/config.hpp:21,
  170. from src/target/MYAVR_BOARD_MK2/__example_impl.cpp:1:
  171. include/hal/interrupt_config/ExternalInterrupt.hpp:14:5: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
  172. enum class TriggerType : ValueType;
  173. ^
  174. include/hal/interrupt_config/ExternalInterrupt.hpp:14:16: error: use of enum 'TriggerType' without previous declaration
  175. enum class TriggerType : ValueType;
  176. ^
  177. include/hal/interrupt_config/ExternalInterrupt.hpp:14:30: error: 'ValueType' was not declared in this scope
  178. enum class TriggerType : ValueType;
  179. ^
  180. include/hal/interrupt_config/ExternalInterrupt.hpp:20:5: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
  181. enum class InterruptIndexType : ValueType;
  182. ^
  183. include/hal/interrupt_config/ExternalInterrupt.hpp:20:16: error: use of enum 'InterruptIndexType' without previous declaration
  184. enum class InterruptIndexType : ValueType;
  185. ^
  186. include/hal/interrupt_config/ExternalInterrupt.hpp:20:37: error: 'ValueType' was not declared in this scope
  187. enum class InterruptIndexType : ValueType;
  188. ^
  189. include/hal/interrupt_config/ExternalInterrupt.hpp:28:42: error: expected ')' before 'InterruptIndex'
  190. ExternalInterrupt(InterruptIndexType InterruptIndex, TriggerType Trigger)
  191. ^
  192. include/hal/interrupt_config/ExternalInterrupt.hpp:44:18: error: 'InterruptIndexType' has not been declared
  193. void applyTo(InterruptIndexType InterruptIndex) const;
  194. ^
  195. include/hal/interrupt_config/ExternalInterrupt.hpp:59:23: error: 'InterruptIndexType' has not been declared
  196. void retrieveFrom(InterruptIndexType InterruptIndex);
  197. ^
  198. include/hal/interrupt_config/ExternalInterrupt.hpp:75:9: error: 'InterruptIndexType' does not name a type
  199. InterruptIndexType m_Index;
  200. ^
  201. include/hal/interrupt_config/ExternalInterrupt.hpp:76:9: error: 'ValueType' does not name a type
  202. ValueType m_Trigger;
  203. ^
  204. include/hal/interrupt_config/ExternalInterrupt.hpp: In member function 'void ExternalInterrupt::apply() const':
  205. include/hal/interrupt_config/ExternalInterrupt.hpp:51:17: error: 'm_Index' was not declared in this scope
  206. applyTo(m_Index);
  207. ^
  208. include/hal/interrupt_config/ExternalInterrupt.hpp: In member function 'void ExternalInterrupt::retrieve()':
  209. include/hal/interrupt_config/ExternalInterrupt.hpp:67:22: error: 'm_Index' was not declared in this scope
  210. retrieveFrom(m_Index);
  211. ^
  212. In file included from include/config.hpp:21:0,
  213. from src/target/MYAVR_BOARD_MK2/__example_impl.cpp:1:
  214. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp: At global scope:
  215. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:4:12: error: 'InterruptIndexType' is not an enumerator-name
  216. enum class ExternalInterrupt::InterruptIndexType : ValueType {
  217. ^
  218. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:4:1: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
  219. enum class ExternalInterrupt::InterruptIndexType : ValueType {
  220. ^
  221. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:4:31: error: 'InterruptIndexType' in 'class ExternalInterrupt' does not name a type
  222. enum class ExternalInterrupt::InterruptIndexType : ValueType {
  223. ^
  224. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:4:50: error: expected unqualified-id before ':' token
  225. enum class ExternalInterrupt::InterruptIndexType : ValueType {
  226. ^
  227. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:10:12: error: 'TriggerType' is not an enumerator-name
  228. enum class ExternalInterrupt::TriggerType : ValueType {
  229. ^
  230. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:10:1: warning: elaborated-type-specifier for a scoped enum must not use the 'class' keyword
  231. enum class ExternalInterrupt::TriggerType : ValueType {
  232. ^
  233. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:10:31: error: 'TriggerType' in 'class ExternalInterrupt' does not name a type
  234. enum class ExternalInterrupt::TriggerType : ValueType {
  235. ^
  236. src/target/MYAVR_BOARD_MK2/interrupt_config/ExternalInterrupt.hpp:10:43: error: expected unqualified-id before ':' token
  237. enum class ExternalInterrupt::TriggerType : ValueType {
  238. ^
  239. *** [.pio/build/myAVR_Board_MK2_2.20/src/target/MYAVR_BOARD_MK2/__example_impl.o] Error 1
  240. ================================================================================ [FAILED] Took 0.94 seconds ================================================================================
  241.  
  242. Environment Status Duration
  243. -------------------- -------- ------------
  244. stm32f407vg IGNORED
  245. lpc1768 IGNORED
  246. myAVR_Board_MK2_2.20 FAILED 00:00:00.935
  247. Arduino_UNO IGNORED
  248. =========================================================================== 1 failed, 0 succeeded in 00:00:00.935 ===========================================================================
  249. The terminal process terminated with exit code: 1
  250.  
  251. Terminal will be reused by tasks, press any key to close it.
Add Comment
Please, Sign In to add comment