bugAVR C Runtime Library - Bugs: bug #25876, pgmspace.h is bad if C++ is used

 
 

bug #25876: pgmspace.h is bad if C++ is used

Submitted by:  Kövesdi György <kgy>
Submitted on:  Sun 15 Mar 2009 05:04:12 PM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: InvalidPercent Complete: 0%
Assigned to: Joerg Wunsch <joerg_wunsch>Open/Closed: Closed
Release: 1.6.4Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 15 Mar 2009 07:42:35 PM UTC, comment #1:

This bug is not caused by avr-libc, it's a C/C++ compiler bug.

So far, I see

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34734

which appears to describe something different though. I can
see the issue here for GCC 4.3.1 but not for GCC 4.2.2.

Before you're going to file it as a GCC bug, please verify
it's still present in the most recent versions. If you're a
WinAVR user, please do at least test the most recent WinAVR
version that has just been released.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Sun 15 Mar 2009 05:04:12 PM UTC, original submission:

The types prog_uint*_t are put in the data segment if C++ is used. It is good in C only.

Kövesdi György <kgy>

 

(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 joerg_wunsch (Posted a comment)
  • -unavailable- added by kgy (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
    Sun 15 Mar 2009 07:42:35 PM UTCjoerg_wunschStatusNone=>Invalid
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1