From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24536 invoked from network); 14 Jul 1997 08:46:52 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 14 Jul 1997 08:46:52 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id EAA16645; Mon, 14 Jul 1997 04:35:03 -0400 (EDT) Resent-Date: Mon, 14 Jul 1997 04:35:03 -0400 (EDT) From: Andrew Main Message-Id: <199707140820.JAA09501@taos.demon.co.uk> Subject: Re: zsh 3.0.4 with IRIX 6.2/IDO To: jason@mastaler.com (Jason R Mastaler) Date: Mon, 14 Jul 1997 09:20:16 +0100 (BST) Cc: zsh-workers@math.gatech.edu In-Reply-To: from "Jason R Mastaler" at Jul 11, 97 03:12:48 pm X-Loop: zefram@tao.co.uk X-Headers: in preparation X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"RISRo1.0.044.tIUop"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3363 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Jason R Mastaler wrote: >I'd like to compile zsh without GCC (for various reasons), so I'm >using the SGI C compiler (IDO). When configuring with GCC, the >compiler flags "-Wall -Wno-implicit -Wmissing-prototypes -O2" are >chosen by default. These flags aren't available for the IDO >obviously, but they must have been chosen for a reason. They were chosen because they warn about most undesirable constructs. In order to use a non-GCC compiler, just export the environment variable CC in the environment of configure. For example, CC=cc ./configure will use cc as the compiler, and "-O" as CFLAGS (which you can override in the same way). >BTW, compilation did yield one non-fatal warning I thought I'd bring >to your attention. Otherwise, no problems. > > cc -c -I.. -I. -I. -DHAVE_CONFIG_H -O2 zle_tricky.c >cfe: Warning 709: zle_tricky.c, line 1553: Incompatible pointer type assignment > cb.foreach = (int ((*) (void) )) match_username; > -----------^ Question to developers: why was the (void) added? It seems to have been fine with just (). -zefram