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

 
 

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

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

Submitter:  Stefan Ernst <sternst>
Submitted:  Thu 08 Dec 2011 11:44:52 PM UTC
   
 
Category:  Header Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Header files
Status:  Fixed Assigned to:  joerg_wunsch
Percent Complete:  0% Open/Closed:  Closed
Release:  Any Fixed Release:  1.8.0

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.)

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

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-12-09 joerg_wunsch StatusNone Fixed
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed
        Fixed ReleaseNone 1.8.0

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code