We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.piolibdeps/ESP8266-ping/src/Pinger.cpp: In member function 'bool Pinger::Ping(IPAddress, u32_t, u32_t)': .piolibdeps/ESP8266-ping/src/Pinger.cpp:108:19: error: invalid conversion from 'u8_t ()(void, raw_pcb*, pbuf*, const ip_addr_t*) {aka unsigned char ()(void, raw_pcb*, pbuf*, const ip_addr*)}' to 'raw_recv_fn {aka unsigned char ()(void, raw_pcb*, pbuf*, ip_addr*)}' [-fpermissive] (void )this); ^ In file included from .piolibdeps/ESP8266-ping/src/Pinger.h:38:0, from .piolibdeps/ESP8266-ping/src/Pinger.cpp:28: /Users/daniele/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip/include/lwip/raw.h:84:18: error: initializing argument 2 of 'void raw_recv(raw_pcb, raw_recv_fn, void*)' [-fpermissive] void raw_recv (struct raw_pcb pcb, raw_recv_fn recv, void recv_arg)ICACHE_FLASH_ATTR; ^ .piolibdeps/ESP8266-ping/src/Pinger.cpp: In member function 'u8_t Pinger::PingReceived(pbuf, const ip_addr_t)': .piolibdeps/ESP8266-ping/src/Pinger.cpp:280:78: error: invalid conversion from 'const ip_addr_t* {aka const ip_addr*}' to 'ip_addr_t* {aka ip_addr*}' [-fpermissive] etharp_find_addr(NULL, addr, &m_pingResponse.DestMacAddress, &unused_ipaddr); ^ In file included from .piolibdeps/ESP8266-ping/src/PingerResponse.h:34:0, from .piolibdeps/ESP8266-ping/src/Pinger.h:32, from .piolibdeps/ESP8266-ping/src/Pinger.cpp:28: /Users/daniele/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip/include/netif/etharp.h:186:6: error: initializing argument 2 of 's8_t etharp_find_addr(netif*, ip_addr_t*, eth_addr**, ip_addr_t**)' [-fpermissive] s8_t etharp_find_addr(struct netif netif, ip_addr_t ipaddr, ^ .piolibdeps/ESP8266-ping/src/Pinger.cpp:280:78: error: invalid conversion from 'const ip_addr_t {aka const ip_addr**}' to 'ip_addr_t** {aka ip_addr**}' [-fpermissive] etharp_find_addr(NULL, addr, &m_pingResponse.DestMacAddress, &unused_ipaddr); ^ In file included from .piolibdeps/ESP8266-ping/src/PingerResponse.h:34:0, from .piolibdeps/ESP8266-ping/src/Pinger.h:32, from .piolibdeps/ESP8266-ping/src/Pinger.cpp:28: /Users/daniele/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip/include/netif/etharp.h:186:6: error: initializing argument 4 of 's8_t etharp_find_addr(netif*, ip_addr_t*, eth_addr**, ip_addr_t**)' [-fpermissive] s8_t etharp_find_addr(struct netif *netif, ip_addr_t *ipaddr, ^
The text was updated successfully, but these errors were encountered:
I have the same issue attempting to compile the ping example sketch
Sorry, something went wrong.
No branches or pull requests
.piolibdeps/ESP8266-ping/src/Pinger.cpp: In member function 'bool Pinger::Ping(IPAddress, u32_t, u32_t)':
.piolibdeps/ESP8266-ping/src/Pinger.cpp:108:19: error: invalid conversion from 'u8_t ()(void, raw_pcb*, pbuf*, const ip_addr_t*) {aka unsigned char ()(void, raw_pcb*, pbuf*, const ip_addr*)}' to 'raw_recv_fn {aka unsigned char ()(void, raw_pcb*, pbuf*, ip_addr*)}' [-fpermissive]
(void )this);
^
In file included from .piolibdeps/ESP8266-ping/src/Pinger.h:38:0,
from .piolibdeps/ESP8266-ping/src/Pinger.cpp:28:
/Users/daniele/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip/include/lwip/raw.h:84:18: error: initializing argument 2 of 'void raw_recv(raw_pcb, raw_recv_fn, void*)' [-fpermissive]
void raw_recv (struct raw_pcb pcb, raw_recv_fn recv, void recv_arg)ICACHE_FLASH_ATTR;
^
.piolibdeps/ESP8266-ping/src/Pinger.cpp: In member function 'u8_t Pinger::PingReceived(pbuf, const ip_addr_t)':
.piolibdeps/ESP8266-ping/src/Pinger.cpp:280:78: error: invalid conversion from 'const ip_addr_t* {aka const ip_addr*}' to 'ip_addr_t* {aka ip_addr*}' [-fpermissive]
etharp_find_addr(NULL, addr, &m_pingResponse.DestMacAddress, &unused_ipaddr);
^
In file included from .piolibdeps/ESP8266-ping/src/PingerResponse.h:34:0,
from .piolibdeps/ESP8266-ping/src/Pinger.h:32,
from .piolibdeps/ESP8266-ping/src/Pinger.cpp:28:
/Users/daniele/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip/include/netif/etharp.h:186:6: error: initializing argument 2 of 's8_t etharp_find_addr(netif*, ip_addr_t*, eth_addr**, ip_addr_t**)' [-fpermissive]
s8_t etharp_find_addr(struct netif netif, ip_addr_t ipaddr,
^
.piolibdeps/ESP8266-ping/src/Pinger.cpp:280:78: error: invalid conversion from 'const ip_addr_t {aka const ip_addr**}' to 'ip_addr_t** {aka ip_addr**}' [-fpermissive]
etharp_find_addr(NULL, addr, &m_pingResponse.DestMacAddress, &unused_ipaddr);
^
In file included from .piolibdeps/ESP8266-ping/src/PingerResponse.h:34:0,
from .piolibdeps/ESP8266-ping/src/Pinger.h:32,
from .piolibdeps/ESP8266-ping/src/Pinger.cpp:28:
/Users/daniele/.platformio/packages/framework-arduinoespressif8266/tools/sdk/lwip/include/netif/etharp.h:186:6: error: initializing argument 4 of 's8_t etharp_find_addr(netif*, ip_addr_t*, eth_addr**, ip_addr_t**)' [-fpermissive]
s8_t etharp_find_addr(struct netif *netif, ip_addr_t *ipaddr,
^
The text was updated successfully, but these errors were encountered: