From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8efdde8dbda1f572 X-Google-Attributes: gidfee84,public From: Jeff Sullivan Subject: Re: cc's func prototypes not ANSI? Date: 1999/04/13 Message-ID: <371369DD.D6343406@zk3.dec.com>#1/1 X-Deja-AN: 465928407 Content-Transfer-Encoding: 7bit References: <371363AC.FB48E8A4@zk3.dec.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Compaq Computer Corporation Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 In response to Bernhard's question, we have modified the compiler to allow parameter declarations such as: void f(int a[][], int b[][][]); The first is actually allowed by the Standard. The second in non-standard, but gcc accepts it. Optional messages can be output for both types. This change will be available in the Compaq C (formerly DEC C) compiler in the release after Tru64 UNIX V5.0. The change will also be available in our Developer's Toolkit compiler, which is in field test now. -Jeff -- Jeff Sullivan | Compaq Computer Corp | mailto:jps@zk3.dec.com DEC C and C++ | Nashua, NH ZK3-2/X29 | Jeff.Sullivan@compaq.com