Re: `warn_unused_result' warnings

2007-08-15 Thread Andy Dougherty
On Tue, 14 Aug 2007, Andy Lester wrote: > On Aug 14, 2007, at 6:27 PM, Andy Dougherty wrote: > > > see above. It would have been nice if gcc simply rejected the attribute > > so that testing the exit status of gcc would be sufficient. gcc-3.4 > > doesn't have this problem. The test could eith

Re: `warn_unused_result' warnings

2007-08-14 Thread Andy Lester
On Aug 14, 2007, at 6:27 PM, Andy Dougherty wrote: see above. It would have been nice if gcc simply rejected the attribute so that testing the exit status of gcc would be sufficient. gcc-3.4 doesn't have this problem. The test could either be made to only work for gcc > 3.3, or it could tr

Re: `warn_unused_result' warnings

2007-08-14 Thread Andy Dougherty
On Mon, 13 Aug 2007, Andy Dougherty wrote: > 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: > > > > > > include/parrot/stacks.h:56: warning: `warn_unused_result' attr

Re: `warn_unused_result' warnings

2007-08-13 Thread Andy Dougherty
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:

Re: `warn_unused_result' warnings

2007-08-11 Thread James E Keenan
Bob Rogers wrote: Absolutely. At least it isn't hard to silence, albeit after Configure.pl runs. I don't understand this. I'm getting these extraneous warnings *during* 'make', which, by definition is after Configure.pl is run. Is there a secret to turning them off that I'm missing? I

Re: `warn_unused_result' warnings

2007-08-11 Thread Bob Rogers
From: James E Keenan <[EMAIL PROTECTED]> Date: Sat, 11 Aug 2007 12:20:07 -0400 Bob Rogers wrote: >Compiling r20605 last night gave me 69291 occurrences of a warning > about warn_unused_result . . . See http://rt.perl.org/rt3/Ticket/Display.html?id=44389. I'm suffering t

Re: `warn_unused_result' warnings

2007-08-11 Thread James E Keenan
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/interpr

Re: `warn_unused_result' warnings

2007-08-11 Thread Andy Lester
On Aug 11, 2007, at 10:11 AM, Bob Rogers wrote: 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? No, the autodetection doesn't do all we want yet. -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

`warn_unused_result' warnings

2007-08-11 Thread Bob Rogers
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,