Arduino: 1.6.13 (Windows 7), Плата:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (3M SPIFFS)"
....\ESP8266WiFi\src\ESP8266WiFiGeneric.cpp:155:127: warning: unused parameter 'e' [-Wunused-parameter]
WiFiEventHandler handler = std::make_shared<WiFiEventHandlerOpaque>(WIFI_EVENT_STAMODE_DHCP_TIMEOUT, [f](System_Event_t* e){
^
....\ESP8266WiFi\src\ESP8266WiFiGeneric.cpp:454:6: warning: unused parameter 'name' [-Wunused-parameter]
void wifi_dns_found_callback(const char *name, ip_addr_t *ipaddr, void *callback_arg) {
^
In file included from ....\ESP8266WiFi\src\WiFiClient.cpp:41:0:
....\ESP8266WiFi\src\include/ClientContext.h:250:15: warning: unused parameter 'pcb' [-Wunused-parameter]
err_t _sent(tcp_pcb* pcb, uint16_t len) {
^
....\ESP8266WiFi\src\include/ClientContext.h:278:20: warning: unused parameter 'pcb' [-Wunused-parameter]
recv_ret_t _recv(tcp_pcb* pcb, pbuf* pb, err_t err) {
^
....\ESP8266WiFi\src\include/ClientContext.h:278:20: warning: unused parameter 'err' [-Wunused-parameter]
....\ESP8266WiFi\src\include/ClientContext.h:303:14: warning: unused parameter 'err' [-Wunused-parameter]
void _error(err_t err) {
^
....\ESP8266WiFi\src\include/ClientContext.h:315:15: warning: unused parameter 'pcb' [-Wunused-parameter]
err_t _poll(tcp_pcb* pcb) {
^
....\ESP8266WiFi\src\WiFiClient.cpp:136:8: warning: unused parameter 'err' [-Wunused-parameter]
int8_t WiFiClient::_connected(void* pcb, int8_t err)
^
....\ESP8266WiFi\src\WiFiClient.cpp:145:6: warning: unused parameter 'err' [-Wunused-parameter]
void WiFiClient::_err(int8_t err)
^
In file included from ....\ESP8266WiFi\src\WiFiClientSecure.cpp:40:0:
....\ESP8266WiFi\src\include/ClientContext.h:250:15: warning: unused parameter 'pcb' [-Wunused-parameter]
err_t _sent(tcp_pcb* pcb, uint16_t len) {
^
....\ESP8266WiFi\src\include/ClientContext.h:278:20: warning: unused parameter 'pcb' [-Wunused-parameter]
recv_ret_t _recv(tcp_pcb* pcb, pbuf* pb, err_t err) {
^
....\ESP8266WiFi\src\include/ClientContext.h:278:20: warning: unused parameter 'err' [-Wunused-parameter]
....\ESP8266WiFi\src\include/ClientContext.h:303:14: warning: unused parameter 'err' [-Wunused-parameter]
void _error(err_t err) {
^
....\ESP8266WiFi\src\include/ClientContext.h:315:15: warning: unused parameter 'pcb' [-Wunused-parameter]
err_t _poll(tcp_pcb* pcb) {
^
....\ESP8266WiFi\src\WiFiClientSecure.cpp:182:27: warning: unused parameter 'fd' [-Wunused-parameter]
static ClientContext* getIOContext(int fd) {
^
....\ESP8266WiFi\src\WiFiClientSecure.cpp: In function 'int ax_port_read(int, uint8_t*, size_t)':
....\ESP8266WiFi\src\WiFiClientSecure.cpp:539:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (!_client || _client->state() != ESTABLISHED && !_client->getSize()) {
^
....\ESP8266WiFi\src\WiFiClientSecure.cpp: At global scope:
....\ESP8266WiFi\src\WiFiClientSecure.cpp:567:16: warning: unused parameter 'filename' [-Wunused-parameter]
extern "C" int ax_get_file(const char *filename, uint8_t **buf) {
^
....\ESP8266WiFi\src\WiFiClientSecure.cpp:579:18: warning: unused parameter 'file' [-Wunused-parameter]
extern "C" void* ax_port_malloc(size_t size, const char* file, int line) {
^
....\ESP8266WiFi\src\WiFiClientSecure.cpp:579:18: warning: unused parameter 'line' [-Wunused-parameter]
....\ESP8266WiFi\src\WiFiClientSecure.cpp:596:18: warning: unused parameter 'file' [-Wunused-parameter]
extern "C" void* ax_port_realloc(void* ptr, size_t size, const char* file, int line) {
^
....\ESP8266WiFi\src\WiFiClientSecure.cpp:596:18: warning: unused parameter 'line' [-Wunused-parameter]
In file included from ....\ESP8266WiFi\src\WiFiServer.cpp:38:0:
....\ESP8266WiFi\src\include/ClientContext.h:250:15: warning: unused parameter 'pcb' [-Wunused-parameter]
err_t _sent(tcp_pcb* pcb, uint16_t len) {
^
....\ESP8266WiFi\src\include/ClientContext.h:278:20: warning: unused parameter 'pcb' [-Wunused-parameter]
recv_ret_t _recv(tcp_pcb* pcb, pbuf* pb, err_t err) {
^
....\ESP8266WiFi\src\include/ClientContext.h:278:20: warning: unused parameter 'err' [-Wunused-parameter]
....\ESP8266WiFi\src\include/ClientContext.h:303:14: warning: unused parameter 'err' [-Wunused-parameter]
void _error(err_t err) {
^
....\ESP8266WiFi\src\include/ClientContext.h:315:15: warning: unused parameter 'pcb' [-Wunused-parameter]
err_t _poll(tcp_pcb* pcb) {
^
....\ESP8266WiFi\src\WiFiServer.cpp:99:12: warning: unused parameter 'status' [-Wunused-parameter]
WiFiClient WiFiServer::available(byte* status) {
^
....\ESP8266WiFi\src\WiFiServer.cpp:134:8: warning: unused parameter 'buffer' [-Wunused-parameter]
size_t WiFiServer::write(const uint8_t *buffer, size_t size) {
^
....\ESP8266WiFi\src\WiFiServer.cpp:134:8: warning: unused parameter 'size' [-Wunused-parameter]
In file included from ..../tools/sdk/lwip/include/lwip/opt.h:46:0,
from ....\ESP8266WiFi\src\WiFiServer.cpp:35:
....\ESP8266WiFi\src\WiFiServer.cpp: In member function 'int8_t WiFiServer::_accept(tcp_pcb*, int8_t)':
..../tools/sdk/lwip/include/lwip/debug.h:66:32: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
LWIP_PLATFORM_ASSERT(message); } while(0)
^
..../tools/sdk/lwip/include/lwip/tcp.h:335:36: note: in expansion of macro 'LWIP_ASSERT'
#define tcp_accepted(pcb) LWIP_ASSERT("pcb->state == LISTEN (called for wrong pcb?)", \
^
....\ESP8266WiFi\src\WiFiServer.cpp:155:5: note: in expansion of macro 'tcp_accepted'
tcp_accepted(_pcb);
^
....\ESP8266WiFi\src\WiFiServer.cpp: At global scope:
....\ESP8266WiFi\src\WiFiServer.cpp:151:8: warning: unused parameter 'err' [-Wunused-parameter]
int8_t WiFiServer::_accept(tcp_pcb* apcb, int8_t err) {
^
....\ESP8266WiFi\src\WiFiServer.cpp:159:6: warning: unused parameter 'client' [-Wunused-parameter]
void WiFiServer::_discard(ClientContext* client) {
^
In file included from ....\ESP8266WiFi\src\WiFiUdp.cpp:41:0:
....\ESP8266WiFi\src\include/UdpContext.h:329:10: warning: unused parameter 'upcb' [-Wunused-parameter]
void _recv(udp_pcb *upcb, pbuf *pb,
^
....\ESP8266WiFi\src\include/UdpContext.h:329:10: warning: unused parameter 'addr' [-Wunused-parameter]
....\ESP8266WiFi\src\include/UdpContext.h:329:10: warning: unused parameter 'port' [-Wunused-parameter]
....\cores\esp8266\cont_util.c: In function 'cont_init':
....\cores\esp8266\cont_util.c:35:26: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for(int pos = 0; pos < sizeof(cont->stack) / 4; pos++)
^
cc1.exe: all warnings being treated as errors
exit status 1
Ошибка компиляции для платы NodeMCU 1.0 (ESP-12E Module).
Этот отчёт будет иметь больше информации с
включенной опцией Файл -> Настройки ->
"Показать подробный вывод во время компиляции"