inttypes.h bug leads to inconsistent warnings cross platform

Sebastian Huber sebastian.huber@embedded-brains.de
Mon Sep 8 06:14:00 GMT 2014


On 05/09/14 16:37, Joel Sherrill wrote:
> Any thoughts on how to detect when it should use
> "ul" for long uinptr_t instead of "u" for targets with
> int uintptr_t?

I think there are only two options,

1. add a cascade of #ifdef arch for all special cases, or

2. add builtin defines to GCC.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
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