Possible new PMC

2002-02-21 Thread Melvin Smith
I want to emulate a packed structure with Parrot in the way a compiler would normally do this for a low level machine. It just needs traditional notation for setting fields by offset into the struct. I sort of feel that PerlString _could_ handle this, but I'm curious if there are any gotchas I'm

Re: Initial bignum pdd

2002-02-21 Thread Bryan C. Warnock
On Thursday 21 February 2002 22:08, Alex Gough wrote: > This is a slightly confused first attempt at a pdd. I'll start to add > extra details over the next couple of days. > > Is 8 the right number? And can someone who knows how fix the ones in > the repository to have more meaningful file names

Initial bignum pdd

2002-02-21 Thread Alex Gough
This is a slightly confused first attempt at a pdd. I'll start to add extra details over the next couple of days. Is 8 the right number? And can someone who knows how fix the ones in the repository to have more meaningful file names? Alex Gough #

Re: [Patch] make key.c compile for lcc, tcc [APPLIED]

2002-02-21 Thread Dan Sugalski
At 8:06 PM -0500 2/21/02, Josh Wilmes wrote: >Although there's more work being done on the key stuff and this isn't the >final fix, applying this patch does get parrot to build with two more >compilers, so it's probably worthwhile. Applied, thanks. -- Dan

[Patch] make key.c compile for lcc, tcc

2002-02-21 Thread Josh Wilmes
This is the key.c portion of Jonathan Stowe <[EMAIL PROTECTED]>'s patch from <[EMAIL PROTECTED]> Although there's more work being done on the key stuff and this isn't the final fix, applying this patch does get parrot to build with two more compilers, so it's probably worthwhile. [josh-009.pat

Re: [Patch] Yet more warnings-fixes and cleanups [APPLIED]

2002-02-21 Thread Dan Sugalski
At 1:52 PM -0500 2/18/02, Josh Wilmes wrote: >Fixes the following (lcc) warnings: > > - interpreter.c:470: warning: expression with no effect elided >(related to the way warnings flags were defined) > > - misc.c:352: warning: unreachable code > misc.c:483: warning: unreachable c

Re: Duplicate code in PerlNum

2002-02-21 Thread Nicholas Clark
On Tue, Feb 12, 2002 at 11:28:26PM +, Simon Glover wrote: > > Currently the add, subtract, multiply and divide methods in perlnum.pmc > are all coded along the lines of: > > void add (PMC * value, PMC* dest) { > if(value->vtable == &Parrot_base_vtables[enum_class_PerlInt]) {

Re: [Patch] [was Re: Current CVS on Win32 ] [APPLIED]

2002-02-21 Thread Dan Sugalski
At 2:08 PM -0500 2/18/02, Josh Wilmes wrote: >The "inline" bit of that patch was no longer needed, and the ssize_t thing >really shouldn't be needed either. Applied, thanks. -- Dan --"it's like this"---

Re: [Patch] Win32: Borland C support [APPLIED]

2002-02-21 Thread Dan Sugalski
At 12:39 AM +0100 2/21/02, Ritz Daniel wrote: >this patch adds support for the freely availabe borland c++ 5.5.1 compiler > >depends on: >- josh's patch to remove ssize_t from CPrederef.pm Applied, thanks. I'm not sure I got Josh's ssize_t remove patch in--I'll go look now. --

Re: [Patch] Remove cuddled elses [APPLIED]

2002-02-21 Thread Dan Sugalski
At 11:44 PM -0500 2/18/02, Josh Wilmes wrote: > >This patch removes cuddled elses, as required by PDD 7. Applied, thanks. -- Dan --"it's like this"--- Dan Sugalski even samurai

Re: [Patch] Automated tests for PDD 7 standards [APPLIED]

2002-02-21 Thread Dan Sugalski
At 11:13 PM -0500 2/18/02, Josh Wilmes wrote: >This patch adds a new Makefile target called "check_source". This target >scans all the .c and .h files in the directory and checks for conformance to >a number of the standards outlined in PDD 7. Applied, thanks. --

Re: [Patch] Win32: Borland C support

2002-02-21 Thread Melvin Smith
At 11:19 PM 2/20/2002 -0500, Josh Wilmes wrote: >At 0:39 on 02/21/2002 +0100, "Ritz Daniel" <[EMAIL PROTECTED]> wrote: > > > - add a O_BINARY flag to open() in pdump.c, embed.c (required by bcc) > > - define O_BINARY 0 when it's not defined (win32 knows it, linux not) > >Offhand, i'm wondering i

Re: [PATCH] Gah! Defeat Bystander Syndrome

2002-02-21 Thread Simon Cozens
David M. Lloyd: > This silly bug has been driving me mad, so I'm posting this very simple > patch despite the fact that I should really be working instead. (Guess I > got sick of seeing all three Solaris targets on fire :-) Thanks, applied. That *was* silly, yes. :) -- "So i get the chance to

[PATCH] Gah! Defeat Bystander Syndrome

2002-02-21 Thread David M. Lloyd
This silly bug has been driving me mad, so I'm posting this very simple patch despite the fact that I should really be working instead. (Guess I got sick of seeing all three Solaris targets on fire :-) Index: io_unix.c === RCS file: