Path: utzoo!utgpu!watserv1!watmath!att!dptg!ulysses!andante!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: comp.lang.c++ Subject: Re: Bug in 2.0 with Pass by Reference? Message-ID: <10342@alice.UUCP> Date: 16 Jan 90 13:32:48 GMT References: <4577@helios.ee.lbl.gov> <830007@hp-ses.SDE.HP.COM> Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 12 In article <830007@hp-ses.SDE.HP.COM>, sechrist@hp-ses.SDE.HP.COM (Nancy Sechrist) writes: > I understand your explanation that it is not correct to attempt > to bind a StoredObject*& to a ObjectDictionary*. However, the symptom > is that cfront lets this pass through without even a warning. The > result is code that mis-behaves. Shouldn't cfront emit an error? Cfront 2.1 will be much more agressive than 2.0 about giving warnings about this sort of thing. -- --Andrew Koenig ark@europa.att.com