avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] Avr-libc Bug #19055


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] Avr-libc Bug #19055
Date: Fri, 30 Mar 2007 21:28:16 +0200
User-agent: Mutt/1.5.11

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. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]