Re: [perl #42110] [PATCH] Returning values from void functions

2007-03-29 Thread Nicholas Clark
On Thu, Mar 29, 2007 at 04:08:58PM -0700, chromatic wrote: > On Thursday 29 March 2007 15:44, Steve Peters wrote: > > > On Thu, Mar 29, 2007 at 12:51:54PM -0700, Leopold Toetsch via RT wrote: > > > Sweeping dirt under the rug doesn't mean that the house has been cleaned > > up. It means I've tur

Re: [perl #42110] [PATCH] Returning values from void functions

2007-03-29 Thread chromatic
On Thursday 29 March 2007 15:44, Steve Peters wrote: > On Thu, Mar 29, 2007 at 12:51:54PM -0700, Leopold Toetsch via RT wrote: > Sweeping dirt under the rug doesn't mean that the house has been cleaned > up. It means I've turned it into someone else's problem. I'd rather > Parrot was solid and

Re: [perl #42110] [PATCH] Returning values from void functions

2007-03-29 Thread Leopold Toetsch
Am Freitag, 30. März 2007 00:44 schrieb Steve Peters: > Sweeping dirt under the rug doesn't mean that the house has been cleaned > up. It's not related to hiding other possible errors. Some warnings are just not appropriate to the usage of the very code, and there are a lot of them. leo

Re: [perl #42110] [PATCH] Returning values from void functions

2007-03-29 Thread Steve Peters
On Thu, Mar 29, 2007 at 12:51:54PM -0700, Leopold Toetsch via RT wrote: > Am Mittwoch, 28. März 2007 20:41 schrieb Nicholas Clark: > > Getting parrot to build under -ansi -pedantic is left as an exercise to the > > reader. > > By filtering other useless and/or nonsensical warnings - yes - else no.

Re: [perl #42110] [PATCH] Returning values from void functions

2007-03-29 Thread Steve Peters
On Wed, Mar 28, 2007 at 07:41:25PM +0100, Nicholas Clark wrote: > On Tue, Mar 27, 2007 at 05:42:12AM -0700, Steve Peters via RT wrote: > > > > Anyway, it's worth noting that although one of functions actually > > > doesn't > > > return anything, it is documented as returning a PMC *. So either th

Re: [perl #42110] [PATCH] Returning values from void functions

2007-03-29 Thread Leopold Toetsch
Am Mittwoch, 28. März 2007 20:41 schrieb Nicholas Clark: > Getting parrot to build under -ansi -pedantic is left as an exercise to the > reader. By filtering other useless and/or nonsensical warnings - yes - else no. leo - been there, done that

Re: [perl #42110] [PATCH] Returning values from void functions

2007-03-28 Thread Nicholas Clark
On Tue, Mar 27, 2007 at 05:42:12AM -0700, Steve Peters via RT wrote: > > Anyway, it's worth noting that although one of functions actually > > doesn't > > return anything, it is documented as returning a PMC *. So either the > > documentation or the function is wrong in parrotobject.pmc and shoul

Re: [perl #42110] [PATCH] Returning values from void functions

2007-03-27 Thread chromatic
On Tuesday 27 March 2007 11:32, chromatic wrote: > On Monday 26 March 2007 20:55, Steve Peters wrote: > > A couple of functions in XX are trying to return values from void > > functions. To some compilers, such as the standard HP-UX compilers, this > > is a big no-no. The patch below fixes this p

Re: [perl #42110] [PATCH] Returning values from void functions

2007-03-27 Thread chromatic
On Monday 26 March 2007 20:55, Steve Peters wrote: > A couple of functions in XX are trying to return values from void > functions. To some compilers, such as the standard HP-UX compilers, this is > a big no-no. The patch below fixes this problem. Thanks, applied as r17791. -- c

[perl #42110] [PATCH] Returning values from void functions

2007-03-27 Thread Steve Peters via RT
On Tue Mar 27 05:32:41 2007, doughera wrote: > On Mon, 26 Mar 2007, Steve Peters wrote: > > > # New Ticket Created by Steve Peters > > # Please include the string: [perl #42110] > > # in the subject line of all future correspondence about this issue. > > # http://rt.perl.org/rt3/Ticket/Display.h

Re: [perl #42110] [PATCH] Returning values from void functions

2007-03-27 Thread Andrew Dougherty
On Mon, 26 Mar 2007, Steve Peters wrote: > # New Ticket Created by Steve Peters > # Please include the string: [perl #42110] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org/rt3/Ticket/Display.html?id=42110 > > > > A couple of functions in XX are

[perl #42110] [PATCH] Returning values from void functions

2007-03-26 Thread via RT
# New Ticket Created by Steve Peters # Please include the string: [perl #42110] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=42110 > A couple of functions in XX are trying to return values from void functions. To some com