> struct color { > uint8_t r; > uint8_t g; > uint8_t b; > } color = (struct color){ 255, 255, 255 };
Compiles fine for me using this version: nigel@E3510:~$ avr-gcc --version avr-gcc (AVR_8_bit_GNU_Toolchain_3.5.2_1680) 4.9.2 -- Nigel _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list