[avr-gcc-list] PROGMEM on compound-literal arrays

2016-10-30 Thread Paul "LeoNerd" Evans
((TLDR: PROGMEM on compound-literal arrays is silently ignored. Please either implement or make it a noisy warning/error.)) If I define a function that takes a byte array, e.g. void i2c_write(size_t len, const uint8_t *data); I find it nice to be able to call that with compound-literal arr

Re: [avr-gcc-list] PROGMEM on compound-literal arrays

2016-10-30 Thread Georg-Johann Lay
Paul "LeoNerd" Evans schrieb: ((TLDR: PROGMEM on compound-literal arrays is silently ignored. Please either implement or make it a noisy warning/error.)) If I define a function that takes a byte array, e.g. void i2c_write(size_t len, const uint8_t *data); I find it nice to be able to cal