You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The variable on the left side is called socket, and it shadows the name of socket function, causing this error.
The variable has to be renamed to something else, for example socket_fd.
Previously it worked because socket was defined as a macro taking arguments. So single occurrence of socket without argument list was not expanded, whereas socket( args...) was expanded into lwip_socket( args...) by the preprocessor.
I updated the esp-idf to the latest version on master and now get this error.
I get this error on this line https://github.com/tuanpmt/esp-request/blob/master/esp_request.c#L65
The code worked and compiled when I was on commit e43ac33 (https://github.com/espressif/esp-idf/tree/e43ac33b7c592f6c9ffc45523f04719934e3ad68)
I think the error has something to do with this commit 1c0543f
The text was updated successfully, but these errors were encountered: