From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <824a71a00504291106cf2741a@mail.gmail.com> Date: Fri, 29 Apr 2005 21:06:54 +0300 From: Ah Q To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] pls. HELP porting problem In-Reply-To: <5a405785fc7e3aa98ad5da8a541aa524@coraid.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200504291053.j3TArupm001356@skeeve.com> <5a405785fc7e3aa98ad5da8a541aa524@coraid.com> Topicbox-Message-UUID: 4342bd16-ead0-11e9-9d60-3106f5b1d025 On 4/29/05, Brantley Coile wrote: > > I think this actually worked in the V7 C compiler and PCC, no? > It did. I tried this with V7 on simh. $ ed g.c ?g.c a main(){struct{int(*f)();}*s; s->f();} . w 38 !cc g.c g.c:1: Call of non-function ! !pcc g.c g.c "g.c", line 1: compiler error: no table entry for op UCALL ! s/s->f/(*&)/p main(){struct{int(*f)();}*s; (*s->f)();} w 41 !cc g.c !