This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 5/5][testsuite] Use stdint.h when needing int of exact size
On Tue, Aug 07, 2007 at 01:45:48PM -0400, Daniel Jacobowitz wrote:
>
> Why can we assume in the testsuite that <stdint.h> is available? I'm
> almost positive there are other supported targets without it; the one
> I can name off the top of my head is VxWorks.
We can't. I had gotten the idea that GCC provides stdint.h, but that's
stddef.h. I'll submit a patch to check for availability of stdint.h. I'll
also see if the check is missing in some of the other recently modified test
cases.
Why doesn't GCC provide stdint.h, btw? The one from newlib at least seems
to rely only on stuff provided by GCC.
--
Rask Ingemann Lambertsen