-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Component: CompilationRelated to compilation of Arduino sketchesRelated to compilation of Arduino sketches
Milestone
Description
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.
Metadata
Metadata
Assignees
Labels
Component: CompilationRelated to compilation of Arduino sketchesRelated to compilation of Arduino sketches