Compiling without setting Compiler Warnings to Default #733
-
If you have Compiler warnings set to All in the Arduino IDE Preferences dialogue box, many of the Audio Tools examples will fail to compile. As mentioned in the Audio Tools FAQ, the solution is to set Compiler warnings to Default. This is because with the All option the compile script is set to treat compiler warnings as errors. If, like me, you prefer not to have to remember to change the preferences, you can edit the file platform.txt in the ESP32 installation, which is located at:
Locate the lines:
and change them to:
Then you will see the warnings, but they won't cause compilation to fail. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Actually you can just change the default and select "More" to get the same result! After my last cleanup there should not be a lot cases left... |
Beta Was this translation helpful? Give feedback.
-
Thanks! |
Beta Was this translation helpful? Give feedback.
Actually you can just change the default and select "More" to get the same result!
Or better correct the warning and submit a pull request.
After my last cleanup there should not be a lot cases left...