File wxGTK-2.2.9-gcc43.patch of Package libwx_gtk2-2-6
--- include/wx/generic/plot_dwn.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/plot_dwn.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char *plot_dwn_xpm[] = {
+static const char *plot_dwn_xpm[] = {
/* columns rows colors chars-per-pixel */
"20 18 8 1",
" c Gray0",
--- include/wx/generic/deffile.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/deffile.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char * deffile_xpm[] = {
+static const char * deffile_xpm[] = {
"16 16 12 1",
" c None",
". c #000000",
--- include/wx/generic/tip.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/tip.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char *tipIcon[] = {
+static const char *tipIcon[] = {
/* columns rows colors chars-per-pixel */
"32 32 7 1",
" c Gray0",
--- include/wx/generic/folder.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/folder.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char * folder_xpm[] = {
+static const char * folder_xpm[] = {
/* width height ncolors chars_per_pixel */
"16 16 6 1",
/* colors */
--- include/wx/generic/plot_zot.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/plot_zot.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char *plot_zot_xpm[] = {
+static const char *plot_zot_xpm[] = {
/* columns rows colors chars-per-pixel */
"20 18 8 1",
" c Gray0",
--- include/wx/generic/warning.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/warning.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char * warning_xpm[] = {
+static const char * warning_xpm[] = {
"48 48 151 2",
" c None",
". c #C70707",
--- include/wx/generic/home.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/home.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char * home_xpm[] = {
+static const char * home_xpm[] = {
"20 20 3 1",
" c None",
". c #000000000000",
--- include/wx/generic/plot_up.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/plot_up.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char *plot_up_xpm[] = {
+static const char *plot_up_xpm[] = {
/* columns rows colors chars-per-pixel */
"20 18 8 1",
" c Gray0",
--- include/wx/generic/plot_shr.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/plot_shr.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char *plot_shr_xpm[] = {
+static const char *plot_shr_xpm[] = {
/* columns rows colors chars-per-pixel */
"20 20 8 1",
" c Gray0",
--- include/wx/generic/dir_up.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/dir_up.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char *dir_up_xpm[] = {
+static const char *dir_up_xpm[] = {
/* columns rows colors chars-per-pixel */
"20 20 16 1",
" c Gray0",
--- include/wx/generic/tick.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/tick.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char *tick_xpm[] = {
+static const char *tick_xpm[] = {
/* columns rows colors chars-per-pixel */
"10 10 16 1",
" c Gray0",
--- include/wx/generic/plot_enl.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/plot_enl.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char *plot_enl_xpm[] = {
+static const char *plot_enl_xpm[] = {
/* columns rows colors chars-per-pixel */
"20 20 8 1",
" c Gray0",
--- include/wx/generic/info.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/info.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char * info_xpm[] = {
+static const char * info_xpm[] = {
"48 48 159 2",
" c None",
". c #12165C",
--- include/wx/generic/new_dir.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/new_dir.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char *new_dir_xpm[] = {
+static const char *new_dir_xpm[] = {
/* columns rows colors chars-per-pixel */
"20 20 16 1",
" c Gray0",
--- include/wx/generic/repview.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/repview.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char * repview_xpm[] = {
+static const char * repview_xpm[] = {
"20 20 4 1",
" c None",
". c #000000",
--- include/wx/generic/question.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/question.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char * question_xpm[] = {
+static const char * question_xpm[] = {
"48 48 165 2",
" c None",
". c #000000",
--- include/wx/generic/plot_zin.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/plot_zin.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char *plot_zin_xpm[] = {
+static const char *plot_zin_xpm[] = {
/* columns rows colors chars-per-pixel */
"20 18 8 1",
" c Gray0",
--- include/wx/generic/error.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/error.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char * error_xpm[] = {
+static const char * error_xpm[] = {
"48 48 78 1",
" c None",
". c #000000",
--- include/wx/generic/cross.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/cross.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char *cross_xpm[] = {
+static const char *cross_xpm[] = {
/* columns rows colors chars-per-pixel */
"10 10 16 1",
" c Gray0",
--- include/wx/generic/listview.xpm.orig 2002-01-04 16:47:57.000000000 +0100
+++ include/wx/generic/listview.xpm 2009-04-13 22:57:52.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char * listview_xpm[] = {
+static const char * listview_xpm[] = {
"20 20 5 1",
" c None",
". c #000000",
--- include/wx/gtk/warning.xpm.orig 2009-04-13 22:50:26.000000000 +0200
+++ include/wx/gtk/warning.xpm 2009-04-13 22:50:36.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char *warning_xpm[] = {
+static const char *warning_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 270 2",
" c Gray0",
--- include/wx/gtk/info.xpm.orig 2009-04-13 22:51:29.000000000 +0200
+++ include/wx/gtk/info.xpm 2009-04-13 22:51:32.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char *info_xpm[] = {
+static const char *info_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 478 2",
" c Gray0",
--- include/wx/gtk/question.xpm.orig 2009-04-13 22:50:45.000000000 +0200
+++ include/wx/gtk/question.xpm 2009-04-13 22:50:49.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char *question_xpm[] = {
+static const char *question_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 101 2",
" c Gray0",
--- include/wx/gtk/error.xpm.orig 2009-04-13 22:51:13.000000000 +0200
+++ include/wx/gtk/error.xpm 2009-04-13 22:51:18.000000000 +0200
@@ -1,5 +1,5 @@
/* XPM */
-static char *error_xpm[] = {
+static const char *error_xpm[] = {
/* columns rows colors chars-per-pixel */
"48 48 537 2",
" c Gray0",
--- include/wx/list.h.orig 2009-04-13 22:48:42.000000000 +0200
+++ include/wx/list.h 2009-04-13 22:50:12.000000000 +0200
@@ -129,6 +129,8 @@
WXDLLEXPORT_DATA(extern wxListKey) wxDefaultListKey;
+class wxListBase;
+
class WXDLLEXPORT wxNodeBase
{
friend class wxListBase;
--- include/wx/dir.h.orig 2009-04-13 22:54:29.000000000 +0200
+++ include/wx/dir.h 2009-04-13 22:54:53.000000000 +0200
@@ -41,6 +41,8 @@
// wxDir: portable equivalent of {open/read/close}dir functions
// ----------------------------------------------------------------------------
+class wxDirData;
+
class WXDLLEXPORT wxDir
{
public:
--- src/common/lexer.l.orig 2009-04-13 23:21:16.000000000 +0200
+++ src/common/lexer.l 2009-04-13 23:21:23.000000000 +0200
@@ -185,7 +185,7 @@
void wxExprCleanUp()
{
-#ifdef FLEX_SCANNER
+#if 0
if (yy_current_buffer)
yy_delete_buffer(yy_current_buffer);
#endif