[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] testsuite needs <sys/types.h>
From: |
Weddington, Eric |
Subject: |
RE: [avr-gcc-list] testsuite needs <sys/types.h> |
Date: |
Sun, 20 Jan 2008 20:08:51 -0700 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Paulo Marques
> Sent: Sunday, January 20, 2008 8:03 PM
> To: address@hidden
> Subject: [avr-gcc-list] testsuite needs <sys/types.h>
>
>
> Hi, all
>
> I'm still chasing down bugs with the testsuite, to try to get
> it to run
> without failures (still a somewhat distant goal, though ;)
>
> Anyway, some tests in gcc.c-torture/execute/builtins fail
> because they
> are expecting a "<sys/types.h>" include file.
>
> I manually added a <sys/types.h> file to my avr-libc with just:
> #include <inttypes.h>
> #include <stdint.h>
> and the testsuite passed a lot more tests from this section.
>
> The question is: should libc provide this include or shouldn't the
> tests rely on it existing? Where should the correction be made?
>
What does the standard say that <sys/types.h> should contain? If it's
easy enough, we should see about adding it to avr-libc. It's much easier
to get changes incorporated into avr-libc than it is to get them into
gcc.
Eric W.