Article View: comp.windows.x
Article #38348Re: C++ and callbacks
From: Ian J Hogg
Date: Mon, 09 May 1994 15:31
Date: Mon, 09 May 1994 15:31
19 lines
1913 bytes
1913 bytes
In article <JASON.94May6154541@deneb.cygnus.com> jason@cygnus.com (Jason Merrill) writes:
>>>>>> Ian J Hogg <ianhogg@milli.cs.umn.edu> writes:
>
>> Where does anything say that C and C++ use the same calling convention
>> for plain functions. As I've stated before I know of at least one
>> compiler that passes arguments for C++ linkage functions differently than
>> C linkage functions. Are you saying this compiler is broken?
>
>I was only referring to my perception of existing practice; evidently I was
>mistaken. It does seem strange to me that they would alter the calling
>convention, but I suppose they had their reasons.
It was the Zortech compiler for SYSV/386. They claimed their "C++" linkage
parameter passing was more efficient.
--
===============================================================================
Ian Hogg ianhogg@cs.umn.edu
(612) 424-6332
Technical Details
Message-ID:
<CpJKJz.KBD@news.cis.umn.edu>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!hookup!swrinde!gatech!newsxfer.itd.umich.edu!zip.eecs.umich.edu!umn.edu!milli!ianhoggReferences:
<JASON.94May5173436@deneb.cygnus.com> <CpEBxp.9w2@news.cis.umn.edu> <JASON.94May6154541@deneb.cygnus.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,ad5a39011a2d3d26 X-Google-Attributes: gid103734,public X-Google-Thread: 109fba,ad5a39011a2d3d26 X-Google-Attributes: gid109fba,public X-Google-Thread: 10ba33,ad5a39011a2d3d26 X-Google-Attributes: gid10ba33,public X-Google-ArrivalTime: 1994-05-09 08:38:35 PST Newsgroups: comp.windows.x,comp.lang.c++,gnu.g++.help Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!hookup!swrinde!gatech!newsxfer.itd.umich.edu!zip.eecs.umich.edu!umn.edu!milli!ianhogg From: ianhogg@milli.cs.umn.edu (Ian J Hogg) Subject: Re: C++ and callbacks Message-ID: <CpJKJz.KBD@news.cis.umn.edu> Sender: news@news.cis.umn.edu (Usenet News Administration) Nntp-Posting-Host: milli.cs.umn.edu Organization: University of Minnesota, Minneapolis, CSci dept. References: <JASON.94May5173436@deneb.cygnus.com> <CpEBxp.9w2@news.cis.umn.edu> <JASON.94May6154541@deneb.cygnus.com> Date: Mon, 9 May 1994 15:31:46 GMT Lines: 19