From owner-freebsd-hackers Fri Mar 30 7:48:27 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from fb.sa.enteract.com (fb.sa.enteract.com [207.229.133.236]) by hub.freebsd.org (Postfix) with ESMTP id D837C37B718 for ; Fri, 30 Mar 2001 07:48:24 -0800 (PST) (envelope-from fredb@fb.sa.enteract.com) Received: (from fredb@localhost) by fb.sa.enteract.com (8.8.8/8.8.8) id JAA15364; Fri, 30 Mar 2001 09:47:00 -0600 (CST) Date: Fri, 30 Mar 2001 09:47:00 -0600 (CST) From: Frederick Bruckman Reply-To: Frederick Bruckman To: Harti Brandt Cc: Alfred Perlstein , Peter Seebach , Todd Whitesel , , Subject: Re: Question regarding the array of size 0. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 30 Mar 2001, Harti Brandt wrote: > AP>> The only portable solution is the new feature in C99. A contradiction in terms, since there are no C99 compilers yet. (Are there?) > Well, that's even lesser portability. > > struct foo { > double bar; > int baz[0]; > }; > > works for both compilers. Frederick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message