=?utf-8?B?UmU6ICJlbnVtZXJhdGlvbiB2YWx1ZSDigJhHREtfRVZFTlRfTEFTVOKAmSBu?= =?utf-8?B?b3QgaGFuZGxlZCBpbiBzd2l0Y2giIG1lc3NhZ2U=?=

--- 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
while building Gtk2-1.222 I've noticed the following:

xs/GdkEvent.xs: In function
xs/GdkEvent.xs:131: warning: enumeration value
âGDK_EVENT_LASTâ not handled in switch
xs/GdkEvent.xs: In function
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

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"



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