Fresh install of Ubuntu 7.04 - and a SVN of
dberry@IBM-T43:~/codeBlocksSVN/trunk$ svn update
At revision 3921.
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I../../../../src/include -I../../../../src/include/wxscintilla/include -I../../../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT editsnippetframe.lo -MD -MP -MF .deps/editsnippetframe.Tpo -c editsnippetframe.cpp -fPIC -DPIC -o .libs/editsnippetframe.o
editsnippetframe.cpp: In constructor 'EditSnippetFrame::EditSnippetFrame(wxTreeItemId, int*)':
editsnippetframe.cpp:237: error: invalid use of undefined type 'struct _GtkWidget'
/usr/include/wx-2.6/wx/defs.h:2777: error: forward declaration of 'struct _GtkWidget'
make[5]: *** [editsnippetframe.lo] Error 1
make[5]: Leaving directory `/home/dberry/codeBlocksSVN/trunk/src/plugins/contrib/codesnippets'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/dberry/codeBlocksSVN/trunk/src/plugins/contrib/codesnippets'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/dberry/codeBlocksSVN/trunk/src/plugins/contrib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dberry/codeBlocksSVN/trunk/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dberry/codeBlocksSVN/trunk/src'
make: *** [all-recursive] Error 1
Any ideas on how to fix this?
Thanks
That code shouldn't be there. My fault.
It was an experiment on Linux that I forgot to take out when I commited from windows.
Just change the one __WXGTK__ to __OLD_FART_CANT_GET_IT_RIGHT__ and it'll work.
Fixed: SVN 3922