Subject: Re: bug#19547: Patch for this bug

From: Eli Zaretskii <[email-masked]>
Date: Sat, 26 Nov 2016 11:02:08 +0200

> From: Andreas Schwab <[email-masked]>
> Cc: Thierry Volpiatto <[email-masked]>,  [email-masked],  [email-masked]
> Date: Sat, 26 Nov 2016 09:39:17 +0100
> 
> On Nov 26 2016, Eli Zaretskii <[email-masked]> wrote:
> 
> >  struct event_value {
> >    Lisp_Object event_symbol;
> >    enum event_kind event_kind;
> >  };
> >  static struct event_value symbol_to_kind[] = {
> >    { Qfocus_in, FOCUS_IN_EVENT },
> >    { Qhelp, HELP_EVENT },
> >    { Qiconify, ICONIFY_EVENT },
> 
> Qfoo isn't a compile time constant, so you cannot use it for
> initializing a static variable in C.

OK, then this array should be filled at startup time.