On Sat, 11 Aug 2007, James E Keenan wrote: > 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. >
I'm not sure if it's relevant, but this attribute is available with gcc-3.3, but not with g++-3.3. If you apply my patch at the end of RT #44379, you can at least be sure that Configure.pl has used the correct compiler and linker in the test. It probably won't solve the problem, but may narrow it down some. -- Andy Dougherty [EMAIL PROTECTED]