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

 
 

bug #19055: Error with function eeprom_write_word

Submitted by:  Michel Belanger <beaver_cavern>
Submitted on:  Tue 13 Feb 2007 11:58:12 PM UTC  
 
Category: LibrarySeverity: 3 - Normal
Priority: 9 - ImmediateItem Group: None
Status: NonePercent Complete: 0%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: NoneFixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 30 Mar 2007 07:36:46 PM UTCarcanumAssigned toNone=>arcanum
      Open/ClosedOpen=>Closed
    Sun 25 Mar 2007 01:00:38 AM UTCarcanumPriority5 - Normal=>9 - Immediate

    Back to the top


    Powered by Savane 3.1-cleanup1