Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Mar 2001 09:47:00 -0600 (CST)
From:      Frederick Bruckman <fb@enteract.com>
To:        Harti Brandt <brandt@fokus.gmd.de>
Cc:        Alfred Perlstein <bright@wintelcom.net>, Peter Seebach <seebs@plethora.net>, Todd Whitesel <toddpw@best.com>, <tech-kern@netbsd.org>, <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Question regarding the array of size 0.
Message-ID:  <Pine.NEB.4.30.0103300934140.8921-100000@handy.villians.invalid>
In-Reply-To: <Pine.BSF.4.33.0103301000020.476-100000@beagle.fokus.gmd.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.4.30.0103300934140.8921-100000>