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
Hello, I followed the tutorial but when compiling under arduino IDE I encountered this error, does anyone have any ideas?
I try with Arduino IDE 2.3.2 & wemos d1 mini
`
D:\PATH\TO\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino: In function 'int keeloq()':
D:\PATH\TO\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino:453:1: error: no return statement in function returning non-void [-Werror=return-type]
453 | } // int keeloq
| ^
D:\PATH\TO\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino: In function 'int keygen()':
D:\PATH\TOs\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino:479:1: error: no return statement in function returning non-void [-Werror=return-type]
479 | } // int keygen
| ^
D:\PATH\TO\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino: In function 'int rx_keygen()':
D:\PATH\TO\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino:641:1: error: no return statement in function returning non-void [-Werror=return-type]
641 | } // int rx_keygen
| ^
D:\PATH\TO\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino: In function 'int rx_decoder()':
D:\PATH\TO\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino:654:1: error: no return statement in function returning non-void [-Werror=return-type]
654 | } // int rx_decoder
| ^
cc1plus.exe: some warnings being treated as errors
exit status 1
Compilation error: no return statement in function returning non-void [-Werror=return-type]
`
The text was updated successfully, but these errors were encountered:
Blastmun
changed the title
no return statement in function returning non-void [-Werror=return-type]
compilation failed "no return statement in function returning non-void [-Werror=return-type]"
Apr 21, 2024
Hello, I followed the tutorial but when compiling under arduino IDE I encountered this error, does anyone have any ideas?
I try with Arduino IDE 2.3.2 & wemos d1 mini
`
D:\PATH\TO\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino: In function 'int keeloq()':
D:\PATH\TO\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino:453:1: error: no return statement in function returning non-void [-Werror=return-type]
453 | } // int keeloq
| ^
D:\PATH\TO\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino: In function 'int keygen()':
D:\PATH\TOs\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino:479:1: error: no return statement in function returning non-void [-Werror=return-type]
479 | } // int keygen
| ^
D:\PATH\TO\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino: In function 'int rx_keygen()':
D:\PATH\TO\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino:641:1: error: no return statement in function returning non-void [-Werror=return-type]
641 | } // int rx_keygen
| ^
D:\PATH\TO\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino: In function 'int rx_decoder()':
D:\PATH\TO\Jarolift_MQTT-0.7-2\Jarolift_MQTT-0.7\Jarolift_MQTT\Jarolift_MQTT.ino:654:1: error: no return statement in function returning non-void [-Werror=return-type]
654 | } // int rx_decoder
| ^
cc1plus.exe: some warnings being treated as errors
exit status 1
Compilation error: no return statement in function returning non-void [-Werror=return-type]
`
The text was updated successfully, but these errors were encountered: