#2287 closed defect (fixed)

RTEMS printf warnings - newlib's inttypes.h and gcc's newlib-stdint.h

Reported by: Joel Sherrill Owned by: Joel Sherrill
Priority: normal Milestone: 4.11.1
Component: tool/newlib Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

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.

Change History (1)

comment:1 Changed on Nov 14, 2016 at 4:34:38 PM by Joel Sherrill

Resolution: fixed
Status: newclosed

This has been resolved a long time.

Note: See TracTickets for help on using tickets.