[RTEMS Project] #2287: RTEMS printf warnings - newlib's inttypes.h and gcc's newlib-stdint.h
RTEMS trac
trac at rtems.org
Sun Mar 8 21:26:32 UTC 2015
#2287: RTEMS printf warnings - newlib's inttypes.h and gcc's newlib-stdint.h
---------------------------+---------------------------
Reporter: joel.sherrill | Owner: joel.sherrill
Type: defect | Status: new
Priority: normal | Milestone: 4.11.1
Component: Newlib | Version: 4.11
Severity: normal | Keywords:
---------------------------+---------------------------
This is a ticket to track the thread and proposed patch here:
https://sourceware.org/ml/newlib/2014/msg00804.html
There is an inconsistency between newlib's inttypes.h and gcc's newlib-
stdint.h which makes it impossible to resolve some printf() warnings
across all targets.
The solution is to make newlib-stdint.h use the same logic as glibc-
stdint.h (which the patch does) or use per-architecture conditionals in
newlib's inttypes.h to detect the inconsistencies and define the correct
PRIxxx types.
I would like to see this resolved before 4.11 but will let it slide until
4.11.1.
--
Ticket URL: <http://devel.rtems.org/ticket/2287>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list