arduino icon indicating copy to clipboard operation
arduino copied to clipboard

Multiple functions with no return value although declared in prototype

Open maxgerhardt opened this issue 4 years ago • 1 comments

GCC is throwing errors in your code regarding warning: no return statement in function returning non-void errors.

E.g., where is the return statement in this function that's supposed return a signed short?

https://github.com/w600/arduino/blob/b94d129f6d873c3d314ffbe230a236b578a1d186/cores/w600/HardwareSerial.cpp#L45-L57

Same here

https://github.com/w600/arduino/blob/b94d129f6d873c3d314ffbe230a236b578a1d186/cores/w600/HardwareSerial.cpp#L148-L175

maxgerhardt avatar Sep 24 '20 23:09 maxgerhardt

What's going on here? Is this project completely abandoned?

maxgerhardt avatar Nov 10 '22 10:11 maxgerhardt