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?
TIA,
-- Bob Rogers
http://rgrjr.dyndns.org/