Re: __user annotations

Paul Mackerras (paulus@samba.org)
Sun, 8 Jun 2003 12:17:42 +1000


Daniel Jacobowitz writes:

> I don't know why they were getting rejected for Paul, though. Did you
> have GNU set to -ansi mode?

I was using gcc-3.3. I tried both -std=c99 and -std=gnu99, and gcc-3.3
didn't like the code either way, nor did it like it with no -std
option. Gcc-3.2 compiles it perfectly happily though, so that is what
I am doing for now.

(I did have to hack some of the pre-definitions in check.c to make it
useful on PPC, e.g., I changed it to pre-define __ppc__ instead of
__i386__.)

Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/