gcc-4.1.1 accepts this as valid code:
struct __attribute__((__aligned__(16))) foo {
int a;
};
sparse doesn't like it:
test.c:7:8: error: Trying to use reserved word '__attribute__'
as identifier
I'm not sure if this is a bug that people are interested in solving, as
the more common form works in both gcc and sparse:
struct foo {
int a;
} __attribute__((__aligned__(16)));
Thanks,
--
Daniel Drake
Brontes Technologies, A 3M Company
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html