AVR 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 |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2011-12-09 | joerg_wunsch | Status | None | Fixed | |
Assigned to | None | joerg_wunsch | |||
Open/Closed | Open | Closed | |||
Fixed Release | None | 1.8.0 |
Powered by Savane 3.13-d3ae.
Corresponding source code
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.