Notice: We have migrated to GitLab launching 2024-05-01 see here:

#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:


This is a ticket to track the thread and proposed patch here:

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 11/14/16 at 16:34:38 by Joel Sherrill

Resolution: fixed
Status: newclosed

This has been resolved a long time.

Note: See TracTickets for help on using tickets.