[head tinderbox] failure on ia64/ia64
Christoph Mallon
christoph.mallon at gmx.de
Mon Jun 1 09:39:13 UTC 2009
Eygene Ryabinkin schrieb:
> This is very weird (judging by the GCC's manual) since the simplest C
> program,
> -----
> int main(void)
> {
> return 0;
> }
>
> void foo(void) __attribute__ ((unused))
> {
> return;
> }
> -----
> but ICC 10.x produces the same error and happily chewes __attribute__
> on the function prototype. Anyway, I see no warnings even without
> '((unused)) attribute with -Wall, so '__attribute__ ((unused))' looks
> like no-op nowadays.
There is no warning about foo() being unused, because it is not static.
Christoph
More information about the freebsd-tinderbox
mailing list