Re: Possible minor bug

Nigel Winterbottom <[email protected]> Tue, 2 Aug 2016 10:23:05 +0200 (CEST)
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <10856572.4931470126185474.JavaMail.www@wwinf3718>
> 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