From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,5dfc36d70460b825 X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,5dfc36d70460b825 X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,5dfc36d70460b825 X-Google-Attributes: gidfee84,public From: zeeb@jacare.zk3.dec.com (Jeff Zeeb DEC C) Subject: Re: cc -proto[is] produces fubar results? Date: 1996/03/13 Message-ID: <4i704g$qpt@zk2nws.zko.dec.com>#1/1 X-Deja-AN: 142557028 distribution: world references: <4hv1oc$g8i@news.iastate.edu> <4i4kpq$qdj@zk2nws.zko.dec.com> organization: Digital Equipment Corporation reply-to: zeeb@decc.enet.dec.com newsgroups: comp.sys.dec,comp.unix.ultrix,comp.unix.osf.osf1 In article <4i4kpq$qdj@zk2nws.zko.dec.com>, carlson@kikkin.zko.dec.com (Tom Carlson) writes: >|>Doing: "cc -protoi sample.c" (see sample.c below) gives a sample.H of: >|> >|>extern int (int (* )argc , char * * argv)ifunc(struct xcmd * tbl , char * item); > >You're right, acc (invoked cc) misses the mark on this one. >DEC C (currently invoked via cc -migrate) does a better job: Note that the DEC C compiler doesn't support the -proto switch until the V4.0 release. -- Jeff Zeeb This article represents my opinions and not those zeeb@decc.enet.dec.com of Digital Equipment Corp. (Surprise!)