GCC 4.1.2 on linux, configured --with-wx-config=wx-config-2.6 --enable-contrib.
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:32,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:32,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:33,
from /usr/include/gtk-2.0/gtk/gtkbin.h:32,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:33,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from gdb_tipwindow.cpp:40:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:66:1: warning: "GTK_CLASS_TYPE" redefined
In file included from /usr/include/wx-2.6/wx/wxprec.h:13,
from ../../../src/include/sdk_common.h:29,
from ../../../src/include/sdk_precomp.h:8,
from ../../../src/include/sdk.h:12,
from gdb_tipwindow.cpp:21:
/usr/include/wx-2.6/wx/defs.h:2794:1: warning: this is the location of the previous definition
In file included from /usr/include/gtk-2.0/gtk/gtkwidget.h:32,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:33,
from /usr/include/gtk-2.0/gtk/gtkbin.h:32,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:33,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from gdb_tipwindow.cpp:40:
/usr/include/gtk-2.0/gtk/gtkobject.h:46:1: warning: "GTK_OBJECT_GET_CLASS" redefined
In file included from /usr/include/wx-2.6/wx/wxprec.h:13,
from ../../../src/include/sdk_common.h:29,
from ../../../src/include/sdk_precomp.h:8,
from ../../../src/include/sdk.h:12,
from gdb_tipwindow.cpp:21:
/usr/include/wx-2.6/wx/defs.h:2793:1: warning: this is the location of the previous definition
/usr/include/gtk-2.0/gdk/gdktypes.h:76: error: conflicting declaration 'typedef struct _GdkAtom* GdkAtom'
/usr/include/wx-2.6/wx/defs.h:2761: error: 'GdkAtom' has a previous declaration as 'typedef gulong GdkAtom'
/usr/include/gtk-2.0/gdk/gdktypes.h:102: error: conflicting declaration 'typedef struct _GdkDrawable GdkBitmap'
/usr/include/wx-2.6/wx/defs.h:2763: error: 'GdkBitmap' has a previous declaration as 'typedef struct _GdkWindow GdkBitmap'
/usr/include/gtk-2.0/gdk/gdktypes.h:103: error: conflicting declaration 'typedef struct _GdkDrawable GdkPixmap'
/usr/include/wx-2.6/wx/defs.h:2764: error: 'GdkPixmap' has a previous declaration as 'typedef struct _GdkWindow GdkPixmap'
/usr/include/gtk-2.0/gdk/gdktypes.h:104: error: conflicting declaration 'typedef struct _GdkDrawable GdkWindow'
/usr/include/wx-2.6/wx/defs.h:2762: error: 'GdkWindow' has a previous declaration as 'typedef struct _GdkWindow GdkWindow'
make[4]: *** [gdb_tipwindow.lo] Błąd 1
make[4]: Opuszczenie katalogu `/home/rulatir/works/CodeBlocks/trunk/src/plugins/debuggergdb'
make[3]: *** [all-recursive] Błąd 1
make[3]: Opuszczenie katalogu `/home/rulatir/works/CodeBlocks/trunk/src/plugins/debuggergdb'
make[2]: *** [all-recursive] Błąd 1
make[2]: Opuszczenie katalogu `/home/rulatir/works/CodeBlocks/trunk/src/plugins'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/rulatir/works/CodeBlocks/trunk/src'
make: *** [all-recursive] Błąd 1
By the way, I've read some 2.8 patches were applied to the mainline recently. Is SVN now expected to build with wx2.8? If not, could "doesn't build with wx2.8" be added to "regressions/confirmed/annoying/common bugs" so that there is a clear signal when the problem gets solved?
src/sdk/infowindow.cpp needs to include <wx/statbmp.h> when building with --disable-pch.
System: Ubuntu 6.10 AMD64, GCC 4.1.2, wxGTK 2.6.3.2.
Patch:
Index: src/sdk/infowindow.cpp
===================================================================
--- src/sdk/infowindow.cpp (revision 3803)
+++ src/sdk/infowindow.cpp (working copy)
@@ -5,6 +5,7 @@
#include <wx/stattext.h>
#include <wx/sizer.h>
#include <wx/settings.h>
+ #include <wx/statbmp.h>
#include "infowindow.h"
#include "manager.h"
#endif
Cheers,
JohnE / TDM
(Now running Linux under VMWare. :D)