File mysql-gui-tools-gcc4.3.diff of Package mysql-gui-tools
--- common/library/base-library/include/myx_query.h
+++ 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
//----------------------------------------------------------------------------------------------------------------------
--- common/library/grt-wb-controller/source/GraphRenderer.cpp
+++ 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;
--- common/source/linux/MGFileBrowserList.cc
+++ 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,
--- common/source/linux/MGHMeterGraphPlotter.cc
+++ common/source/linux/MGHMeterGraphPlotter.cc
@@ -16,7 +16,7 @@
#include "MGHMeterGraphPlotter.h"
-
+#include <cstring>
MGHMeterGraphPlotter::MGHMeterGraphPlotter(GtkDrawingArea *darea)
--- common/source/linux/MySQLGRT/MGRTValueTree.h
+++ 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);
--- query-browser/source/linux/MGCodeEditor.cc
+++ query-browser/source/linux/MGCodeEditor.cc
@@ -17,7 +17,7 @@
#include "MGCodeEditor.h"
#include <gtksourceview/gtksourcelanguagesmanager.h>
-
+#include <cstring>