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: Sebastian's Patches Committed


> From: Joel Sherrill <joel.sherrill@oarcorp.com>
> Date: Tue, 15 Oct 2013 19:41:34 +0200

> I just committed Sebastian's patches. If there are issues,
> just speak up. :)

This seems wrong.  Including e.g. stdlib.h shouldn't pull in
stdint.h.  There's likely standards language forbidding this but
I don't have it right here.  Glibc used to have such issues.
Such bleed is not helpful to users; they should need to include
the right headers, not just a random header when needing
e.g. uint32_t.

Right, it affects only margin cases, but those exist.  See for
example gcc/testsuite/gcc.dg/20050922-1.c and -2.c on the 4.7
and 4.8 branch (they might be "fixed" soon to not define
uint32_t).

brgds, H-P


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