From: Ah Q <ahquei@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] pls. HELP porting problem
Date: Fri, 29 Apr 2005 21:06:54 +0300 [thread overview]
Message-ID: <824a71a00504291106cf2741a@mail.gmail.com> (raw)
In-Reply-To: <5a405785fc7e3aa98ad5da8a541aa524@coraid.com>
On 4/29/05, Brantley Coile <brantley@coraid.com> 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
!
next prev parent reply other threads:[~2005-04-29 18:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-29 10:53 Aharon Robbins
2005-04-29 11:59 ` Bruce Ellis
2005-04-29 15:15 ` rog
[not found] ` <6ea05dc57c13d1df7359ec63990a0f8b@vitanuova.com>
2005-04-29 15:25 ` Bruce Ellis
2005-04-29 15:38 ` C H Forsyth
2005-04-29 16:09 ` Bruce Ellis
2005-04-29 12:31 ` Brantley Coile
2005-04-29 18:06 ` Ah Q [this message]
2005-04-29 21:43 ` [9fans] killing none's process arisawa
2005-04-29 21:48 ` Russ Cox
2005-04-30 9:03 ` [9fans] pls. HELP porting problem Charles Forsyth
-- strict thread matches above, loose matches on Subject: below --
2005-04-29 5:53 pac7
2005-04-29 6:01 ` boyd, rounin
2005-04-29 6:10 ` geoff
2005-04-29 8:20 ` Charles Forsyth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=824a71a00504291106cf2741a@mail.gmail.com \
--to=ahquei@gmail.com \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).