Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!gatech!hao!oddjob!gargoyle!ihnp4!homxb!whuts!picuxa!gp From: gp@picuxa.UUCP (Greg Pasquariello X1190) Newsgroups: comp.lang.c Subject: Turbo C and "empty" arrays Message-ID: <218@picuxa.UUCP> Date: Thu, 9-Jul-87 13:02:44 EDT Article-I.D.: picuxa.218 Posted: Thu Jul 9 13:02:44 1987 Date-Received: Sun, 12-Jul-87 07:25:11 EDT Organization: AT&T Information Systems, Parsippany NJ Lines: 18 Keywords: Turbo C Okay, yet another problem with Turbo C (which I happen to think is an excellent compiler :-). I have a 'C' code generator that sometimes generates empty arrays, i.e. char array_name[] = { }; This is perfectly normal for the code generator, for reasons to detailed to explain here. The problerm is, when I try to compile this construct with Turbo C, I get an invlaid initialization error. This does NOT happen with Microsoft C, or Lattice C. Any comments, suggestions (fixes) ? Thanks in advance. Greg ==================== "We thank you for your support" Mr B.