
10 Jun
2004
10 Jun
'04
9:59 p.m.
Hello,
I'm noticing that the examples directory fails to compile with gcc-3.4.0. The _exports.h symbols are not making it into stubs.o .
I found that the compile works if you:
Change: static void __attribute__((unused)) dummy(void) to: void __attribute__((unused)) dummy(void)
This would seem to be a new optimization or bug. I would expect that unused should make it stick around, even if it is not used locally.
The kernel uses this same construct in a few places mostly in debug code and drivers I don't' use...
Regards,
Richard W.