Fixing warn_unused_result

2007-08-11 Thread Andy Lester
I don't have a gcc 3.3 anywhere. Any of you got one I can get to? -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Perl "use lib" pathology in src/pmc/: Worth fixing?

2007-08-11 Thread Bob Rogers
The attached script cannot be run in the src/pmc/ directory, because it adds "." to @INC, and then does "use Parrot::Distribution;" which eventually (via lib/Pod/Simple.pm) does "use integer;". This confuses Perl horribly, because it picks up "./integer.pmc" instead of the built-in pragma, sinc

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: [perl #44553] [PATCH] Add a new PIR tutorial for defined

2007-08-11 Thread Patrick R. Michaud
On Sat, Aug 11, 2007 at 05:00:33PM +0200, Paul Cochrane wrote: > > Within the past few months we've standardized on always quoting > > type names in PIR, so the above needs to read > > > > $P1 = new 'String' > > > > Throughout Parrot you'll find lots of examples and code that > > use older depr

Re: [perl #44555] [PATCH] Add POD to 51_if_unless.pir

2007-08-11 Thread chromatic
On Friday 10 August 2007 16:21:32 Colin Kuskie wrote: > +=item PMCs > + > +The "truthiness" of a PMC depends on the type of PMC, and the way it > implements its +vtable method C. I'm not sure the type matters at all; it's all up to the vtable entry here. Otherwise, this tutorial looks sound. --

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,

[svn:parrot-pdd] r20608 - trunk/docs/pdds

2007-08-11 Thread rgrjr
Author: rgrjr Date: Sat Aug 11 08:22:26 2007 New Revision: 20608 Modified: trunk/docs/pdds/pdd20_lexical_vars.pod Log: * docs/pdds/pdd20_lexical_vars.pod: + Improve "LexInfo" typography. Modified: trunk/docs/pdds/pdd20_lexical_vars.pod =

Re: [perl #44553] [PATCH] Add a new PIR tutorial for defined

2007-08-11 Thread Paul Cochrane
> Within the past few months we've standardized on always quoting > type names in PIR, so the above needs to read > > $P1 = new 'String' > > Throughout Parrot you'll find lots of examples and code that > use older deprecated syntaxes -- they should probably be > changed to the new syntax as wel

Re: [perl #44553] [PATCH] Add a new PIR tutorial for defined

2007-08-11 Thread Patrick R. Michaud
On Fri, Aug 10, 2007 at 04:20:04PM -0700, Colin Kuskie wrote: > This patch adds a new tutorial file, 56_defined.pir, which talks > about the concept of definedness. >... > +=head1 defined > + > +The defined function tells you if the contents of a PMC register is defined > or no

[perl #44553] [PATCH] Add a new PIR tutorial for defined

2007-08-11 Thread via RT
# New Ticket Created by Colin Kuskie # Please include the string: [perl #44553] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=44553 > This patch adds a new tutorial file, 56_defined.pir, which talks about the concept of d

[perl #44353] [BUG] Configure.pl: verbose-step option not working with named step

2007-08-11 Thread James Keenan via RT
Patch applied to trunk in r20603. Closing ticket.

[perl #44557] [PATCH] Add POD to 53_loop.pir

2007-08-11 Thread Patrick R. Michaud via RT
Applied in r20606, thanks! Pm

[perl #44565] [PATCH] lib/Parrot/Configure/Step/Base.pm: Make code more fully testable

2007-08-11 Thread via RT
# New Ticket Created by James Keenan # Please include the string: [perl #44565] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=44565 > --- osname= linux osvers= 2.6.18.3 arch= i486-linux-gnu-thread-multi cc= cc --- Fl

[perl #44563] [PATCH] lib/Parrot/Configure/Step.pm: Clarify comment

2007-08-11 Thread via RT
# New Ticket Created by James Keenan # Please include the string: [perl #44563] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=44563 > --- osname= linux osvers= 2.6.18.3 arch= i486-linux-gnu-thread-multi cc= cc --- Fl

[perl #44555] [PATCH] Add POD to 51_if_unless.pir

2007-08-11 Thread via RT
# New Ticket Created by Colin Kuskie # Please include the string: [perl #44555] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=44555 > The 51_if_unless.pir tutorial didn't have any POD. I added POD and a discussion about

[perl #44551] [PATCH] NQP test for blocks

2007-08-11 Thread Patrick R. Michaud via RT
Applied in r20606, thanks! Pm

[perl #44561] [PATCH] lib/Parrot/Vtable.pm: Use qr operator rather than string eval

2007-08-11 Thread via RT
# New Ticket Created by James Keenan # Please include the string: [perl #44561] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=44561 > --- osname= linux osvers= 2.6.18.3 arch= i486-linux-gnu-thread-multi cc= cc --- Fl

[perl #44557] [PATCH] Add POD to 53_loop.pir

2007-08-11 Thread via RT
# New Ticket Created by Colin Kuskie # Please include the string: [perl #44557] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=44557 > The loop tutorial didn't have any POD, so I added POD talking about how PIR doesn't hav

[perl #44551] [PATCH] NQP test for blocks

2007-08-11 Thread via RT
# New Ticket Created by Colin Kuskie # Please include the string: [perl #44551] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=44551 > This test checks the block syntax in nqp. Index: languages/nqp/t/08-b