This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: inttypes.h bug leads to inconsistent warnings cross platform
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>, "newlib at sourceware dot org" <newlib at sourceware dot org>
- Date: Mon, 08 Sep 2014 08:13:59 +0200
- Subject: Re: inttypes.h bug leads to inconsistent warnings cross platform
- Authentication-results: sourceware.org; auth=none
- References: <5409CAAD dot 1030801 at oarcorp dot com>
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.