Closed vlastahajek closed 2 years ago
To make sure we catch similar issues before the code is released, that compiler switch should be enabled for CI builds?
I would recommend this. I don't use PlatformIO. This was added automatically by Arduino, most probably by changing the setting to show all warnings. However, It looks like that it is included because I received an email with failed builds in master with the exactly the same error.
It looks like that it is included because I received an email with failed builds in master with the exactly the same error.
Appears to be a new behavior as the CI build passed previously. Now it doesn't: https://github.com/ThingPulse/esp8266-weather-station/runs/3170920198 This is likely because we neither pin the PlatformIO version nor the platform & framework versions.
Maybe fixes issue #198.
With compiler option
-Werror=return-type
: