--- ./src/Fl_Native_File_Chooser_GTK.cxx 2015-12-13 15:56:09.000000000 +0530 +++ ../Fl_Native_File_Chooser_GTK.cxx 2017-04-30 12:20:01.391541825 +0530 @@ -684,7 +684,7 @@ return; } - char *pc_dl_error; // used to report errors by the GET_SYM macro... + const char *pc_dl_error; // used to report errors by the GET_SYM macro... // items we need from GLib GET_SYM(g_free, ptr_glib); GET_SYM(g_slist_nth_data, ptr_glib);