From c996c8a56502651bbf509cf8f787e1a8843d0e12 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Fri, 7 Nov 2014 17:15:19 -0800 Subject: Block compiling with gcc 4.8 and higher on AVR for the time being, until we can fix the asm issues with that version of the compiler. --- led_sysdefs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'led_sysdefs.h') diff --git a/led_sysdefs.h b/led_sysdefs.h index c49410d0..57dc605d 100644 --- a/led_sysdefs.h +++ b/led_sysdefs.h @@ -38,6 +38,10 @@ typedef volatile uint8_t RwReg; /**< Read-Write 8-bit register (volatile u #error Arduion versions 1.5.7 and later not yet supported by FastLED for AVR #endif +#if defined(ARDUINO) && defined (FASTLED_AVR) && (__GNUC__ == 4) && (__GNUC_MINOR__ > 7) +#error gcc versions 4.8 and above are not yet supported by FastLED for AVR +#endif + // Arduino.h needed for convinience functions digitalPinToPort/BitMask/portOutputRegister and the pinMode methods. #include -- cgit v1.2.3