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
I recommend adding "-Wno-error=narrowing" to the compiler flags in platform.txt for compiling .cpp files. This will restore the gcc 4.8 behavior and allow libraries like MusicWithoutDelay to compile as they always have on prior versions of Arduino.
The text was updated successfully, but these errors were encountered:
The recent upgrade from gcc 4.8 to 5.4 has turned "narrowing conversion" from a warning to an error.
Here is a library which demonstrates the problem. Works with earlier Arduino but will not compile with 1.8.6.
https://github.com/nathanRamaNoodles/MusicWithoutDelay-LIbrary
I recommend adding "-Wno-error=narrowing" to the compiler flags in platform.txt for compiling .cpp files. This will restore the gcc 4.8 behavior and allow libraries like MusicWithoutDelay to compile as they always have on prior versions of Arduino.
The text was updated successfully, but these errors were encountered: