Re: [perl #42975] [BUG] t/tools/ops2pmutils/08-sort_ops.t experiencing test failure when warning was not emitted

2007-05-17 Thread Joshua Isom
On May 16, 2007, at 7:21 PM, James Keenan (via RT) wrote: # New Ticket Created by James Keenan # Please include the string: [perl #42975] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42975 One of the tests in

[svn:perl6-synopsis] r14392 - doc/trunk/design/syn

2007-05-17 Thread audreyt
Author: audreyt Date: Thu May 17 00:29:36 2007 New Revision: 14392 Modified: doc/trunk/design/syn/S02.pod doc/trunk/design/syn/S04.pod doc/trunk/design/syn/S06.pod Log: * Fix thrice misspelling of ?BLOCK as $?BLOCK. Modified: doc/trunk/design/syn/S02.pod

protecting internals from mutable arguments

2007-05-17 Thread Darren Duncan
All, Something that tops my current list of Perl 6 features to desire, or design flaws to deal with, concerns protecting private attributes of our objects from being mutated outside of our control due to their being assigned to from arguments to our routines that are mutable. I want to

Re: variable type specific sigils

2007-05-17 Thread Darren Duncan
As a follow-up to this thread, I discussed the matter on #perl6 with Larry today (before the thread on mutable arguments), and I learned that one of my main concerns, of inconsistency between different collection types, is not valid.

Re: protecting internals from mutable arguments

2007-05-17 Thread Austin Hastings
Darren Duncan wrote: Larry had some ideas for dealing with the problem, but this is a matter that should be more widely discussed, particularly among implementers and such. A general thought is that a parameter could be marked so that any argument passed through it is effectively snapshot

Re: FoTW: src/debug.c -- function and macro do the same thing

2007-05-17 Thread Klaas-Jan Stol
On 5/17/07, Andy Dougherty [EMAIL PROTECTED] wrote: On Wed, 16 May 2007, jerry gay wrote: good comments... but why keep both function and macro? which would you prefer keeping over the other, and why? i can't understand why both exist. In src/debug.c, for handling user input, I don't see

Re: [perl #42974] [BUG] Hungry Alligator Eats Integer; Developer Registers Complaint

2007-05-17 Thread Klaas-Jan Stol
On 5/17/07, Mehmet Yavuz Selim Soyturk [EMAIL PROTECTED] wrote: On 5/17/07, via RT Jerry Gay [EMAIL PROTECTED] wrote: # New Ticket Created by Jerry Gay # Please include the string: [perl #42974] # in the subject line of all future correspondence about this issue. # URL:

Re: PMC flags in Pmc2c

2007-05-17 Thread Leopold Toetsch
Am Mittwoch, 16. Mai 2007 11:50 schrieb tewk: A couple of questions: 1: Only two pmcs have the const_too flag SArray and ParrotLibrary. This seems redundant given that all pmcs except abstract, singleton, and const_too pmcs get a read only variant of the vtable. Is there any reason, why we

r18572 - trunk/compilers/imcc

2007-05-17 Thread jerry gay
this revision breaks parrot on msvc (and i suspect other c89-compliant compilers--sometimes i wonder if there are any others!) in particular, in the following chunk (snipped from overall patch for brevity) the UNUSED(foo) macro is used before variables are declared in the body of the

Re: r18572 - trunk/compilers/imcc

2007-05-17 Thread chromatic
On Thursday 17 May 2007 09:32:01 jerry gay wrote: this revision breaks parrot on msvc (and i suspect other c89-compliant compilers--sometimes i wonder if there are any others!) I doubt even MSVC is C89-compliant, to be honest. It just barfs more often than GCC on certain things. this

Re: [perl #42974] [BUG] Hungry Alligator Eats Integer; Developer Registers Complaint

2007-05-17 Thread Mehmet Yavuz Selim Soyturk
On 5/17/07, Klaas-Jan Stol [EMAIL PROTECTED] wrote: On 5/17/07, Mehmet Yavuz Selim Soyturk [EMAIL PROTECTED] wrote: On 5/17/07, via RT Jerry Gay [EMAIL PROTECTED] wrote: # New Ticket Created by Jerry Gay # Please include the string: [perl #42974] # in the subject line of all future

Re: r18572 - trunk/compilers/imcc

2007-05-17 Thread jerry gay
On 5/17/07, chromatic [EMAIL PROTECTED] wrote: On Thursday 17 May 2007 09:32:01 jerry gay wrote: this revision breaks parrot on msvc (and i suspect other c89-compliant compilers--sometimes i wonder if there are any others!) I doubt even MSVC is C89-compliant, to be honest. It just barfs

Re: r18572 - trunk/compilers/imcc

2007-05-17 Thread Mark Glines
On Thu, 17 May 2007 11:13:45 -0700 jerry gay [EMAIL PROTECTED] wrote: char *s = s_key; *s = 0; however... why is 's' nulled out, directly after it's initialized to 's_key'? that looks funny. The first line declares a pointer, pointing to s_key. The second line sets

Re: r18572 - trunk/compilers/imcc

2007-05-17 Thread jerry gay
On 5/17/07, Mark Glines [EMAIL PROTECTED] wrote: On Thu, 17 May 2007 11:13:45 -0700 jerry gay [EMAIL PROTECTED] wrote: char *s = s_key; *s = 0; however... why is 's' nulled out, directly after it's initialized to 's_key'? that looks funny. The first line declares a

Re: [perl #42974] [BUG] Hungry Alligator Eats Integer; Developer Registers Complaint

2007-05-17 Thread jerry gay
On 5/17/07, Mehmet Yavuz Selim Soyturk [EMAIL PROTECTED] wrote: On 5/17/07, Klaas-Jan Stol [EMAIL PROTECTED] wrote: Mmmm, is string_compare a wrapper for strcmp() ? Or is it a wrapper that reverses the result? (so return true if they're equal). In /that/ case, !string_compare() would be

Re: [perl #42974] [BUG] Hungry Alligator Eats Integer; Developer Registers Complaint

2007-05-17 Thread chromatic
On Wednesday 16 May 2007 21:15:53 Mehmet Yavuz Selim Soyturk wrote: The following patch solves that issue. --- src/pmc/class.pmc (revision 18568) +++ src/pmc/class.pmc (working copy) @@ -,8 +,9 @@ PMC*role = VTABLE_get_pmc_keyed_int(interp, role_list, i);

Re: [perl #42974] [BUG] Hungry Alligator Eats Integer; Developer Registers Complaint

2007-05-17 Thread chromatic
On Thursday 17 May 2007 18:30:08 chromatic wrote: Sort of, but it also breaks test #15 in t/pmc/class.t.  That's not your fault though; the code fails to take into account role composition into roles.  I keep trying to fix it, but it gets a lot more complex than I thought. I suspect what

Re: Configure.pl: Question about block calling arrot::Configure::runstep()

2007-05-17 Thread James E Keenan
Patrick R. Michaud wrote: I can't speak for others, but I use this frequently with Configure.pl --step=gen::languages. This allows regeneration of the per-language makefiles (e.g., languages/perl6/Makefile) without having to go through the entire configure/rebuild process for all of Parrot.