Good morning FastLED wizards!
Yesterday code was compiling fine with FastLED, but today I am getting these compile errors - here testing with your analogoutput.ino example.
Bongo
In file included from ../inc/spark_wiring.h:29:0,
from ../inc/application.h:29,
from FastLED/led_sysdefs_arm_stm32.h:4,
from FastLED/led_sysdefs.h:16,
from FastLED/FastLED.h:34,
from FastLED/FastLED.cpp:2:
../../core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning "Defaulting to Release Build" [-Wcpp]
#warning "Defaulting to Release Build"
^
In file included from ../inc/spark_wiring.h:29:0,
from ../inc/application.h:29,
from FastLED/led_sysdefs_arm_stm32.h:4,
from FastLED/led_sysdefs.h:16,
from FastLED/FastLED.h:34,
from FastLED/colorpalettes.cpp:4:
../../core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning "Defaulting to Release Build" [-Wcpp]
#warning "Defaulting to Release Build"
^
In file included from ../inc/spark_wiring.h:29:0,
from ../inc/application.h:29,
from FastLED/led_sysdefs_arm_stm32.h:4,
from FastLED/led_sysdefs.h:16,
from FastLED/FastLED.h:34,
from FastLED/colorutils.cpp:6:
../../core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning "Defaulting to Release Build" [-Wcpp]
#warning "Defaulting to Release Build"
^
In file included from ../inc/spark_wiring.h:29:0,
from ../inc/application.h:29,
from FastLED/led_sysdefs_arm_stm32.h:4,
from FastLED/led_sysdefs.h:16,
from FastLED/FastLED.h:34,
from FastLED/hsv2rgb.cpp:4:
../../core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning "Defaulting to Release Build" [-Wcpp]
#warning "Defaulting to Release Build"
^
In file included from ../inc/spark_wiring.h:29:0,
from ../inc/application.h:29,
from FastLED/led_sysdefs_arm_stm32.h:4,
from FastLED/led_sysdefs.h:16,
from FastLED/FastLED.h:34,
from FastLED/lib8tion.cpp:3:
../../core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning "Defaulting to Release Build" [-Wcpp]
#warning "Defaulting to Release Build"
^
In file included from ../inc/spark_wiring.h:29:0,
from ../inc/application.h:29,
from FastLED/led_sysdefs_arm_stm32.h:4,
from FastLED/led_sysdefs.h:16,
from FastLED/FastLED.h:34,
from FastLED/noise.cpp:2:
../../core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning "Defaulting to Release Build" [-Wcpp]
#warning "Defaulting to Release Build"
^
In file included from ../inc/spark_wiring.h:29:0,
from ../inc/application.h:29,
from FastLED/led_sysdefs_arm_stm32.h:4,
from FastLED/led_sysdefs.h:16,
from FastLED/FastLED.h:34,
from FastLED/power_mgt.cpp:2:
../../core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning "Defaulting to Release Build" [-Wcpp]
#warning "Defaulting to Release Build"
^
In file included from ../inc/spark_wiring.h:29:0,
from ../inc/application.h:29,
from FastLED/led_sysdefs_arm_stm32.h:4,
from FastLED/led_sysdefs.h:16,
from FastLED/FastLED.h:34,
from FastLED/wiring.cpp:2:
../../core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning "Defaulting to Release Build" [-Wcpp]
#warning "Defaulting to Release Build"
^
In file included from analogoutput.cpp:1:0:
FastLED/FastLED.h:12:2: warning: #warning FastLED version 3001000 (Not really a warning, just telling you here.) [-Wcpp]
#warning FastLED version 3001000 (Not really a warning, just telling you here.)
^
In file included from ../inc/spark_wiring.h:29:0,
from ../inc/application.h:29,
from FastLED/led_sysdefs_arm_stm32.h:4,
from FastLED/led_sysdefs.h:16,
from FastLED/FastLED.h:34,
from analogoutput.cpp:1:
../../core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning "Defaulting to Release Build" [-Wcpp]
#warning "Defaulting to Release Build"
^
analogoutput.cpp:3:27: error: 'CRGB' does not name a type
void showAnalogRGB( const CRGB& rgb);
^
analogoutput.cpp:3:33: error: ISO C++ forbids declaration of 'rgb' with no type [-fpermissive]
void showAnalogRGB( const CRGB& rgb);
^
make: *** [analogoutput.o] Error 1