|
今天编程序的时候突然出问题了,之前都好好的。应该是头文件出了问题。麻烦大佬们看一下,如果真是头文件出问题,也希望可以跟我分享一下文件,谢谢
Arduino:1.8.13 (Windows 10), 开发板:"Arduino Uno"
In file included from D:\Arduino IDE\path\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28:0,
from D:\Arduino IDE\path\Arduino\hardware\arduino\avr\libraries\Wire\src\utility\twi.c:30:
c:\users\jone\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:1529:25: error: unknown type name 'uint_farptr_t'; did you mean 'uint_fast8_t'?
extern size_t strlen_PF(uint_farptr_t src) __ATTR_CONST__; /* program memory can't change */
^~~~~~~~~~~~~
uint_fast8_t
c:\users\jone\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:1545:26: error: unknown type name 'uint_farptr_t'; did you mean 'uint_fast8_t'?
extern size_t strnlen_PF(uint_farptr_t src, size_t len) __ATTR_CONST__; /* program memory can't change */
^~~~~~~~~~~~~
uint_fast8_t
c:\users\jone\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:1560:36: error: unknown type name 'uint_farptr_t'; did you mean 'uint_fast8_t'?
extern void *memcpy_PF(void *dest, uint_farptr_t src, size_t len);
^~~~~~~~~~~~~
uint_fast8_t
c:\users\jone\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:1575:36: error: unknown type name 'uint_farptr_t'; did you mean 'uint_fast8_t'?
extern char *strcpy_PF(char *dest, uint_farptr_t src);
^~~~~~~~~~~~~
uint_fast8_t
c:\users\jone\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:1595:37: error: unknown type name 'uint_farptr_t'; did you mean 'uint_fast8_t'?
extern char *strncpy_PF(char *dest, uint_farptr_t src, size_t len);
^~~~~~~~~~~~~
uint_fast8_t
c:\users\jone\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:1611:36: error: unknown type name 'uint_farptr_t'; did you mean 'uint_fast8_t'?
extern char *strcat_PF(char *dest, uint_farptr_t src);
^~~~~~~~~~~~~
uint_fast8_t
c:\users\jone\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:1632:37: error: unknown type name 'uint_farptr_t'; did you mean 'uint_fast8_t'?
extern size_t strlcat_PF(char *dst, uint_farptr_t src, size_t siz);
^~~~~~~~~~~~~
uint_fast8_t
c:\users\jone\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:1649:37: error: unknown type name 'uint_farptr_t'; did you mean 'uint_fast8_t'?
extern char *strncat_PF(char *dest, uint_farptr_t src, size_t len);
^~~~~~~~~~~~~
uint_fast8_t
c:\users\jone\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:1665:38: error: unknown type name 'uint_farptr_t'; did you mean 'uint_fast8_t'?
extern int strcmp_PF(const char *s1, uint_farptr_t s2) __ATTR_PURE__;
^~~~~~~~~~~~~
uint_fast8_t
c:\users\jone\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:1682:39: error: unknown type name 'uint_farptr_t'; did you mean 'uint_fast8_t'?
extern int strncmp_PF(const char *s1, uint_farptr_t s2, size_t n) __ATTR_PURE__;
^~~~~~~~~~~~~
uint_fast8_t
c:\users\jone\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:1698:42: error: unknown type name 'uint_farptr_t'; did you mean 'uint_fast8_t'?
extern int strcasecmp_PF(const char *s1, uint_farptr_t s2) __ATTR_PURE__;
^~~~~~~~~~~~~
uint_fast8_t
c:\users\jone\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:1716:43: error: unknown type name 'uint_farptr_t'; did you mean 'uint_fast8_t'?
extern int strncasecmp_PF(const char *s1, uint_farptr_t s2, size_t n) __ATTR_PURE__;
^~~~~~~~~~~~~
uint_fast8_t
c:\users\jone\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:1732:40: error: unknown type name 'uint_farptr_t'; did you mean 'uint_fast8_t'?
extern char *strstr_PF(const char *s1, uint_farptr_t s2);
^~~~~~~~~~~~~
uint_fast8_t
c:\users\jone\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:1744:37: error: unknown type name 'uint_farptr_t'; did you mean 'uint_fast8_t'?
extern size_t strlcpy_PF(char *dst, uint_farptr_t src, size_t siz);
^~~~~~~~~~~~~
uint_fast8_t
c:\users\jone\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:1760:36: error: unknown type name 'uint_farptr_t'; did you mean 'uint_fast8_t'?
extern int memcmp_PF(const void *, uint_farptr_t, size_t) __ATTR_PURE__;
^~~~~~~~~~~~~
uint_fast8_t
exit status 1
为开发板 Arduino Uno 编译时出错。
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|
|