bugAVR C Runtime Library - Bugs: bug #35020, stdint.h: signed types need...

 
 

bug #35020: stdint.h: signed types need explicit "signed"

Submitted by:  Stefan Ernst <sternst>
Submitted on:  Thu 08 Dec 2011 11:44:52 PM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: FixedPercent Complete: 0%
Assigned to: Joerg Wunsch <joerg_wunsch>Open/Closed: Closed
Release: AnyFixed Release: 1.8.0

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 08 Dec 2011 11:44:52 PM UTC, original submission:

The signed types in the header are all defined without an explicit "signed". This can result in annoying behavior if used in a bit-field. The signedness of a plain "int" in a bit-field is implementation defined (in gcc controlled by command line switches). But a (e.g.) int16_t should be always signed, even in a bit-field, therefore an explicit "signed" is necessary.

Stefan Ernst <sternst>

 

(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 (Updated the item)
  • -unavailable- added by sternst (Submitted the item)
  •  

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

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 09 Dec 2011 07:09:30 AM UTCjoerg_wunschStatusNone=>Fixed
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.8.0

    Back to the top


    Powered by Savane 3.1-cleanup1