As Eric Weddington wrote:

> ../MicroTransTempReg.c:153: warning: passing argument 1 of
> 'eeprom_write_word' discards qualifiers from pointer target type

> I removed the "const" declaration and this removed the warning
> message.  However, Jörg suggested to file a a bug report."

The bug report was merely meant to be a reminder to go over
<avr/eeprom.h> once again to look for any missing consts.  I think my
idea was that the second arg to eeprom_write_word() could be declared
const, but well, upon thinking more about it, it's not a pointer so
there's not much sense in that.  All of the eeprom_read_*() functions
do have their pointers correctly declared.

So yes, this can be closed as invalid I think.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to