espressif / arduino-esp32

Arduino core for the ESP32

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: 'virtual int Client::connect(IPAddress, uint16_t)' was hidden [-Werror=overloaded-virtual=]

f-hoepfinger-hr-agrartechnik opened this issue · comments

Debug Message

error: 'virtual int Client::connect(IPAddress, uint16_t)' was hidden [-Werror=overloaded-virtual=]


/components/arduino/libraries/Network/src/NetworkClient.h:32:15: note:   by 'ESPLwIPClient::connect'
   32 |   virtual int connect(const char *host, uint16_t port, int32_t timeout) = 0;
      |               ^~~~~~~


/components/arduino/cores/esp32/Client.h:28:15: error: 'virtual int Client::connect(IPAddress, uint16_t)' was hidden [-Werror=overloaded-virtual=]
   28 |   virtual int connect(IPAddress ip, uint16_t port) = 0;

Other Steps to Reproduce

d

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Please fill the whole issue template and provide minimal code to reproduce.