Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile errors - no return statement in function returning non-void #3

Closed
caternuson opened this issue Oct 12, 2021 · 1 comment
Closed

Comments

@caternuson
Copy link

Compiling with latest everything generates lots of warns and these errors:

TouchControllerWS.cpp:50:1: error: no return statement in function returning non-void [-Werror=return-type]
   50 | }
      | ^
/home/user/Arduino/esp8266-weather-station-color/TouchControllerWS.cpp: In member function 'bool TouchControllerWS::isTouched()':
TouchControllerWS.cpp:89:1: error: no return statement in function returning non-void [-Werror=return-type]
   89 | }
      | ^
/home/user/Arduino/esp8266-weather-station-color/TouchControllerWS.cpp: In member function 'bool TouchControllerWS::loadCalibration()':
TouchControllerWS.cpp:13:47: error: control reaches end of non-void function [-Werror=return-type]
   13 |   File f = SPIFFS.open("/calibration.txt", "r");
      | 
@ladyada
Copy link
Member

ladyada commented Oct 21, 2023

fixed in #6

@ladyada ladyada closed this as completed Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants