Open ghost opened 1 year ago
Bro I’ve faced this same problem aswell when I try to reflash:
exit status 1
Compilation error: no return statement in function returning non-void [-Werror=return-type]
Have you found the solution yet?
I won't spend time explaining in depth how to report issues, since I am pretty sure you have done it tons of times. The main idea can be summed up in the following points:
yea i fixed it i don't remeber how but i forgot a step u should watch the vid tutorial
On Fri, 8 Sept 2023 at 03:27, ihsaank @.***> wrote:
Bro I’ve faced this same problem aswell when I try to reflash:
exit status 1
Compilation error: no return statement in function returning non-void [-Werror=return-type]
Have you found the solution yet?
— Reply to this email directly, view it on GitHub https://github.com/whid-injector/WHID/issues/99#issuecomment-1711023573, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5GPF42GWBRYQKI4ZDD4YX3XZKGAJANCNFSM6AAAAAAU322RTE . You are receiving this because you authored the thread.Message ID: @.***>
C:\Users\Adam\Desktop\ESPloitV2-master\source\ESP_Code\ESP_Code.ino: In function 'bool loadDefaults()': C:\Users\Adam\Desktop\ESPloitV2-master\source\ESP_Code\ESP_Code.ino:383:1: error: no return statement in function returning non-void [-Werror=return-type] 383 | } | ^ C:\Users\Adam\Desktop\ESPloitV2-master\source\ESP_Code\ESP_Code.ino: In lambda function: C:\Users\Adam\Desktop\ESPloitV2-master\source\ESP_Code\ESP_Code.ino:844:85: error: no matching function for call to 'ESP8266HTTPUpdate::update(String)' 844 | ESPhttpUpdate.update("http://legacysecuritygroup.com/esploit.php?tag=" + version); | ^ In file included from C:\Users\Adam\Desktop\ESPloitV2-master\source\ESP_Code\ESP_Code.ino:12: C:\Users\Adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266httpUpdate\src/ESP8266httpUpdate.h:119:25: note: candidate: 't_httpUpdate_return ESP8266HTTPUpdate::update(WiFiClient&, const String&, const String&)' 119 | t_httpUpdate_return update(WiFiClient& client, const String& url, const String& currentVersion = ""); | ^
~C:\Users\Adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266httpUpdate\src/ESP8266httpUpdate.h:119:25: note: candidate expects 3 arguments, 1 provided C:\Users\Adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266httpUpdate\src/ESP8266httpUpdate.h:120:25: note: candidate: 't_httpUpdate_return ESP8266HTTPUpdate::update(WiFiClient&, const String&, uint16_t, const String&, const String&)' 120 | t_httpUpdate_return update(WiFiClient& client, const String& host, uint16_t port, const String& uri = "/", | ^~C:\Users\Adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266httpUpdate\src/ESP8266httpUpdate.h:120:25: note: candidate expects 5 arguments, 1 provided C:\Users\Adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266httpUpdate\src/ESP8266httpUpdate.h:123:25: note: candidate: 't_httpUpdate_return ESP8266HTTPUpdate::update(HTTPClient&, const String&)' 123 | t_httpUpdate_return update(HTTPClient& httpClient, const String& currentVersion = ""); | ^~C:\Users\Adam\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.1\libraries\ESP8266httpUpdate\src/ESP8266httpUpdate.h:123:44: note: no known conversion for argument 1 from 'String' to 'HTTPClient&' 123 | t_httpUpdate_return update(HTTPClient& httpClient, const String& currentVersion = ""); |~~^~~~ C:\Users\Adam\Desktop\ESPloitV2-master\source\ESP_Code\ESP_Code.ino: In function 'void setup()': C:\Users\Adam\Desktop\ESPloitV2-master\source\ESP_Code\ESP_Code.ino:923:4: error: expected ')' before ';' token 923 | }; | ^ | ) C:\Users\Adam\Desktop\ESPloitV2-master\source\ESP_Code\ESP_Code.ino:852:12: note: to match this '(' 852 | server.on("/runlivepayload", [](){ | ^ cc1plus.exe: some warnings being treated as errorsexit status 1
Compilation error: no return statement in function returning non-void [-Werror=return-type]