There is also a problem when building with eglibc 2.10: i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -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/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/mysql -DBIG_JOINS=1 -fPIC -fno-strict-aliasing -DENABLE_LUA_MODULES -I/usr/include/freetype2 -I/usr/include/lua5.1 -I../../library/base-library/include -I../../library/utilities/include -I../../library/utilities/shared_include -I../../library/generic-runtime/include -I../../library/sql-parser/include -I../../library/grt-modules/include -I../../library/grt-wb-controller/include -I../../library/generic-canvas/include -I../../library/generic-canvas/ftgl/include -I.. -DDATADIRNAME=\""share"\" -DCOMMONDIRNAME=\"""\" -g -O2 -Wall -c -o MGRT.o `test -f 'MySQLGRT/MGRT.cc' || echo './'`MySQLGRT/MGRT.cc MySQLGRT/MGRT.cc: In member function 'void MGRT::unset_global_value(const char*)': MySQLGRT/MGRT.cc:894: error: invalid conversion from 'const char*' to 'char*'
The following patch was used in Ubuntu to fix it (https://launchpad.net/bugs/438333): --- mysql-gui-tools-5.0r12.orig/mysql-gui-common/source/linux/MySQLGRT/MGRT.cc +++ mysql-gui-tools-5.0r12/mysql-gui-common/source/linux/MySQLGRT/MGRT.cc @@ -891,7 +891,7 @@ void MGRT::unset_global_value(const char *path) { - char *end= strrchr(path, '/'); + const char *end= strrchr(path, '/'); std::string subpath(path, end-path); MYX_GRT_VALUE *dict; -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

