From: noer AT cygnus DOT com (Geoffrey Noer) Subject: Re: Committed some warnings-removing changes 8 Apr 1998 15:01:19 -0700 Message-ID: <199804082155.OAA02009.cygnus.cygwin32.developers@skaro.cygnus.com> References: Content-Type: text To: rdparker AT butlermfg DOT org (Parker Ron) Cc: cygwin32-developers AT cygnus DOT com Parker, Ron wrote: > > > 1) Anyone know how to fix the following message followed by many more > > of the same? > > Yes. Each struct or array which is statically initialized in C/C++ > should have brackets around it. This includes nested structs and > arrays. For example: > static struct { > int vk; > char *val[4]; > } keytable[] = { > { VK_LEFT, { "\033[D", NULL, NULL, NULL } }, > { 0, { "", NULL, NULL, NULL } } > }; Ah, I thought the brackets around the char *val[4] settings were needed based on the gcc manual, but I forgot about the outer ones that were also needed. Committing the change... -- Geoffrey Noer noer AT cygnus DOT com