jxsl13

Untitled

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