[PATCH] Add and use __INTTYPES_EXP()

Ralf Corsepius ralf.corsepius@rtems.org
Thu Nov 22 11:24:00 GMT 2012


On 11/22/2012 10:37 AM, Sebastian Huber wrote:

> introduces __STDINT_EXP() in inttypes.h.  If we use the GCC provided
> stdint.h, then this results in:
>
> inttypes.h:245:32: error: missing binary operator before token "("
> inttypes.h:248:34: error: missing binary operator before token "("

reproducer?

RTEMS has been using the GCC provided stdint.h combined with a different 
patch to newlib's inttypes.h applied[1] with none such error having been 
reported by anybody anywhere.


That said, as this patch has not seen wider exposure to the public, this 
patch is too intruse to allow it letting it into newlib without further 
_extensive_ testing in and outside of RTEMS.

Ralf

[1] These patches were not submitted because they are hacks and because 
there are other issues inside of newlib when being used with GCC's stdint.h.



More information about the Newlib mailing list