Topic: Moellipsis


Author: dj@ctron.com (DJ Delorie)
Date: 22 Aug 91 21:42:44 GMT
Raw View
In article <1991Aug22.134657.22504@dcs.glasgow.ac.uk>, fw@dcs.glasgow.ac.uk (Francis Wai) writes:
> Does anyone out there know of a compiler other than GNU C++ (1.36)
> that can handle ellipsis properly? I know both Glockenspiel 1.2 E
> and AT&T 2.0 compilers accept programs with ellipsis but chose not
> to do anything about it.

Also: I've never been able to write a C++ (cfront2.1) function that
takes a vararg (...) parameter and works on a sparc.  The prototype
that Sun gives won't work right with cfront, and the prototype cfront
gives won't work.

The problem is that the arguments to the function aren't on the stack
- they're in registers, which is common in RISC machines.

DJ
dj@ctron.com