[PATCH] Add and use __INTTYPES_EXP()
Fri Nov 23 10:24:00 GMT 2012
On Nov 22 12:36, Ralf Corsepius wrote:
> On 11/22/2012 12:15 PM, Sebastian Huber wrote:
> >I deleted stdint.h from Newlib, but there seem to be more issues in
> Yes. Like I said, RTEMS has a different patch to inttypes.h, which
> is supposed to exactly address these issues.
> > For example the format specifier for PRIuMAX was wrong.
> Which particular case (target/multilib)?
> I can check my testsuite with the current rtems toolchain rpms.
> >I use now stdint.h from Newlib and this works.
> This would surprise me, because I know, newlib's inttypes.h/stdint.h
> are broken.
Nice discussion, but would anybody of you let the rest of us in on
the secret of newlib's stdint.h/intttypes.h brokenness? Maybe even
send a patch to fix it?
I just had another look into both files and I can't see anything wrong
with them. If they collide with GCC's files we can fix that (again, if
somebody would be willing to send fixes). However, newlib's headers are
supposed to work with non-GCC compilers, too, so removing the files
entirely would not be the right thing to do.
Cygwin Project Co-Leader
More information about the Newlib