Bob Rogers wrote:
Compiling r20605 last night gave me 69291 occurrences of a warning
about warn_unused_result:
/usr/bin/perl tools/build/c2str.pl --all
src/string.c
In file included from include/parrot/register.h:18,
from include/parrot/interpreter.h:138,
from include/parrot/global_setup.h:18,
from include/parrot/parrot.h:251,
from src/string.c:23:
include/parrot/stacks.h:56: warning: `warn_unused_result' attribute
directive ignored
include/parrot/stacks.h:56: warning: `warn_unused_result' attribute
directive ignored
include/parrot/stacks.h:68: warning: `warn_unused_result' attribute
directive ignored
include/parrot/stacks.h:80: warning: `warn_unused_result' attribute
directive ignored
include/parrot/stacks.h:99: warning: `warn_unused_result' attribute
directive ignored
. . .
All tests pass, so this is purely at the annoyance level. I'm running
gcc 3.3.1; is it because that is too old?
See http://rt.perl.org/rt3/Ticket/Display.html?id=44389. I'm suffering
the same problem. It has increased the size of my 'make' output log by
a factor of 100 -- though it has no affect, AFAICT, on anything
happening in 'make test'. It is really f*!#$%ing annoying, isn't it.