Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!gatech!bloom-beacon!husc6!necntc!cullvax!drw From: drw@cullvax.UUCP (Dale Worley) Newsgroups: comp.lang.c Subject: Empty arrays Message-ID: <1363@cullvax.UUCP> Date: Mon, 13-Jul-87 15:17:36 EDT Article-I.D.: cullvax.1363 Posted: Mon Jul 13 15:17:36 1987 Date-Received: Tue, 14-Jul-87 06:50:57 EDT Organization: Cullinet Software, Westwood, MA, USA Lines: 12 I would like to lobby for allowing declarations of arrays with 0 elements. This is particularly useful when you are generating code automatically (and thus don't have to treat 'zero elements' as a special case), and for allocating a variable list at the end of a struct: struct { int length; char text[0]; } To make this work, you'd have to allow the null initializer "{ }". Dale