In file included from C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/os_type.h:10:0,
from C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/user_interface.h:9,
from sketch_apr10a.ino:1:
C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/ets_sys.h:94:20: error: 'size_t' was not declared in this scope
void *pvPortMalloc(size_t xWantedSize);
^
C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/ets_sys.h:95:32: error: 'size_t' has not been declared
void *pvPortRealloc(void* ptr, size_t xWantedSize);
^
C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/ets_sys.h:97:19: error: 'size_t' was not declared in this scope
void *vPortMalloc(size_t xWantedSize);
^
C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/ets_sys.h:99:47: error: 'size_t' has not been declared
void *ets_memcpy(void *dest, const void *src, size_t n);
^
C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/ets_sys.h:100:34: error: 'size_t' has not been declared
void *ets_memset(void *s, int c, size_t n);
^
C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/ets_sys.h:109:48: error: 'size_t' has not been declared
char *ets_strncpy(char *dest, const char *src, size_t n);
^
C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/ets_sys.h:112:28: error: 'size_t' has not been declared
int os_snprintf(char *str, size_t size, const char *format, ...) __attribute__ ((format (printf, 3, 4)));
^
C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/ets_sys.h:104:5: error: previous declaration of 'int atoi(const char*)' with 'C++' linkage
int atoi(const char *nptr);
^
In file included from c:\users\jd\desktop\arduino-1.6.1\hardware\tools\esp8266\xtensa-lx106-elf\xtensa-lx106-elf\include\stdint.h:12:0,
from c:\users\jd\desktop\arduino-1.6.1\hardware\tools\esp8266\xtensa-lx106-elf\lib\gcc\xtensa-lx106-elf\4.8.2\include\stdint.h:9,
from C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/c_types.h:8,
from C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/ets_sys.h:11,
from C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/os_type.h:10,
from C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/user_interface.h:9,
from sketch_apr10a.ino:1:
c:\users\jd\desktop\arduino-1.6.1\hardware\tools\esp8266\xtensa-lx106-elf\xtensa-lx106-elf\include\stdlib.h:70:5: error: conflicts with new declaration with 'C' linkage
int _EXFUN(atoi,(const char *__nptr));
^
In file included from C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/os_type.h:10:0,
from C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/user_interface.h:9,
from sketch_apr10a.ino:1:
C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/ets_sys.h:119:6: error: previous declaration of 'void ets_intr_lock()' with 'C++' linkage
void ets_intr_lock();
^
In file included from sketch_apr10a.ino:3:0:
C:\Users\jd\Desktop\arduino-1.6.1\hardware\esp8266com\esp8266\cores\esp8266/Arduino.h:80:20: error: conflicts with new declaration with 'C' linkage
void ets_intr_lock();
^
In file included from C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/os_type.h:10:0,
from C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/user_interface.h:9,
from sketch_apr10a.ino:1:
C:\Users\jd\Desktop\arduino-1.6.1/hardware/tools/esp8266/sdk/include/ets_sys.h:120:6: error: previous declaration of 'void ets_intr_unlock()' with 'C++' linkage
void ets_intr_unlock();
^
In file included from sketch_apr10a.ino:3:0:
C:\Users\jd\Desktop\arduino-1.6.1\hardware\esp8266com\esp8266\cores\esp8266/Arduino.h:81:22: error: conflicts with new declaration with 'C' linkage
void ets_intr_unlock();
^
Ошибка компиляции