🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2151

Re: Variable param for non-vararg subr. calls

#2151
From: Jens M Andreasen
Date: Sat, 02 Mar 1996 14:39
31 lines
1352 bytes

On Fri, 1 Mar 1996, Chris Torek wrote:

> In article <4h7560$4gr@solutions.solon.com> you write:
> >I said it couldn't be done? Makes no sense? Maybe I was wrong ...
> 
> No, you were right before.

Sh*t ...

> (The sparc calling convention passes structures specially -- that is,
> the call sequence for an aggregate is different from that for any
> scalar.)
> 
Ok!

Is there a workaround for this? (No, forget it ... We have just bought a 
bunch of them. I'll have a look at it, maybe ..)

> Your code will also fail on MIPS-based systems, among others.
> 

This confuses me a bit since I usually jack into a DecStation having (to 
my knowledge) some Mips inside ?? The sample output was taken from there.

While I'm at it: The code do run on 68k and Intel based systems :-)

> In-Real-Life: Chris Torek, Berkeley Software Design Inc

Thanks for your concern // Jens M Andreasen
Technical Details
Message-ID: <4h9mjl$grs@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <199603012002.MAA04513@elf.bsdi.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: Jens M Andreasen <jens-and@dsv.su.se>
Newsgroups: comp.lang.c.moderated
Subject: Re: Variable param for non-vararg subr. calls
Date: 2 Mar 1996 08:39:49 -0600
Organization: Digital Solutions
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4h9mjl$grs@solutions.solon.com>
References: <199603012002.MAA04513@elf.bsdi.com>
NNTP-Posting-Host: solutions.solon.com