From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id D39FD2F124 for ; Tue, 9 Jan 2001 04:49:43 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f099nhj16047 for axp-list@listman.redhat.com; Tue, 9 Jan 2001 04:49:43 -0500 Received: from mail.gmd.de (mail.gmd.de [129.26.8.90]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f099ngD16043 for ; Tue, 9 Jan 2001 04:49:43 -0500 Received: from twister.gmd.de (twister [129.26.8.91]) by mail.gmd.de (8.9.3/8.9.3) with ESMTP id KAA20587 for ; Tue, 9 Jan 2001 10:49:41 +0100 (MET) Received: (from wittig@localhost) by twister.gmd.de (8.8.7/8.8.7) id KAA10435 for axp-list@redhat.com; Tue, 9 Jan 2001 10:49:41 +0100 (MET) Date: Tue, 9 Jan 2001 10:49:41 +0100 From: Georg Wittig To: axp-list@redhat.com Subject: Re: ccc error Message-ID: <20010109104941.A23344@twister.gmd.de> Mail-Followup-To: axp-list@redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jeff.sturm@appnet.com on Tue, Jan 09, 2001 at 02:26:18AM -0500 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors jeff.sturm@appnet.com wrote: > Does anyone know if the following is valid C: > > extern int a; > extern int b; > > void f(int x) { > (x ? a : b) = 1; > } (OT, because this question has nothing to do with axp) Don't know if it's valid C. But remember you can always write this as * (x? &a : &b) = 1; -- Georg Wittig, GMD Georg.Wittig@gmd.de - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Du hast keine Spracherkennung installiert? Doch Komma aber Mai Stenz Macht Sie den um Gang mit dem Juice nett auch nicht leichter.