Hallo, ich bin am verzweifeln.
ich wollte nur die Änderung von noiasca in mein Projekt einbauen und jetzt geht gar nichts mehr.
Ich bekomme folgende Fehlermeldung:
C:\Users\Horst\Documents\Arduino\libraries\MySQL_Connector_Arduino-1.2.0\src\MySQL_Encrypt_Sha1.cpp: In member function 'virtual size_t Encrypt_SHA1::write(uint8_t)':
C:\Users\Horst\Documents\Arduino\libraries\MySQL_Connector_Arduino-1.2.0\src\MySQL_Encrypt_Sha1.cpp:89:1: error: no return statement in function returning non-void [-Werror=return-type]
89 | }
| ^
C:\Users\Horst\Documents\Arduino\libraries\MySQL_Connector_Arduino-1.2.0\src\MySQL_Encrypt_Sha1.cpp: In member function 'virtual size_t Encrypt_SHA1::write(uint8_t*, int)':
C:\Users\Horst\Documents\Arduino\libraries\MySQL_Connector_Arduino-1.2.0\src\MySQL_Encrypt_Sha1.cpp:95:1: error: no return statement in function returning non-void [-Werror=return-type]
95 | }
| ^
cc1plus.exe: some warnings being treated as errors
exit status 1
Fehler beim Kompilieren für das Board NodeMCU 1.0 (ESP-12E Module).
Ich habe es auch mit älteren Versionen (ohne die Änderung) ausprobiert und es ist immer der gleiche Fehler.
Gruß
Horst