Skip to content

Instantly share code, notes, and snippets.

Created August 13, 2016 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/7fecdf660b79a01eadf5143abc0a1d99 to your computer and use it in GitHub Desktop.
Save anonymous/7fecdf660b79a01eadf5143abc0a1d99 to your computer and use it in GitHub Desktop.
_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -pthread -Wall -Wno-ctor-dtor-privacy -Wno-narrowing ./src/gtk/gdiobj.cpp
./bk-deps g++ -c -o coredll_gsockgtk.o -I.pch/wxprec_coredll -D__WXGTK__ -I./src/png -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -pthread -Wall -Wno-ctor-dtor-privacy -Wno-narrowing ./src/gtk/gsockgtk.cpp
In file included from ./src/gtk/gsockgtk.cpp:20:0:
./include/wx/gsocket.h:38:7: error: using typedef-name ‘GSocket’ after ‘class’
class GSocket;
^~~~~~~
In file included from /usr/include/glib-2.0/gio/gio.h:26:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from ./src/gtk/gsockgtk.cpp:17:
/usr/include/glib-2.0/gio/giotypes.h:161:47: note: ‘GSocket’ has a previous declaration here
typedef struct _GSocket GSocket;
^~~~~~~
In file included from ./include/wx/gsocket.h:177:0,
from ./src/gtk/gsockgtk.cpp:20:
./include/wx/unix/gsockunx.h:38:7: error: using typedef-name ‘GSocket’ after ‘class’
class GSocket
^~~~~~~
In file included from /usr/include/glib-2.0/gio/gio.h:26:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from ./src/gtk/gsockgtk.cpp:17:
/usr/include/glib-2.0/gio/giotypes.h:161:47: note: ‘GSocket’ has a previous declaration here
typedef struct _GSocket GSocket;
^~~~~~~
./src/gtk/gsockgtk.cpp: In function ‘void _GSocket_GDK_Input(gpointer, gint, GdkInputCondition)’:
./src/gtk/gsockgtk.cpp:33:13: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘Detected_Read’
socket->Detected_Read();
^~~~~~~~~~~~~
./src/gtk/gsockgtk.cpp:35:13: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘Detected_Write’
socket->Detected_Write();
^~~~~~~~~~~~~~
./src/gtk/gsockgtk.cpp: In member function ‘virtual bool GSocketGUIFunctionsTableConcrete::Init_Socket(GSocket*)’:
./src/gtk/gsockgtk.cpp:55:11: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_gui_dependent’
socket->m_gui_dependent = (char *)malloc(sizeof(gint)*2);
^~~~~~~~~~~~~~~
./src/gtk/gsockgtk.cpp:56:27: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_gui_dependent’
m_id = (gint *)(socket->m_gui_dependent);
^~~~~~~~~~~~~~~
./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Destroy_Socket(GSocket*)’:
./src/gtk/gsockgtk.cpp:66:16: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_gui_dependent’
free(socket->m_gui_dependent);
^~~~~~~~~~~~~~~
./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent)’:
./src/gtk/gsockgtk.cpp:71:33: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_gui_dependent’
gint *m_id = (gint *)(socket->m_gui_dependent);
^~~~~~~~~~~~~~~
./src/gtk/gsockgtk.cpp:74:15: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_fd’
if (socket->m_fd == -1)
^~~~
./src/gtk/gsockgtk.cpp:82:42: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_server’
case GSOCK_CONNECTION: c = ((socket->m_server) ? 0 : 1); break;
^~~~~~~~
./src/gtk/gsockgtk.cpp:89:35: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_fd’
m_id[c] = gdk_input_add(socket->m_fd,
^~~~
./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, GSocketEvent)’:
./src/gtk/gsockgtk.cpp:97:33: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_gui_dependent’
gint *m_id = (gint *)(socket->m_gui_dependent);
^~~~~~~~~~~~~~~
./src/gtk/gsockgtk.cpp:107:42: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_server’
case GSOCK_CONNECTION: c = ((socket->m_server) ? 0 : 1); break;
^~~~~~~~
make: *** [Makefile:18949: coredll_gsockgtk.o] Error 1
_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -pthread -Wall -Wno-ctor-dtor-privacy -Wno-narrowing ./src/gtk/gdiobj.cpp
./bk-deps g++ -c -o coredll_gsockgtk.o -I.pch/wxprec_coredll -D__WXGTK__ -I./src/png -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk2-ansi-release-2.6 -I./include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -O2 -pthread -Wall -Wno-ctor-dtor-privacy -Wno-narrowing ./src/gtk/gsockgtk.cpp
In file included from ./src/gtk/gsockgtk.cpp:20:0:
./include/wx/gsocket.h:38:7: error: using typedef-name ‘GSocket’ after ‘class’
class GSocket;
^~~~~~~
In file included from /usr/include/glib-2.0/gio/gio.h:26:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from ./src/gtk/gsockgtk.cpp:17:
/usr/include/glib-2.0/gio/giotypes.h:161:47: note: ‘GSocket’ has a previous declaration here
typedef struct _GSocket GSocket;
^~~~~~~
In file included from ./include/wx/gsocket.h:177:0,
from ./src/gtk/gsockgtk.cpp:20:
./include/wx/unix/gsockunx.h:38:7: error: using typedef-name ‘GSocket’ after ‘class’
class GSocket
^~~~~~~
In file included from /usr/include/glib-2.0/gio/gio.h:26:0,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from ./src/gtk/gsockgtk.cpp:17:
/usr/include/glib-2.0/gio/giotypes.h:161:47: note: ‘GSocket’ has a previous declaration here
typedef struct _GSocket GSocket;
^~~~~~~
./src/gtk/gsockgtk.cpp: In function ‘void _GSocket_GDK_Input(gpointer, gint, GdkInputCondition)’:
./src/gtk/gsockgtk.cpp:33:13: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘Detected_Read’
socket->Detected_Read();
^~~~~~~~~~~~~
./src/gtk/gsockgtk.cpp:35:13: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘Detected_Write’
socket->Detected_Write();
^~~~~~~~~~~~~~
./src/gtk/gsockgtk.cpp: In member function ‘virtual bool GSocketGUIFunctionsTableConcrete::Init_Socket(GSocket*)’:
./src/gtk/gsockgtk.cpp:55:11: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_gui_dependent’
socket->m_gui_dependent = (char *)malloc(sizeof(gint)*2);
^~~~~~~~~~~~~~~
./src/gtk/gsockgtk.cpp:56:27: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_gui_dependent’
m_id = (gint *)(socket->m_gui_dependent);
^~~~~~~~~~~~~~~
./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Destroy_Socket(GSocket*)’:
./src/gtk/gsockgtk.cpp:66:16: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_gui_dependent’
free(socket->m_gui_dependent);
^~~~~~~~~~~~~~~
./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent)’:
./src/gtk/gsockgtk.cpp:71:33: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_gui_dependent’
gint *m_id = (gint *)(socket->m_gui_dependent);
^~~~~~~~~~~~~~~
./src/gtk/gsockgtk.cpp:74:15: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_fd’
if (socket->m_fd == -1)
^~~~
./src/gtk/gsockgtk.cpp:82:42: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_server’
case GSOCK_CONNECTION: c = ((socket->m_server) ? 0 : 1); break;
^~~~~~~~
./src/gtk/gsockgtk.cpp:89:35: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_fd’
m_id[c] = gdk_input_add(socket->m_fd,
^~~~
./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, GSocketEvent)’:
./src/gtk/gsockgtk.cpp:97:33: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_gui_dependent’
gint *m_id = (gint *)(socket->m_gui_dependent);
^~~~~~~~~~~~~~~
./src/gtk/gsockgtk.cpp:107:42: error: ‘GSocket {aka struct _GSocket}’ has no member named ‘m_server’
case GSOCK_CONNECTION: c = ((socket->m_server) ? 0 : 1); break;
^~~~~~~~
make: *** [Makefile:18949: coredll_gsockgtk.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment