bugAVR C Runtime Library - Bugs: bug #19055, Error with function...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #19055: Error with function eeprom_write_word

Submitter:  Michel Belanger <beaver_cavern>
Submitted:  Tue 13 Feb 2007 11:58:12 PM UTC
   
 
Category:  Library Severity:  3 - Normal
Priority:  9 - Immediate Item Group:  None
Status:  None Assigned to:  arcanum
Percent Complete:  0% Open/Closed:  Closed
Release:  None Fixed Release:  None

Fri 30 Mar 2007 07:36:46 PM UTC, comment #1: 

After talking with Joerg, we decided that this bug is invalid. Closing bug.

Eric Weddington <arcanum>
Group administrator
Tue 13 Feb 2007 11:58:12 PM UTC, original submission:  

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

Michel Belanger <beaver_cavern>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arcanum (Updated the item)
  • -email is unavailable- added by beaver_cavern (Submitted the item)
  •  

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-03-30 arcanum Assigned toNone arcanum
        Open/ClosedOpen Closed
    2007-03-25 arcanum Priority5 - Normal 9 - Immediate

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code