Xpra: Ticket #151: fix all gcc compiler warnings that we can fix - strict-aliasing rules

Most of these ones look fixable: "warning: dereferencing type-punned pointer will break strict-aliasing rules" in wimpiggy/lowlevel/bindings.c:

This one is not (just recording it here) since it needs to be fixed in (py)gtk:

In file included from /usr/include/gtk-2.0/gtk/gtk.h:236:0,
                 from /usr/include/pygtk-2.0/pygtk/pygtk.h:8,
                 from wimpiggy/lowlevel/bindings.c:278:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: \
    warning: function declaration isn't a prototype [-Wstrict-prototypes]

Then there are a few more use XkbKeycodeToKeysym instead of XKeycodeToKeysym, see #149

Fri, 22 Jun 2012 16:19:26 GMT - Antoine Martin: status, description changed

Thu, 27 Sep 2012 15:23:15 GMT - Antoine Martin: milestone changed

Fri, 08 Feb 2013 04:33:45 GMT - Antoine Martin: summary, milestone changed

#250 closed as duplicate

Wed, 20 Mar 2013 14:49:37 GMT - Antoine Martin: status changed; resolution set

Compiling with Fedora 18 and -Wall does not show a single warning and this is using:

So I think we're good.

Sat, 23 Jan 2021 04:46:55 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/151