[cfe-dev] Error with function prototypes and __restrict

Chris Lattner clattner at apple.com
Wed Dec 19 11:54:11 PST 2007


On Dec 18, 2007, at 12:44 AM, Nico Weber wrote:
> here's another error (at least a deviation from gcc behaviour):
>
>
>      s0539:src nico$ cat test.c
>
>      #include <sys/select.h>
>      extern int select (int, fd_set *, fd_set *, fd_set *, struct
> timeval *);

Here's a reduced testcase:

int test(int * restrict);
int test(int *);

-Chris



More information about the cfe-dev mailing list