File mysql-gui-tools-gcc4.3.diff of Package mysql-gui-tools

--- mysql-gui-common/library/base-library/include/myx_query.h
+++ mysql-gui-common/library/base-library/include/myx_query.h
@@ -69,7 +69,7 @@
 // Following functions are listed here for unit-tests.
 bool query_is_join(Query *query);
 
-#endif __cplusplus
+#endif // __cplusplus
 
 //----------------------------------------------------------------------------------------------------------------------
 
--- mysql-gui-common/library/grt-wb-controller/source/GraphRenderer.cpp
+++ mysql-gui-common/library/grt-wb-controller/source/GraphRenderer.cpp
@@ -2,6 +2,7 @@
 //#include <windows.h>
 //#endif
 #include "GraphRenderer.h"
+#include <climits>
 
 #ifdef __GNUC__
 const int GraphRenderer::K1F;
--- mysql-gui-common/source/linux/MGFileBrowserList.cc
+++ mysql-gui-common/source/linux/MGFileBrowserList.cc
@@ -21,7 +21,7 @@
 #include <sys/stat.h>
 #include <errno.h>
 #include <stdio.h> /* rename() in FreeBSD */
-
+#include <cstring>
 
 
 MGFileBrowserList::MGFileBrowserList(const Glib::ustring &title,
--- mysql-gui-common/source/linux/MGHMeterGraphPlotter.cc
+++ mysql-gui-common/source/linux/MGHMeterGraphPlotter.cc
@@ -16,7 +16,7 @@
 
 
 #include "MGHMeterGraphPlotter.h"
-
+#include <cstring>
 
 
 MGHMeterGraphPlotter::MGHMeterGraphPlotter(GtkDrawingArea *darea)
--- mysql-gui-common/source/linux/MySQLGRT/MGRTValueTree.h
+++ mysql-gui-common/source/linux/MySQLGRT/MGRTValueTree.h
@@ -50,7 +50,7 @@
     void set_icon(Gtk::TreeRow row, MGRTValue value);
     void add_value_item(Gtk::TreeIter iter, MGRTValue value);
     
-    void add_list_to_store(MGRTValue list, Gtk::TreeRow *parent, std::list<MYX_GRT_VALUE*> *list);
+    void add_list_to_store(MGRTValue list, Gtk::TreeRow *parent, std::list<MYX_GRT_VALUE*> *expanded_list);
     void add_dict_to_store(MGRTValue dict, Gtk::TreeRow &parent, std::list<MYX_GRT_VALUE*> *list);
 
     void remember_path(Gtk::TreeView *tree, const Gtk::TreeModel::Path &path, std::list<MYX_GRT_VALUE*> &list);
--- mysql-query-browser/source/linux/MGCodeEditor.cc
+++ mysql-query-browser/source/linux/MGCodeEditor.cc
@@ -17,7 +17,7 @@
 #include "MGCodeEditor.h"
 
 #include <gtksourceview/gtksourcelanguagesmanager.h>
-
+#include <cstring>