bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19547: Patch for this bug


From: Eli Zaretskii
Subject: bug#19547: Patch for this bug
Date: Sat, 26 Nov 2016 11:02:08 +0200

> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: Thierry Volpiatto <thierry.volpiatto@gmail.com>,  rrt@sc3d.org,  
> 19547@debbugs.gnu.org
> Date: Sat, 26 Nov 2016 09:39:17 +0100
> 
> On Nov 26 2016, Eli Zaretskii <eliz@gnu.org> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]