Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.35 KB | None | 0 0
  1. Arduino: 1.6.5 (Windows 8.1), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"
  2.  
  3. In file included from C:\Users\PC\Documents\Arduino\libraries\FastSerial/BetterStream.h:16:0,
  4. from C:\Users\PC\Documents\Arduino\libraries\FastSerial/FastSerial.h:56,
  5. from Mavlink.h:6,
  6. from Mavlink.cpp:21:
  7. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h: In function 'int strcasecmp_P(const char*, const prog_char_t*)':
  8. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:108:38: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  9. return strcasecmp_P(str1, (const prog_char *)pstr);
  10. ^
  11. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:108:38: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  12. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:108:32: error: expected primary-expression before 'const'
  13. return strcasecmp_P(str1, (const prog_char *)pstr);
  14. ^
  15. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:108:32: error: expected ')' before 'const'
  16. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h: In function 'int strcmp_P(const char*, const prog_char_t*)':
  17. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:113:34: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  18. return strcmp_P(str1, (const prog_char *)pstr);
  19. ^
  20. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:113:34: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  21. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:113:28: error: expected primary-expression before 'const'
  22. return strcmp_P(str1, (const prog_char *)pstr);
  23. ^
  24. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:113:28: error: expected ')' before 'const'
  25. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h: In function 'size_t strlen_P(const prog_char_t*)':
  26. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:118:28: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  27. return strlen_P((const prog_char *)pstr);
  28. ^
  29. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:118:28: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  30. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:118:22: error: expected primary-expression before 'const'
  31. return strlen_P((const prog_char *)pstr);
  32. ^
  33. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:118:22: error: expected ')' before 'const'
  34. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h: In function 'void* memcpy_P(void*, const prog_char_t*, size_t)':
  35. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:123:34: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  36. return memcpy_P(dest, (const prog_char *)src, n);
  37. ^
  38. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:123:34: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  39. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:123:28: error: expected primary-expression before 'const'
  40. return memcpy_P(dest, (const prog_char *)src, n);
  41. ^
  42. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:123:28: error: expected ')' before 'const'
  43. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h: In function 'char* strncpy_P(char*, const prog_char_t*, size_t)':
  44. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:148:37: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  45. return strncpy_P(buffer, (const prog_char *)pstr, buffer_size);
  46. ^
  47. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:148:37: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  48. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:148:31: error: expected primary-expression before 'const'
  49. return strncpy_P(buffer, (const prog_char *)pstr, buffer_size);
  50. ^
  51. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:148:31: error: expected ')' before 'const'
  52. In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:29:0,
  53. from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Print.h:26,
  54. from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Stream.h:26,
  55. from C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial/SoftwareSerial.h:36,
  56. from Mavlink.h:5,
  57. from Mavlink.cpp:21:
  58. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h: In function 'uintptr_t pgm_read_pointer(const void*)':
  59. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:165:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  60. u.a[i] = pgm_read_byte(i + (const prog_char *)s);
  61. ^
  62. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:165:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  63. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:165:41: error: expected primary-expression before 'const'
  64. u.a[i] = pgm_read_byte(i + (const prog_char *)s);
  65. ^
  66. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:165:41: error: expected ')' before 'const'
  67. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:165:22: error: expected ')' before ';' token
  68. u.a[i] = pgm_read_byte(i + (const prog_char *)s);
  69. ^
  70. C:\Users\PC\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:165:22: error: expected ')' before ';' token
  71. In file included from C:\Users\PC\Documents\Arduino\libraries\FastSerial/FastSerial.h:56:0,
  72. from Mavlink.h:6,
  73. from Mavlink.cpp:21:
  74. C:\Users\PC\Documents\Arduino\libraries\FastSerial/BetterStream.h: At global scope:
  75. C:\Users\PC\Documents\Arduino\libraries\FastSerial/BetterStream.h:28:41: error: 'prog_char' does not name a type
  76. void _printf_P(const prog_char *, ...);
  77. ^
  78. C:\Users\PC\Documents\Arduino\libraries\FastSerial/BetterStream.h:28:51: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive]
  79. void _printf_P(const prog_char *, ...);
  80. ^
  81. Error compiling.
  82.  
  83. This report would have more information with
  84. "Show verbose output during compilation"
  85. enabled in File > Preferences.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement