Mail Archives: cygwin-developers/1998/04/08/15:01:19
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
- Raw text -