Advertisement
Guest User

MinimOSD Extra compiliation errors

a guest
Sep 9th, 2014
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 8.77 KB | None | 0 0
  1. sing library AP_Common in folder: C:\Users\David\Documents\Arduino\libraries\AP_Common (legacy)
  2. Using library AP_Math in folder: C:\Users\David\Documents\Arduino\libraries\AP_Math (legacy)
  3. Using library EEPROM in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM (legacy)
  4. Using library GCS_MAVLink in folder: C:\Users\David\Documents\Arduino\libraries\GCS_MAVLink (legacy)
  5. Using library MemoryFree in folder: C:\Users\David\Documents\Arduino\libraries\MemoryFree (legacy)
  6.  
  7.  
  8. C:\Program Files (x86)\Arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=157 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs -IC:\Users\David\Documents\Arduino\libraries\FastSerial -IC:\Users\David\Documents\Arduino\libraries\AP_Common -IC:\Users\David\Documents\Arduino\libraries\AP_Math -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM -IC:\Users\David\Documents\Arduino\libraries\GCS_MAVLink -IC:\Users\David\Documents\Arduino\libraries\MemoryFree C:\Users\David\AppData\Local\Temp\build5032002879620832220.tmp\ArduCam_Max7456.cpp -o C:\Users\David\AppData\Local\Temp\build5032002879620832220.tmp\ArduCam_Max7456.cpp.o
  9. In file included from C:\Users\David\Documents\Arduino\libraries\FastSerial/BetterStream.h:16:0,
  10.                  from C:\Users\David\Documents\Arduino\libraries\FastSerial/FastSerial.h:56,
  11.                  from C:\Users\David\AppData\Local\Temp\build5032002879620832220.tmp\ArduCam_Max7456.cpp:2:
  12. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h: In function 'int strcasecmp_P(const char*, const prog_char_t*)':
  13. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:108:38: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  14.      return strcasecmp_P(str1, (const prog_char *)pstr);
  15.                                       ^
  16. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:108:38: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  17. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:108:32: error: expected primary-expression before 'const'
  18.      return strcasecmp_P(str1, (const prog_char *)pstr);
  19.                                 ^
  20. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:108:32: error: expected ')' before 'const'
  21. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h: In function 'int strcmp_P(const char*, const prog_char_t*)':
  22. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:113:34: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  23.      return strcmp_P(str1, (const prog_char *)pstr);
  24.                                   ^
  25. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:113:34: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  26. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:113:28: error: expected primary-expression before 'const'
  27.      return strcmp_P(str1, (const prog_char *)pstr);
  28.                             ^
  29. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:113:28: error: expected ')' before 'const'
  30. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h: In function 'size_t strlen_P(const prog_char_t*)':
  31. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:118:28: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  32.      return strlen_P((const prog_char *)pstr);
  33.                             ^
  34. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:118:28: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  35. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:118:22: error: expected primary-expression before 'const'
  36.      return strlen_P((const prog_char *)pstr);
  37.                       ^
  38. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:118:22: error: expected ')' before 'const'
  39. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h: In function 'void* memcpy_P(void*, const prog_char_t*, size_t)':
  40. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:123:34: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  41.      return memcpy_P(dest, (const prog_char *)src, n);
  42.                                   ^
  43. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:123:34: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  44. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:123:28: error: expected primary-expression before 'const'
  45.      return memcpy_P(dest, (const prog_char *)src, n);
  46.                             ^
  47. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:123:28: error: expected ')' before 'const'
  48. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h: In function 'char* strncpy_P(char*, const prog_char_t*, size_t)':
  49. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:148:37: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  50.      return strncpy_P(buffer, (const prog_char *)pstr, buffer_size);
  51.                                      ^
  52. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:148:37: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  53. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:148:31: error: expected primary-expression before 'const'
  54.      return strncpy_P(buffer, (const prog_char *)pstr, buffer_size);
  55.                                ^
  56. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:148:31: error: expected ')' before 'const'
  57. In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/WString.h:29:0,
  58.                  from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Print.h:26,
  59.                  from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Stream.h:26,
  60.                  from C:\Users\David\Documents\Arduino\libraries\FastSerial/BetterStream.h:14,
  61.                  from C:\Users\David\Documents\Arduino\libraries\FastSerial/FastSerial.h:56,
  62.                  from C:\Users\David\AppData\Local\Temp\build5032002879620832220.tmp\ArduCam_Max7456.cpp:2:
  63. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h: In function 'uintptr_t pgm_read_pointer(const void*)':
  64. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:165:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  65.              u.a[i] = pgm_read_byte(i + (const prog_char *)s);
  66.                                                ^
  67. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:165:47: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
  68. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:165:41: error: expected primary-expression before 'const'
  69.              u.a[i] = pgm_read_byte(i + (const prog_char *)s);
  70.                                          ^
  71. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:165:41: error: expected ')' before 'const'
  72. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:165:22: error: expected ')' before ';' token
  73.              u.a[i] = pgm_read_byte(i + (const prog_char *)s);
  74.                       ^
  75. C:\Users\David\Documents\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:165:22: error: expected ')' before ';' token
  76. In file included from C:\Users\David\Documents\Arduino\libraries\FastSerial/FastSerial.h:56:0,
  77.                  from C:\Users\David\AppData\Local\Temp\build5032002879620832220.tmp\ArduCam_Max7456.cpp:2:
  78. C:\Users\David\Documents\Arduino\libraries\FastSerial/BetterStream.h: At global scope:
  79. C:\Users\David\Documents\Arduino\libraries\FastSerial/BetterStream.h:28:41: error: 'prog_char' does not name a type
  80.          void            _printf_P(const prog_char *, ...);
  81.                                          ^
  82. C:\Users\David\Documents\Arduino\libraries\FastSerial/BetterStream.h:28:51: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive]
  83.          void            _printf_P(const prog_char *, ...);
  84.                                                    ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement