Description of problem: When building a program that uses appropriate portions of wxGTK and glib2, build fails with errors similar to: In file included from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from gtk/taskbarex.cpp:19: /usr/include/glib-2.0/gio/giotypes.h:120: error: conflicting declaration ‘typedef struct _GSocket GSocket’ /usr/include/wx-2.8/wx/unix/gsockunx.h:41: error: ‘class GSocket’ has a previous declaration as ‘class GSocket’ gtk/taskbarex.cpp: In member function ‘virtual bool wxTaskBarIconEx::SetBalloon(const wxIcon&, wxString, wxString, unsigned int)’: gtk/taskbarex.cpp:212: warning: deprecated conversion from string constant to ‘gchar*’ gtk/taskbarex.cpp:215: warning: deprecated conversion from string constant to ‘gchar*’ gtk/taskbarex.cpp:218: warning: deprecated conversion from string constant to ‘gchar*’ Version-Release number of selected component (if applicable): wxGTK-devel-2.8.10-7.fc12.x86_64 glib2-devel-2.22.5-1.fc12.x86_64
It's the application that must be fixed, because renaming in wxGTK would break the API/ABI for the 2.8 series that must remain stable. See http://cvs.fedoraproject.org/viewvc/rpms/codeblocks/devel/codeblocks-8.02-gsocket.patch?revision=1.1&view=markup for an example and http://trac.wxwidgets.org/ticket/10883 for an upstream bug report.