Open sok63 opened 6 years ago
Hello.
I've just updated my Arduino program to the latest 1.8.7, but it seems occurs no error for me. :0 Are there any changes to your ODROID-GO library directory?
Just try to install to clear laptop - and all works. After comparison the differences find the reason: In main computer in Arduino-File-Prefrences-Compiler Warnings setted "All", but with clear install it setted to defaults. After I change to "Defaults" - all started to compile. I thought that this parameter simply prints more warnings, but as it turned out, it forces to compile with more strict rules.
The Arduino core for the ESP32 sets -Werror=all
when File > Preferences > Compiler warnings is set to "More" or "All", which upgrades warnings to errors:
https://github.com/espressif/arduino-esp32/blob/master/platform.txt#L20-L21
The purpose is to force people to write quality code without warnings.
i agree with perl1234. This is probably bad code.
i get these failures on my Mac. I assume Xcode is more strict. Arduino version is 1.8.8
the date function as mentioned about needs a rewrite
this int function does not have a return value DS3231::begin
and several cases are missing in switches: WSop_close WSop_ping WSop_pong
and in src/sensors/ir/IRremote.cpp
there is bad code near if (irparams.blinkflag) {
I update my Arduino to latest ( when follow instructions to install support for ESP32 boards), and do all that was in instruction.
When try to compile Hello World it fall with next errors:
Other GO sketches give other errors like:
From all sketches only "LED\LED PWM" works (compile and upload) fine.