🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1009

Re: Gnu C bug in '...' wild arg specification

#1009
From: Fergus James HENDERSON
Date: Fri, 02 Oct 1992 11:17
19 lines
1348 bytes
In gnu.g++.bug, I wrote:

>You cannot pass objects with constructors or operator= through '...'
>(I can't find a reference to this in C++PL 2nd Ed. right now, but Cfront 2.0
>also rejects your program.)
>This is a restriction in the language, not a problem with g++.

Apparently I was wrong.
Despite the fact that Turbo C++, g++, and Cfront 2.0 all get it wrong, there
is apparently no such restriction, and Cfront 3.0 gets it right, so I am told.

That'll teach me to rely on the compilers rather than on the language
definition! ;-)

-- 
Fergus Henderson             fjh@munta.cs.mu.OZ.AU      
This .signature virus is a self-referential statement that is true - but 
you will only be able to consistently believe it if you copy it to your own
.signature file!
Technical Details
Message-ID: <9227621.2855@mulga.cs.mu.OZ.AU>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!munta.cs.mu.oz.au!fjh
References: <MAILQUEUE-101.920930120855.851@fs1.metallurgy.umist.ac.uk>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!munta.cs.mu.oz.au!fjh
From: fjh@munta.cs.mu.oz.au (Fergus James HENDERSON)
Subject: Re: Gnu C bug in '...' wild arg specification
Message-ID: <9227621.2855@mulga.cs.mu.OZ.AU>
Sender: gnulists@ai.mit.edu
Organization: Computer Science, University of Melbourne, Australia
References: <MAILQUEUE-101.920930120855.851@fs1.metallurgy.umist.ac.uk> 
Distribution: gnu
Date: Fri, 2 Oct 1992 11:17:12 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 20