This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] newlib-stdint.h: Remove 32 bit longs


Hans-Bernhard Bröker wrote:
> Let me boil this down:
>
> That code is _wrong_.  Trying to base any decision on its behaviour
> can only be wrong, too.

Guys, I assure you I understand how the standards work, and tried to
make that clear.  The concern was self-consistency with what newlib is
using internally, and the printf warning was the easiest way to show
that.  But it turns out that the problem is deeper (e.g. the PRI*
macros in newlib only work with longs even when it picks an int for
int32_t using its own header logic) and probably not fixable in gcc as
I thought.

Andy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]