From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26729 invoked by alias); 10 Dec 2013 03:44:17 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32098 Received: (qmail 25214 invoked from network); 10 Dec 2013 03:44:11 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 From: pda@sdf.org Date: Tue, 10 Dec 2013 03:21:31 +0000 To: "Zsh Hackers' List" Subject: Re: 5.0.2-test-3, arithmetic on pointer to void Message-ID: <20131210032130.GA23075@ma.sdf.org> Mail-Followup-To: Zsh Hackers' List References: <20131201194653.7a98a4a4@pws-pc.ntlworld.com> <20131202151557.1636@binki> <20131202160801.23386d0f@pwslap01u.europe.root.pri> <131202083601.ZM3387@torch.brasslantern.com> <20131202165137.73259d8c@pwslap01u.europe.root.pri> <20131208202214.4df21a3b@pws-pc.ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131208202214.4df21a3b@pws-pc.ntlworld.com> User-Agent: Mutt/1.5.22+4 (84acf5f0ce92) (2013-10-16) It seems I'm the only one not exclusively using gcc, although I admit I use it more often than not too. Just noticed the following with HP's C compiler (and for the record, it even has -Agcc flag that accepts the code). Creating "init.c", line 287: error #3143: arithmetic on pointer to void or function type void *ptr = base + (optno < 0 ? -optno : optno); ^ 1 error detected in the compilation of "init.c".