Marking select(2) as restrict
Eitan Adler
lists at eitanadler.com
Thu Feb 22 21:10:55 UTC 2018
On 22 February 2018 at 12:04, Conrad Meyer <cem at freebsd.org> wrote:
>
> In my local testing, neither Clang nor GCC6 produces any error or
> warning for this, which is disappointing.
I forget the exact version but gcc produces this warning:
restrict.c:10:6: warning: passing argument 1 to restrict-qualified
parameter aliases with argument 2 [-Wrestrict]
meh(&a, &a);
--
Eitan Adler
More information about the freebsd-hackers
mailing list