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

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

[avr-libc-dev] [bug #19055] Error with function eeprom_write_word


From: Michel Belanger
Subject: [avr-libc-dev] [bug #19055] Error with function eeprom_write_word
Date: Tue, 13 Feb 2007 23:58:13 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

URL:
  <http://savannah.nongnu.org/bugs/?19055>

                 Summary: Error with function eeprom_write_word
                 Project: AVR C Runtime Library
            Submitted by: beaver_cavern
            Submitted on: Tuesday 02/13/2007 at 23:58
                Category: Library
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Hi,

I have the following environment:
AVR Studio 4.13 beta, with latest version of avr-libc and latest version of
avr-gcc.

I have the following code:

Code:

const uint16_t EEMEM EE_EQID;

...

eeprom_write_word(&EE_EQID,(uint16_t)usRegBuf[MB_EQID]);

End Code

that generate the following compiler warning.

Quote:

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

End quote

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

Best regards





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19055>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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