[PATCH] Add and use __INTTYPES_EXP()

Sebastian Huber sebastian.huber@embedded-brains.de
Thu Nov 22 11:38:00 GMT 2012


On 11/22/2012 11:27 AM, Ralf Corsepius wrote:
> 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?

I tried to use the current Newlib HEAD.

>
> 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.
>

Ok, this means that current Newlib + GCC provided stdint.h is broken at the moment?

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the Newlib mailing list