From owner-freebsd-hackers Mon Mar 4 8:44: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 71AE037B416 for ; Mon, 4 Mar 2002 08:43:54 -0800 (PST) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id g24GhlR17567; Mon, 4 Mar 2002 17:43:47 +0100 (MET) Date: Mon, 4 Mar 2002 17:43:47 +0100 (CET) From: Harti Brandt To: "M. Warner Losh" Cc: ertr1013@student.uu.se, , Subject: Re: A few questions about a few includes In-Reply-To: <20020304.093529.35706437.imp@village.org> Message-ID: <20020304174200.X74223-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 4 Mar 2002, M. Warner Losh wrote: MWL>In message: <20020304104158.GB63341@student.uu.se> MWL> Erik Trulsson writes: MWL>: I think it is still there (and my draft copy says the same thing). MWL>: I was thinking about the original C89 standard which does not allow it MWL>: (and does not allow incomplete array types in structs). Guess I should MWL>: have said which standard I was referring to. MWL> MWL>struct foo { MWL> char array[0]; MWL>}; MWL> MWL>appears to be in C-99 but not C-89. If you have the draft, so far MWL>the only thing I've noticed that is different between the draft MWL>and the final standard is that there's 10-15 more footnotes in the MWL>final standard than were in the final draft. MWL> MWL>Warner This should be struct foo { char array[]; }; according to C-99, on which gcc2 barfs. Don't know, whether gcc3 can handle this. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message