=?utf-8?B?UmU6ICJlbnVtZXJhdGlvbiB2YWx1ZSDigJhHREtfRVZFTlRfTEFTVOKAmSBu?= =?utf-8?B?b3QgaGFuZGxlZCBpbiBzd2l0Y2giIG1lc3NhZ2U=?=
- From: Sergei Steshenko <sergstesh yahoo com>
- To: gtk-perl-list gnome org, Torsten Schoenfeld <kaffeetisch gmx de>
- Subject: Re: "enumeration value âGDK_EVENT_LASTâ not handled in switch" message
- Date: Sat, 25 Sep 2010 15:06:26 -0700 (PDT)
--- On Sat, 9/25/10, Torsten Schoenfeld <kaffeetisch gmx de> wrote:
From: Torsten Schoenfeld <kaffeetisch gmx de>
Subject: Re: "enumeration value âGDK_EVENT_LASTâ not handled in switch" message
To: gtk-perl-list gnome org
Date: Saturday, September 25, 2010, 12:50 PM
On 22.09.2010 15:01, Sergei Steshenko
wrote:
while building Gtk2-1.222 I've noticed the following:
"
xs/GdkEvent.xs: In function
âgtk2perl_gdk_event_set_stateâ:
xs/GdkEvent.xs:131: warning: enumeration value
âGDK_EVENT_LASTâ not handled in switch
xs/GdkEvent.xs: In function
âgtk2perl_gdk_event_set_timeâ:
xs/GdkEvent.xs:200: warning: enumeration value
âGDK_EVENT_LASTâ not handled in switch
"
It's harmless. GDK_EVENT_LAST does not correspond to
a real event type (which we would need to handle in the
bindings), but is just a helper value that marks the end of
the C enumeration GdkEventType: <http://library.gnome.org/devel/gdk/stable/gdk-Events.html#GdkEventType>.
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Yep - I found the info after sending the Email.
I think gtk+ folks are not meticulous enough. They should have put
GDK_EVENT_LAST into the 'switch' statement with some kind of
"internal ERROR - should never happen !!!\n"
message.
Thanks,
Sergei.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]